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
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": null, | |
"fill": 1, | |
"gridPos": { | |
"h": 9, | |
"w": 12, |
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
# Prepare env | |
timedatectl set-ntp true | |
timedatectl set-timezone Europe/Paris | |
# Partition disk | |
parted /dev/sda mklabel gpt | |
parted -a optimal /dev/sda mkpart primary fat32 0% 512MB | |
parted /dev/sda set 1 esp on | |
parted -a optimal /dev/sda mkpart primary linux-swap 512MB 2560MB | |
parted -a optimal /dev/sda mkpart primary ext4 2560MB 100% |
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 ply.yacc as yacc | |
import ply.lex as lex | |
from genereTreeGraphviz2 import printTreeGraph | |
tokens = ( | |
'NUMBER', 'MINUS', | |
'PLUS', 'TIMES', 'DIVIDE', | |
'LPAREN', 'RPAREN', 'PRINT', | |
'EQUALS', 'NAME', 'IF', 'SEMICOLON', | |
'GTH', 'LTH', 'GTHOREQUAL', 'LTHOREQUAL', 'EQUALEQUAL', 'NOTEQUAL', ) |
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
π Morning 123 commits βββββββββββββββββββββ 9.4% | |
π Daytime 345 commits βββββββββββββββββββββ 26.3% | |
π Evening 548 commits βββββββββββββββββββββ 41.8% | |
π Night 295 commits βββββββββββββββββββββ 22.5% |
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 datetime | |
import os | |
import re | |
import sys | |
import time | |
import piexif | |
def fix(directory): |
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
package main | |
import ( | |
"bufio" | |
"fmt" | |
"log" | |
"os" | |
"strconv" | |
) |
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
package main | |
import ( | |
"fmt" | |
"reflect" | |
"unsafe" | |
) | |
func main() { | |
s := make([]string, 1, 2) |
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
package main | |
import ( | |
"database/sql" | |
"fmt" | |
"log" | |
"math/rand" | |
"os" | |
"time" |
OlderNewer