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) |
OlderNewer