Force reaver to run even if wps is locked

Tag(s):

# Use -L (--ignore-locks)
reaver -L -i mon0 -b 00:90:4C:C1:AC:21 -vv

Set permission of files and directories

Tag(s):

chown -R www-data:www-data /path/to/directory

.gitignore already committed files

Tag(s):

  1. Right-click on your project name.
  2. Open Team->Advanced->Clean.
  3. Select Clean selected untracked files.
  4. Check Include ignored resources.
  5. Select files you like to remove.
  6. Click on Finish button.

Update submodule

Tag(s):

  1. On Git perspective, right-click on your submodule and then select Switch To master.
  2. Fetch from Upstream.
  3. Then, Rebase.

Rsync from an input list of files

Tag(s):

# list-of-files.txt: List of files with relative path to $SOURCE path
rsync --files-from=list-of-files.txt $SOURCE $DESTINATION

Can't install rest module due to always_populate_raw_post_data not set to -1

Tag(s):

CLI PHP often has a different php.ini than the web server. This config must differ between the two php instances. You can find out which php.ini is being used by drush by running drush status

https://github.com/drush-ops/drush/issues/1984

List php.ini locations

Tag(s):

php --ini

Export Excel file to CSV using PHPExcel library

Tag(s):

<?php
/**
  Description: Export Excel file to CSV using PHPExcel library.
 
  References:
        http://stackoverflow.com/questions/3895819/csv-export-import-with-phpexcel
        http://stackoverflow.com/questions/9695695/how-to-use-phpexcel-to-read-data-and-insert-into-database
        http://stackoverflow.com/questions/6346314/phpexcel-will-not-export-to-csv
 **/
 

Pages

Subscribe to OpenWritings.net RSS