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
PUBLIC_DIR := public | |
SRC_DIR := src | |
CP := $(which cp) | |
RM := $(which rm) | |
PROJECTS_SRC := $(wildcard $(SRC_DIR)/*) | |
PROJECTS_PUBLIC := $(subst $(SRC_DIR)/,$(PUBLIC_DIR)/,$(PROJECTS_SRC)) | |
install: $(PROJECTS_SRC) | |
$(PROJECTS_SRC): clear/$(PUBLIC_DIR) |
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/python3 | |
from east import * | |
if __name__ == '__main__': | |
Naviguate().browse('/foo/bar') | |
Naviguate().simple_browser('') |
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
#!/bin/sh | |
# $1 : file with keys | |
# $2 : certificat (256 - 512) | |
# $3 : binary to check. | |
cat $1 | grep "`shasum -a $2 $3`" | |
if grep -q "`shasum -a $2 $3`" $1 | |
then |
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
#!/bin/sh | |
# $1 : file with keys | |
# $2 : certificat (256 - 512) | |
# $3 : binary to check. | |
cat $1 | grep "`shasum -a $2 $3`" | |
if grep -q "`shasum -a $2 $3`" $1 | |
then |
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/python3 | |
import abc | |
import time, json, sys | |
from typing import Callable, IO, cast | |
import shutil | |
from subprocess import Popen as popen_call # Execute a shell command | |
from subprocess import call as system_call # Execute a shell command | |
import attr |
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/python3 | |
import abc | |
import sys | |
from typing import Callable, IO, cast | |
import requests | |
import attr | |
class MessageTemplating(metaclass=abc.ABCMeta): |
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/python3 | |
import abc | |
import sys | |
import json, base64 | |
from typing import Callable, IO, cast | |
import requests | |
import pandas as pd | |
import attr |
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/python3 | |
import abc | |
from typing import Callable, IO, cast | |
from east_displayer import Output, OutputStream | |
from east_typer import StringComputer, String, StringReceiver, ReceiverOfString | |
class MessageTemplating(metaclass=abc.ABCMeta): |
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
#!/tmp/sh | |
echo "Content repository of" `whoami` | |
# ou echo "Contenu du répertoire de" $(whoami) | |
ls -a /home/user |
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
#!/bin/bash | |
# | |
# Liste des domaines | |
# | |
#----------------------------------------------------------------- | |
if [ "$(groups $USER | grep staff)" == "" ] || [ "$(groups $USER | grep sudo)" == "" ]; then | |
echo "Vous ne faites pas partie du staff ou vous n'êtes pas sudoer !" | |
exit 1 | |
fi | |
# |
OlderNewer