^(?:[\t ]*(?:\r?\n|\r))+
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create contrib & custom folders | |
mkdir sites/all/modules/contrib | |
mkdir sites/all/modules/custom | |
# Disable useless core modules | |
drush dis overlay color shortcut toolbar dashboard comment rdf -y | |
drush pm-uninstall overlay color shortcut toolbar dashboard comment rdf -y | |
# Install some very useful contrib modules | |
drush dl ds coffee devel admin_menu search_krumo features views module_filter -y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /Applications | |
sudo ln -s /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app iPhone\ Simulator.app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT DISTINCT TABLE_NAME | |
FROM INFORMATION_SCHEMA.COLUMNS | |
WHERE COLUMN_NAME IN ('COLUMN_NAME') | |
AND TABLE_SCHEMA = 'TABLE_NAME'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nice -n 5 rsync -ahum --force --delete --stats --progress "/Volumes/Vertex4/" "/Volumes/Backup/Macbook\ Pro\ Early\ 2011/Vertex4/" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo chgrp 0 [shared folder on host] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Asia;;; | |
Africa;;; | |
Europe;;; | |
Australia;;; | |
South America;;; | |
North America;;; | |
Antarctica;;; | |
Afghanistan;Asia;AF; | |
Egypt;Africa;EG; | |
Åland Islands;Europe;AX; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo time dd if=/dev/disk2s1 of=test.deleteme bs=1m |
\PATH\TO\YOUR\MOVIE\LIBRARY\{if (ext == 'jpg' || ext == 'jpeg') "_trash-us/$fn/"}{n} ({y}){' - '+source}{if (Integer.parseInt(vf.substring(0, vf.length()-1)) > 720) bene_quali = " - 1080p" else {if(Integer.parseInt(vf.substring(0, vf.length()-1)) > 480) bene_quali = " - 720p" else bene_quali = " - "+sdhd}}/{n} ({y}){' - '+audio.language.replaceAll(/\//, "+")}{' - '+source}{" - CD$pi"} [{"${fn.match(/3D/)}, "}{vc}{', '+vf}{', '+ac}{', '+af}{', '+file.toString().match(/\.ld\.|\.md\.|dubbed/).toUpperCase().replaceAll(/\./,'')}]
- https://darrenderidder.github.io/talks/ModulePatterns/
- http://es6katas.org/
- http://es6-features.org/
- http://kangax.github.io/compat-table/es6/
- http://jlongster.com/Using-Immutable-Data-Structures-in-JavaScript
- http://de.slideshare.net/fxposter/transducers-in-javascript
- The introduction to Reactive Programming you've been missing
OlderNewer