Accordion menu
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>JavaScript file upload</title> | |
| <meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
| <script src="https://wzrd.in/standalone/buffer"></script> | |
| <script src="https://unpkg.com/[email protected]/dist/index.js" | |
| integrity="sha384-5bXRcW9kyxxnSMbOoHzraqa7Z0PQWIao+cgeg327zit1hz5LZCEbIMx/LWKPReuB" | |
| crossorigin="anonymous"></script> | |
| </head> |
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 | |
| while echo $1 | grep -q ^-; do | |
| eval $( echo $1 | sed 's/^-//' )=$2 | |
| shift | |
| shift | |
| done | |
| msg(){ | |
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
| var mqtt = require('mqtt') | |
| // Make sure to change this to the IP address of your MQTT server | |
| , host = '192.168.128.204' // or localhost | |
| client = mqtt.createClient(1883, host, {keepalive: 10000}); | |
| // Subscribe to the temperature topic | |
| client.subscribe('temperature'); | |
| // When a temperature is published, it will show up here | |
| client.on('message', function (topic, message) { |
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
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| *.sh | |
| !deploy.sh |
made with esnextbin
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
| /** | |
| * Created by k33g_org on 24/10/14. | |
| */ | |
| import mongodb from 'mongodb'; | |
| import uuid from 'node-uuid'; | |
| /* | |
| http://mongodb.github.io/node-mongodb-native/2.0/tutorials/crud_operations/ | |
| */ |
As in the title - visually simple animated form checkboxes
A Pen by Andy Walpole on CodePen.
A Pen by Juan Cabrera on CodePen.