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
| #!/bin/sh | |
| CONFIG_FILE=$(echo /etc/X11/xorg.conf.d/??-touchpad-cmt.conf) | |
| test -f $CONFIG_FILE || CONFIG_FILE="/etc/X11/xorg.conf.d/40-touchpad-cmt.conf" | |
| # Check which type of touchpad is present. | |
| if grep -qi synaptics /proc/bus/input/devices; then | |
| echo "Synaptics touchpad detected." | |
| TOUCHPAD="synaptics" | |
| elif grep -qi alps /proc/bus/input/devices; then |
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
| ... | |
| .state('app',{ | |
| url: '/', | |
| controller: 'MainCtrl as main', | |
| views:{ | |
| 'header':{ | |
| controller: 'MainCtrl as main', | |
| templateUrl:'views/header.html' | |
| }, |
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
| { | |
| "BattleFieldLayout": { | |
| "width": 300000, | |
| "height": 300000, | |
| "iterations": 1500 | |
| }, | |
| "PhysicsLayout": { | |
| "gravity": [ | |
| 0, | |
| 0 |
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
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
| . ~/.bashrc | |
| mkdir ~/local | |
| mkdir ~/node-latest-install | |
| cd ~/node-latest-install | |
| curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| ./configure --prefix=~/local | |
| make install # ok, fine, this step probably takes more than 30 seconds... | |
| curl https://npmjs.org/install.sh | sh |
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
| { | |
| name:"some name", | |
| dob:"april 4, 1985", | |
| content: | |
| 0:{children: | |
| 0:{ | |
| 'title':'some text', | |
| 1:{etc ..} | |
| } | |
| 1:{children: |
NewerOlder