This file contains 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
$ diskutil list | |
/dev/disk1 | |
#: TYPE NAME SIZE IDENTIFIER | |
0: FDisk_partition_scheme *3.9 GB disk1 | |
1: Windows_FAT_32 BEAGLE_BONE 74.0 MB disk1s1 | |
2: Linux 3.6 GB disk1s2 |
This file contains 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
var casper = new require("casper").Casper(); | |
casper.start('http://www.google.fr/'); | |
casper.then(function() { | |
casper.echo('Title : ' + casper.getTitle()); | |
}); | |
casper.run(); |
This file contains 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
curl http://www.linux-projects.org/listing/uv4l_repo/lrkey.asc | sudo apt-key add - | |
sudo vi /etc/apt/sources.list | |
cat /etc/apt/sources.list | |
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi | |
deb http://www.linux-projects.org/listing/uv4l_repo/raspbian/ wheezy main | |
sudo apt-get update | |
sudo apt-get install uv4l-webrtc | |
sudo apt-get install uv4l-raspicam-extras | |
sudo service uv4l_raspicam restart |
This file contains 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
mkdir my-app | |
cd my-app | |
npm install electron-prebuilt --global | |
npm install casperjs --save | |
echo "console.log(require('casper'))" > index.js | |
electron . | |
# { noop: [Function], | |
# send: [Function], |
This file contains 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
var casper = require("casper").create({ | |
verbose: true, | |
}); | |
casper.start("http://twitter.com/intent/tweet", function() { | |
casper.evaluate( function() { | |
document.querySelector('#status').value = ' *Insert tweet here* '; | |
document.querySelector('#username_or_email').value = ' *Insert username here* '; | |
document.querySelector('#password').value = ' *Insert password here* '; | |
document.querySelector('.button').click(); |
This file contains 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
$ docker-machine create | |
Creating VirtualBox VM... | |
Creating SSH key... | |
Starting VirtualBox VM... | |
Starting VM... | |
$ docker-machine start default | |
$ docker-machine env default | |
export DOCKER_TLS_VERIFY="1" | |
export DOCKER_HOST="tcp://192.168.99.100:2376" | |
export DOCKER_CERT_PATH="/Users/younes/.docker/machine/machines/default" |
This file contains 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
adb forward tcp:4444 localabstract:/adb-hub | |
adb -d forward tcp:5601 tcp:5601 | |
adb connect 127.0.0.1:4444 |
I hereby claim:
- I am InteractiveObject on github.
- I am ioteam (https://keybase.io/ioteam) on keybase.
- I have a public key whose fingerprint is C529 53FB 5B09 A79F FD8E 3045 6664 B6A9 9307 3D43
To claim this, I am signing this object:
This file contains 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
python -m rasa_nlu.train -c config.json | |
INFO:root:Trying to load spacy model with name 'fr' | |
Traceback (most recent call last): | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main | |
"__main__", fname, loader, pkg_name) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code | |
exec code in run_globals | |
File "/Users/Workspace/Projects/tests/rasa_nlu/rasa_nlu/train.py", line 81, in <module> | |
do_train(config) | |
File "/Users/Workspace/Projects/tests/rasa_nlu/rasa_nlu/train.py", line 67, in do_train |
OlderNewer