- Un dépot prévu pour le déploiement de toutes les applications (FRONT, DSL et BACK)
- Fichier de configuration pour tout les dépots (config.py pour les dépots back)
This file contains hidden or 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
#include <string.h> | |
#include <unistd.h> | |
#include <stdio.h> | |
#include <sys/mman.h> | |
#include <stdlib.h> | |
unsigned char buf[40960]; | |
#define TARGET_FILE "/f1" | |
int main(int argc, char *argv[]) | |
{ | |
unsigned char *code = 0; |
This file contains hidden or 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
# Set these options in your config.fish (if you want to :]) | |
# | |
# set -g theme_display_user yes | |
# set -g theme_hostname never | |
# set -g theme_hostname always | |
# set -g default_user your_normal_user | |
# Backward compatibility |
This file contains hidden or 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 base64 | |
import hashlib | |
from Crypto import Random | |
from Crypto.Cipher import AES | |
class AESCipher(object): | |
def __init__(self, key): | |
self.bs = 32 | |
self.key = hashlib.sha256(key.encode()).digest() |
This file contains hidden or 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 python | |
# -*- coding: utf-8 -*- | |
import sys | |
CODEC = "latin-1" | |
def process(lines): | |
current_dir = None | |
filepaths = [] |
This file contains hidden or 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
double powerx(1.0); | |
for (int i(0); i <= N; ++i) // ON VA SEPARER LA SOMME EN DEUX PUISQUE CELLE CI CONVERGE | |
{ | |
if (i%2 != 0) { | |
cos_x -= powerx / factorielle(2*i); [URL]//SI[/URL] I EST IMPAIR ON SOUSTRAIT | |
} | |
else { | |
cos_x += powerx / factorielle(2*i); // SI I EST PAIR ON ADDITIONNE | |
} |
This file contains hidden or 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
#include "instructions.h" | |
const t_instruction g_instructions[] = { | |
/* 3.3.1 - 8 Bits Loads */ | |
/* 1. LD nn, n */ | |
/* Description: Put value nn into n */ | |
/* Use with: */ | |
/* nn = B,C,D,E,H,L,BC,DE,HL,SP */ | |
/* n = 8 bit immediate value */ |
This file contains hidden or 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
/** | |
* Monte Carlo - Threads exercise | |
* | |
* Compile with: gcc ./mcarlo.c -o mcarlo -lpthread -lm | |
*/ | |
#include <unistd.h> | |
#include <time.h> | |
#include <math.h> | |
#include <stdio.h> | |
#include <stdlib.h> |
This file contains hidden or 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
function prompt_virtual_env -d "Display Python virtual environment" | |
if test "$VIRTUAL_ENV" | |
prompt_segment white black (eval (echo $VIRTUAL_ENV/bin/python --version) 2>&1 | sed 's/Python /Py|/g') | |
end | |
end |
This file contains hidden or 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
// ToggleRun.cpp : Defines the entry point for the console application. | |
// | |
#include "stdafx.h" | |
#include <Windows.h> | |
int main() | |
{ | |
bool activated = true; |
OlderNewer