Skip to content

Instantly share code, notes, and snippets.

View outout14's full-sized avatar
🐳

Maël Gramain outout14

🐳
View GitHub Profile
@outout14
outout14 / screenshot.sh
Created August 4, 2018 19:30
Simple screenshot script using scrot
#/bin/bash
time=$(date +%Y-%m-%d-%H%M%S.png)
printf "\e[33mPrise de la capture d'écran et envoie \n"
scrot $time -s -e 'scp "$f" [email protected]:/directory'
printf "\e[4m\e[32mEnvoie terminé !\e[0m\n"
printf "\n\e[1mNom du fichier : \e[0m\e[34m" && echo $time
printf "\e[1mAdresse du fichier : \e[0m\e[34mhttps://httpurltopicture/" && echo $time
echo "https://httpurltopicture/"$time | xclip -sel clip
sleep 10
deb http://deb.debian.org/debian buster main
deb-src http://deb.debian.org/debian buster main
deb http://deb.debian.org/debian-security/ buster/updates main
deb-src http://deb.debian.org/debian-security/ buster/updates main
deb http://deb.debian.org/debian buster-updates main
deb-src http://deb.debian.org/debian buster-updates main

Keybase proof

I hereby claim:

  • I am outout14 on github.
  • I am outoutxyz (https://keybase.io/outoutxyz) on keybase.
  • I have a public key ASBdanq2ltNuVv7E9_vzKfAIWWIMPc7kjEZxSGLdPno4WAo

To claim this, I am signing this object:

import csv
with open('liste01.csv', 'r', encoding="latin-1") as f:
lecture = csv.reader(f, delimiter=";")
data = list(lecture)
data = data[1:5]
compteur = {}