Skip to content

Instantly share code, notes, and snippets.

View lejenome's full-sized avatar

Moez Bouhlel lejenome

View GitHub Profile
@lejenome
lejenome / index.html
Last active December 29, 2017 13:44 — forked from anonymous/index.html
Exported from Popcode.
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
</body>
</html>
<?php
// Webhook code to update repo clone and execute required deployement code when new commit was pushed
// Webhook content-type should be set to application/json and a random secret code should be set too.
// Secret Random Code You set on github webhook settings
const SECRET_TOKEN = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
if(strcasecmp($_SERVER['REQUEST_METHOD'], 'POST') != 0){
throw new Exception('Request method must be POST!');
}

FSS CS Dept Website Report

Administration Management

  • Administration online
    • Docs downloading
    • Online Administration forms
    • FAQ
  • Q&A/Forum ?
@lejenome
lejenome / Bachelor Project (PFE) Ideas.md
Last active February 26, 2024 04:03
Bachelor Project (PFE) Ideas

PFE Ideas

Google Summer of Code 2017 Ideas

  • GCC
    • Export/Import IR/Data on every stage (gimple & rtl passes)
    • GIMPLE IL API simplification
    • Fuzzing every Stage
    • modular GCC
  • Eclipse

Rust REPL Proposal Report

Glossary

  • Rust: system programming language developed by Mozilla Research to insures the safety of memory access at compile without the need of a gc using variable borrowing/ownership analyses at compile time. More: [Website][rust-site], [Wikipedia][wikipedia-rust], [Book][rust-book].
  • LLVM: a collection of modular compiler technologies (source- and
### Keybase proof
I hereby claim:
* I am lejenome on github.
* I am lejenome (https://keybase.io/lejenome) on keybase.
* I have a public key whose fingerprint is 3A1D ADDD 332D 2EFB F816 21C3 84D8 5721 7365 9C9D
To claim this, I am signing this object:
@lejenome
lejenome / matrix-term.sh
Created June 23, 2014 21:21
matrix on terminal
#!/bin/bash
state=()
data=()
current=""
# Min length of matrix line
MIN=5
W=$(tput cols)
H=$(tput lines)
DATA_SIZE=$((W*(H-1)))
PER_COL=15
@lejenome
lejenome / hello_world.sh
Last active August 29, 2015 14:00
HELLO! WORLD! on shell
#!/usr/bin/env bash
echo -ne "
\e[0;31m█ █ \e[0;32m█████ \e[0;33m█ \e[0;34m█ \e[0;35m█████ \e[5;36m█ \e[0;31m\e[0;31m█ █ \e[0;32m█████ \e[0;33m█████ \e[0;34m█ \e[0;35m████ \e[5;36m█\e[0;31m
\e[0;31m█ █ \e[0;32m█ \e[0;33m█ \e[0;34m█ \e[0;35m█ █ \e[5;36m█ \e[0;31m\e[0;31m█ █ \e[0;32m█ █ \e[0;33m█ █ \e[0;34m█ \e[0;35m█ █ \e[5;36m█\e[0;31m
\e[0;31m█████ \e[0;32m█████ \e[0;33m█ \e[0;34m█ \e[0;35m█ █ \e[5;36m█ \e[0;31m\e[0;31m█ █ █ \e[0;32m█ █ \e[0;33m█████ \e[0;34m█ \e[0;35m█ █ \e[5;36m█\e[0;31m
\e[1;31m█ █ \e[1;32m█ \e[1;33m█ \e[1;34m█ \e[1;35m█ █ \e[5;36m \e[0;31m\e[1;31m██ ██ \e[1;32m█ █ \e[1;33m█ █ \e[0;34m█ \e[1;35m█ █ \e[5;36m \e[0;31m
\e[1;31m█ █ \e[1;32m█████ \e[1;33m█████ \e[1;34m█████ \e[1;35m█████ \e[5;36m█ \e[0;31m\e[1;31m█ █ \e[1;32m█████ \e[1;33m█ █ \e[0;34m█████ \e[1;35m████ \e[5;36m█\e[0m
"
@lejenome
lejenome / snowjob.py
Created February 23, 2013 21:17 — forked from sontek/snowjob.py
#!/usr/bin/env python
import os
import random
import time
import platform
snowflakes = {}
try:
# Windows Support
#!/usr/bin/env bash
while :; do
find "$PWD" -name '*.less' | while read line; do
REPLACE=`echo $line | sed "s|\.less|\.css|"`
mt1=$(stat -c %Y $line)
mt2=$(stat -c %Y $REPLACE)
if [ "$mt1" -gt "$mt2" ]; then