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
#!/usr/local/bin/node | |
var http = require('http'); | |
var exec = require('child_process').exec; | |
var url = 'http://api.citybik.es/velib.json'; | |
// var lat = '48.8836694'; | |
// var lon = '2.3736453'; | |
var id = 19030; | |
command = '/home/pi/blink1-tool -m 100 --rgb 50,50,50'; |
Ces sites sont spécialisés dans les nouvelles technologies en France : postes dans une startup, agence, éditeurs, SSII, etc.
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
/* Controlling cheap USB LED notifiers with node-hid */ | |
var Notifier = function(hid) { | |
this.hid = hid; | |
this.colors = ['OFF', 'BLUE', 'RED', 'GREEN', 'CYAN', 'PURPLE', 'YELLOW', 'WHITE']; | |
}; | |
Notifier.prototype.write = function(arBytes) { | |
this.hid.write(arBytes); | |
}; | |
Notifier.prototype.color = function(value) { |
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
function iwlistParse(str) { | |
var out = str.replace(/^\s+/mg, ''); | |
out = out.split('\n'); | |
var cells = []; | |
var line; | |
var info = {}; | |
var fields = { | |
'mac' : /^Cell \d+ - Address: (.*)/, | |
'ssid' : /^ESSID:"(.*)"/, | |
'protocol' : /^Protocol:(.*)/, |
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
{ | |
"require": { | |
"suin/php-rss-writer": "^1.3", | |
"erusev/parsedown": "^1.6" | |
} | |
} |
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
// ==UserScript== | |
// @name Sketchfab Model tools | |
// @namespace http://svay.com/ | |
// @version 0.1 | |
// @description Useful tools for Sketchfab models | |
// @author Maurice Svay | |
// @match https://sketchfab.com/models/* | |
// @grant GM_addStyle | |
// @require http://code.jquery.com/jquery-latest.js | |
// ==/UserScript== |
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
<?php | |
/* | |
How to use: | |
- In Dashlane, export data as CSV | |
- Copy this file in the same folder as the exported csv | |
- Run in a terminal: php dashlane-to-1password.php | |
- This should generate 2 files: Dashlane_passwords.csv and Dashlane_others.csv | |
- In 1Password, import Dashlane_passwords.csv | |
- Do whatever you want with Dashlane_others.csv |
- engine
- height
- integer
- charset
- any word that has "ough" (through, though, dough, thought, etc.)