Skip to content

Instantly share code, notes, and snippets.

View arount's full-sized avatar

Arount arount

View GitHub Profile
@arount
arount / id_rsa.pub
Created May 19, 2018 10:05
Current public key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQChaVuAmOn4mPXT7HxSl8RHhqfP1mgWM8pkxeOd+r/uNmKMhLJxFt28t572CXLpSJPobu4PlJzWLX9lNvr3B82qdWvya6GV/XyK7Nh8bYFoK0aEhbINqan8Olz78phBYHYcssPPsRdXsShAOsqX20UUREjglTw5EbDCJ3AG26YzOE4ETkVygINfm4LuyUflq1B9AUcR6iD4Ys2o7eYchQo22vwbcxC2gxXJxE3Fck89E69MPsW5Y0UPEilpAvW1g2C5U28C7dZKMGxyPEIMmvUzzHdYFGNqBBUo8fkPLI8niHJkMSbmitAf5HaiqeCU2bn+IRciqooHft3Ucf65p+uVZoQ/+PRuJ+WRRfHa2zQZJPkC+cFbwZV5igs+plY+BU36G7e+/lZ3x74Af3NHsGClQA9kRxE3prQa3SP/1TuT3bTdb+aVYFQlKQWh2O/hAGhIjJWr9PElsdTsyRIABQkZjFUvRqH4aoIUofG30/DLf3CVy+NKMvmYOXkwQmcSG/GoJhixss5U6C+iLxZ/wAZJ6jhEyt4jjh0tfw3g/PrAw8vl4BZ5hksuOqqYEi2LzqS2MjFm0w5LOI4kwF1o9p4ax0tb58gI98LvSoqUOonrCEWL9nTxNg768GMHP0X0VrgSrUqknej5+8q+qNTmOgrL2R7fzDS6fJV9NjzVlSXXFw== pierre@arount
@arount
arount / poc.py
Created March 8, 2018 08:42
Ant poc
#!/usr/bin/python3
from tkinter import Tk, Label
WIDTH = 10
HEIGHT = 10
ant_cell = (0, 0)
# Init Tkinter window
@arount
arount / index.php
Last active March 7, 2018 08:28
Api PHP
<?php
include_once('sql.php');
include_once('request.php');
include_once('response.php');
header('Content-Type: application/json');
$request = Request::auto_construct();
$response = new Response($request);
@arount
arount / evaluation.sql
Created February 15, 2018 12:28
Mysql - Evaluation
This file has been truncated, but you can view the full file.
-- MySQL dump 10.13 Distrib 5.5.59, for debian-linux-gnu (x86_64)
--
-- Host: localhost Database: igdb
-- ------------------------------------------------------
-- Server version 5.5.59-0+deb7u1
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
This file has been truncated, but you can view the full file.
-- MySQL dump 10.13 Distrib 5.5.59, for debian-linux-gnu (x86_64)
--
-- Host: localhost Database: igdb
-- ------------------------------------------------------
-- Server version 5.5.59-0+deb7u1
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
@arount
arount / _libraries.php
Created February 1, 2018 11:14
DWM9: Authentification
<?php
/*
Function that handle identification form,
Check if form is sent, then check if passed credentials are correct.
Returns two values:
1 form_sent, true if form was sent, else false
2 connected, true if credentials are good, else false
*/
function handle_authentification_form($users) {
@arount
arount / breakable_input.py
Created January 19, 2018 09:14
Python (2/3) breakable-input
#!/usr/env/bin python
import sys
import os
import time
import fcntl
class BreakableInput(object):
'''
Breakable input() implementation.