Changes between Version 80 and Version 81 of members/GRIP-UQAM


Ignore:
Timestamp:
Apr 2, 2016, 12:17:26 PM (3 years ago)
Author:
https://id.mayfirst.org/gripuqam
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • members/GRIP-UQAM

    v80 v81  
    9393* [wiki:phpmyadmin_link]
    9494* [wiki:support-team]
     95== Cron ==
     96* Consider output to an (even empty) file a good practice allowing to check last time the command has been executed. This is because some subtle errors may prevent execution of cron commands, eg. see #11534
     97{{{#!sh
     98... &> cron/results/<file>
     99}}}
     100* Consider nice and ionice to give priority to interactive tasks
     101{{{#!sh
     102nice -n 127 ionice --class=idle ...
     103}}}
    95104== Some PostgreSQL commands ==
    96105* List of DB with parameters
     
    187196http://stackoverflow.com/questions/3327312/drop-all-tables-in-postgresql
    188197 * http://stackoverflow.com/questions/20017552/delete-all-table-without-droping-database-in-postgres-in-django-dbshell-in-one-c
    189 == Javascript: from npm to bower ==
     198== Git ==
     199* Branches and tags
     200 * keyword: how to find the tag of a git
     201 * https://git-scm.com/book/en/v2/Git-Basics-Tagging
     202* http://stackoverflow.com/questions/978052/how-can-i-make-my-local-repository-available-for-git-pull
     203== Json ==
     204=== .json validator ===
     205* keyword: linux json validator
     206* keyword: json validator site:debian.org
     207 * jsonlint
     208  * [DebianPackage:jsonlint]
     209  * {{{composer require seld/jsonlint}}}
     210  * https://packagist.org/packages/seld/jsonlint
     211 * [DebianPackage:python-json-schema-validator]
     212== Javascript packages: Bower ==
     213=== From npm to bower ===
    190214* $ nice -n 127 ionice --class=idle npm install bower --save
    191215* $ nice -n 127 ionice --class=idle npm update #update!
     
    196220* Install some libraries...
    197221* $ nice -n 127 ionice --class=idle nodejs node_modules/bower/bin/bower update --production #update!
    198 == Example .bowerrc for Drupal 7 ==
     222=== Example .bowerrc for Drupal 7 ===
    199223{{{#!json
    200224{
     
    202226}
    203227}}}
    204 == Install Javascript libraries with Bower package manager
     228=== Install Javascript libraries with Bower package manager===
    205229{{{#!sh
    206230#$ nodejs node_modules/bower/bin/bower install --save "jquery#1.4.4" # Drupal 7 version
     
    223247* https://packagist.org/packages/kraksoft/colorbox
    224248* https://github.com/Spea/SpBowerBundle
    225 == Example bower.json for Drupal 7 ==
     249=== Example bower.json for Drupal 7 ===
    226250{{{#!json
    227251{
     
    243267}
    244268}}}
    245 == Example composer.json for Drupal 7 ==
     269== Composer ==
     270=== Some Composer documentation ===
     271* http://composer.json.jolicode.com/
     272* https://getcomposer.org/doc/04-schema.md#repositories
     273* https://getcomposer.org/doc/05-repositories.md#packages
     274* https://getcomposer.org/doc/05-repositories.md#disabling-packagist
     275=== Some Composer commands ===
     276* $ ./composer.phar self-update
     277* $ ./composer.phar update
     278=== Composer extensions ===
     279==== Includes ====
     280* keywords: includes from composer.json
     281* https://github.com/composer/composer/issues/183#issuecomment-151317582
     282* https://github.com/wikimedia/composer-merge-plugin
     283* https://getcomposer.org/doc/06-config.md#use-include-path
     284* https://getcomposer.org/doc/05-repositories.md#includes
     285=== Example composer.json for Drupal 7 ===
     286{{{#!sh
     287composer require drush/drush
     288composer require seld/jsonlint
     289}}}
    246290{{{#!json
    247291{
    248292    "require": {
    249293        "drush/drush": "^8.0",
     294        "seld/jsonlint": "^1.4",
    250295        "ezyang/htmlpurifier": "^4.7",
    251296        "kraksoft/colorbox": "^1.5",
     
    262307* https://www.drupal.org/project/emogrifier
    263308* php composer target directory
    264 == Some Composer commands ==
    265 * $ ./composer.phar self-update
    266 * $ ./composer.phar update
    267 == Cron ==
    268 * Consider output to an (even empty) file a good practice allowing to check last time the command has been executed. This is because some subtle errors may prevent execution of cron commands, eg. see #11534
    269 {{{#!sh
    270 ... &> cron/results/<file>
    271 }}}
    272 * Consider nice and ionice to give priority to interactive tasks
    273 {{{#!sh
    274 nice -n 127 ionice --class=idle ...
    275 }}}
    276309== Some Drush commands ==
    277310* drush -v help
     
    543576* [https://evolvingweb.ca/blog/drupal-7-entities-what-are-they-and-what-are-they-good Drupal 7 Entities: What are they, and what are they good for?]
    544577* https://www.drupal.org/project/bean
     578== HTML Slides ==
     579* https://packagist.org/packages/seld/slippy
     580== Radical Servers ==
     581* https://help.riseup.net/en/security/resources/radical-servers