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
#[url "git@github.com:"] | |
# insteadOf = https://github.com/ | |
[user] | |
email = yohann.b@lahautesociete.com | |
name = Yohann Bianchi | |
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGzyAlx5KjceHkIp2cg9nKNkA8K+kRNH/ckJutCkqiPL | |
[push] | |
default = simple |
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
import subprocess | |
from thefuck.utils import replace_command, for_app, eager, get_closest, which | |
enabled_by_default = bool(which('ddev')) | |
def _get_wrong_command(script_parts): | |
commands = [part for part in script_parts[1:] if not part.startswith('-')] | |
if commands: | |
return commands[0] |
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/bin/env node | |
// imports | |
const ds18b20 = require('ds18b20-raspi'); | |
const LCD = require('lcd'); | |
// sensor instances | |
const lcd = new LCD({ rs: 18, e: 17, data: [27, 23, 24, 22], cols: 16, rows: 2 }); | |
const SENSOR_ID = '28-800000285247'; |
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 | |
namespace modules; | |
use benf\neo\Field; | |
use Craft; | |
use markhuot\CraftQL\Builders\EnumField; | |
use markhuot\CraftQL\Builders\EnumObject; | |
use markhuot\CraftQL\Builders\Union; | |
use yii\base\Event; |
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 gpio = require('pi-gpio'); | |
var pins = { 38: 0, 40: 0 }; | |
var intervals = []; | |
console.log("Ready"); | |
for(var i in pins){ | |
var pin = i; | |