Forked from Captain Anonymous's Pen rVJezy.
A Pen by Robert Axelsen on CodePen.
Forked from Captain Anonymous's Pen rVJezy.
A Pen by Robert Axelsen on CodePen.
| grep -rl stringyouwanttofind somedirectory/ | xargs sed -i 's/stringyouwanttofind/stringyouwanttoreplacewith/g' |
| var myMusic = [ | |
| { | |
| "artist": "Billy Joel", | |
| "title": "Piano Man", | |
| "release_year": 1973, | |
| "formats": [ | |
| "CS", | |
| "8T", | |
| "LP" ], | |
| "gold": true |
| 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: |
| 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'); |
| 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/'); |
| ! 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 |
| Verifying my Blockstack ID is secured with the address 16faQtghVzELq1K4ufyGhKcRXmyqMYEyaN https://explorer.blockstack.org/address/16faQtghVzELq1K4ufyGhKcRXmyqMYEyaN |
| apollo: { | |
| cats: { | |
| query: gql` | |
| { | |
| cats { | |
| id | |
| name | |
| } | |
| } | |
| ` |
| <template> | |
| <v-container grid-list-md> | |
| <v-layout | |
| text-xs-center | |
| wrap | |
| > | |
| <v-flex | |
| v-for="cat in cats" | |
| :key="cat.id" | |
| xs12 |