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
| machine: | |
| node: | |
| version: 0.10.35 | |
| dependencies: | |
| pre: | |
| - sudo apt-get install -y libpoppler-glib-dev libpoppler-glib8 libcairo2-dev libcairo2 | |
| - sudo apt-get install -y libpq-dev | |
| database: | |
| override: | |
| - psql -c 'create database test;' -U postgres |
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
| awk -F\t 'NR!=1 {printf "%s\t%s\t%s\t%s\n", $1,$2,$3,$16}' OFS="\t" 1.txt | node piping.js &> /tmp/r1.txt |
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
| - [ ] Release | |
| - [ ] driver email [#128](https://github.com/loadsmart/server/issues/218) |
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
| web: node app.js | |
| worker: node consumer.js |
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
| server { | |
| listen 80; | |
| root /var/www; | |
| index index.php index.html index.htm; | |
| error_page 404 /404.html; | |
| error_page 500 502 503 504 /50x.html; | |
| location = /50x.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
| String[] myStringArray = new String[] { "Cool", "Very nice", "Hate it" }; | |
| ArrayAdapter adapter = new ArrayAdapter<String>(this, | |
| android.R.layout.simple_list_item_1, myStringArray); | |
| ListView listView = (ListView) findViewById(R.id.listView1); | |
| listView.setAdapter(adapter); |
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
| 1 #!/bin/bash | |
| 2 ip=$(ifconfig eth0 | grep inet | awk '{print $2}' | cut -d':' -f2) | |
| 3 echo "To: dustsnow@126.com\nFrom: dustsnow@gmail.com\nSubject: IP Address\n" > msg.txt | |
| 4 echo ${ip} >> msg.txt | |
| 5 | |
| 6 ssmtp dustsnow@126.com < msg.txt |
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/bash | |
| ipaddr=$(ifconfig eth0 | grep 'inet addr:') | |
| ROS_MASTER_URI=${ipaddr:20:12} | |
| export ROS_MASTER_URI=$ROS_MASTER_URI |
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
| ! 37 control_l | |
| ! 133 Super_L | |
| ! remove Lock = Caps_Lock | |
| ! remove Control = Control_L | |
| ! keysym Control_L = Caps_Lock | |
| ! keysym Caps_Lock = Control_L | |
| ! add Lock = Caps_Lock | |
| ! add Control = Control_L |