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
| # | |
| # How to get rid of the locale warning on raspberry pi | |
| # | |
| sudo apt-get install subversion | |
| sudo sed -i "s/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/g" -i /etc/locale.gen | |
| sudo locale-gen en_US.UTF-8 | |
| sudo update-locale en_US.UTF-8 |
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
| ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |
| country=AT | |
| update_config=1 | |
| network={ | |
| ssid="YOUR SSD" | |
| psk="your wifi password" | |
| key_mgmt=WPA-PSK | |
| } |
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
| <template> | |
| <v-app> | |
| <v-toolbar color="blue" app> | |
| <v-toolbar-title class="headline text-uppercase"> | |
| <span>KITTYMON</span> | |
| </v-toolbar-title> | |
| <v-spacer></v-spacer> | |
| <v-btn | |
| flat | |
| > |
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
| <template> | |
| <v-container grid-list-md> | |
| <v-layout | |
| text-xs-center | |
| wrap | |
| > | |
| <v-flex | |
| v-for="cat in cats" | |
| :key="cat.id" | |
| xs12 |
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
| apollo: { | |
| cats: { | |
| query: gql` | |
| { | |
| cats { | |
| id | |
| 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
| Verifying my Blockstack ID is secured with the address 16faQtghVzELq1K4ufyGhKcRXmyqMYEyaN https://explorer.blockstack.org/address/16faQtghVzELq1K4ufyGhKcRXmyqMYEyaN |
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
| ! Molokai theme | |
| *xterm*background: #101010 | |
| *xterm*foreground: #d0d0d0 | |
| *xterm*cursorColor: #d0d0d0 | |
| *xterm*color0: #101010 | |
| *xterm*color1: #960050 | |
| *xterm*color2: #66aa11 | |
| *xterm*color3: #c47f2c | |
| *xterm*color4: #30309b | |
| *xterm*color5: #7e40a5 |
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
| To send content of file via websocket: | |
| `websocketd --port 1234 tail -f test.txt` | |
| To update file when websocketd running you need append/redirect to it, not edit | |
| the file with editor, because "tail -f" can't access protected memory. | |
| `echo "new line" >> test.txt` | |
| In browser, put this in console to receive the websocket stream: | |
| `var ws = new WebSocket('ws://localhost:1234/'); |
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
| console.assert(true, {assert: "assert"}); | |
| console.count('count'); | |
| console.debug('debug'); | |
| console.dir({dir: "dir"}); | |
| console.error('error'); | |
| console.info('info'); | |
| console.log('log'); | |
| console.profile('profile'); | |
| setTimeout(function(){ console.profileEnd('profile'); }, 1000); | |
| console.table('table'); |
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
| NEW PRODUCT! RASPBERRY PI ZERO W JOINS THE FAMILY | |
| https://www.raspberrypi.org/blog/raspberry-pi-zero-w-joins-family/ | |
| JerryScript, A JavaScript engine for Internet of Things : | |
| http://jerryscript.net/ | |
| Cylon.js, JavaScript robotics framework: | |
| https://cylonjs.com/ | |
| Johnny-Five, JavaScript Robotics & IoT Platform: |
NewerOlder