Skip to content

Instantly share code, notes, and snippets.

View mekza's full-sized avatar
🍷

Martin-Zack Mekkaoui mekza

🍷
View GitHub Profile
@mekza
mekza / ows_ec2.py
Created October 28, 2011 12:38
OWS boto test
# -*- coding:utf-8 -*-
"""
"""
import sys
import time
import boto
import boto.ec2
# *coding: utf-8*
import sys
import os
sys.path.append("/lepath/de/ton/app")
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
os.environ['PYTHON_EGG_CACHE'] = '/tmp/.python-egg'
import django.core.handlers.wsgi
@mekza
mekza / .config
Created January 17, 2012 15:14
Kernel 3.1.1 Config
CONFIG_64BIT=y
# CONFIG_X86_32 is not set
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"
CONFIG_GENERIC_CMOS_UPDATE=y
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_GENERIC_CLOCKEVENTS=y
@mekza
mekza / gist:3878481
Created October 12, 2012 09:58
IP Range
def IPRange(start_ip, end_ip):
"""
Gen IP Range
"""
start = list(map(int, start_ip.split(".")))
end = list(map(int, end_ip.split(".")))
temp = start
ip_range = []
ip_range.append(start_ip)
@mekza
mekza / id_rsa
Created January 24, 2013 14:03
-----BEGIN RSA PRIVATE KEY-----
░░░░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░▒██████████████████████████▓▓▓░░░░░░░░░░░░░░░░
░░░░░░░░░░░█░▓░░░░░░░░░▒▓▒▒▒▒▒▓▒▒░░▒▒▒▓▓▓████▓▒░░░░░░░░░░░
░░░░░░░░░░██▒░░░░░░░▓▓▓░░░░░░░░░░▒▒▓▒▒▒▒▓▒▒▓███▒░░░░░░░░░░
░░░░░░░░░▓█░░░░░░░▓▓░░▒▓▒▓▓▓▓▓▓▓▒░░░░░░░░▒▒▒▒▒░▓██░░░░░░░░
░░░░░░░░▒█▒░░░░░▓▓░▒▓▓░░░░░░░░░░░▒▒▒▒▒▒▒░░░░▒▒░░██▓░░░░░░░
░░░░░░░░██░░░░░▓░░▓░▒▓▒▓▒▒▒▒▓▓░░░░░░░░░░▒▒▒▒░░░░░░▓█▓░░░░░
░░░░░░░▓█░░░░▒░▓▒░▓▒░░░░░░░░▓░░░░░░░▓▒▒░░░▓▒░░░░░▓█░░░░░░░
░░░░░░░█▓░░░░▒░▓░▓▒░░░░░░░░░░▓░░░░░░░░▒░░░░░░░▓░░░░░█▒░░░░
@mekza
mekza / gist:4650400
Created January 27, 2013 20:49
optimize this prestashit.
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 7200 seconds"
ExpiresByType image/jpg "access plus 2592000 seconds"
ExpiresByType image/jpeg "access plus 2592000 seconds"
ExpiresByType image/png "access plus 2592000 seconds"
ExpiresByType image/gif "access plus 2592000 seconds"
AddType image/x-icon .ico
ExpiresByType image/ico "access plus 2592000 seconds"
ExpiresByType image/icon "access plus 2592000 seconds"
@mekza
mekza / datacenter_operations_technician.markdown
Last active December 12, 2015 04:29
Datacenter Operations Technician position at Swelen office. (english version)

Datacenter Operations Technician

French version

About Swelen

Swelen is a thriving start-up based in Paris (France). We are specialized in the development of mobile advertising technologies. We developed an AdExchange based on adserving technology. Derived from collective intelligence algorithms, it optimises the performance of advertising campaigns. Swelen’s advertising technology is used by most of the major mobile providers and French publishers.

Your Responsibilities

@mekza
mekza / technicien_datacentre.markdown
Created February 5, 2013 15:16
Poste technicien datacentre

Technicien Datacentre

A propos de Swelen

Swelen est une start-up en plein essor basée à Paris. Nous sommes spécialisé dans le traitement et la diffusion de l'information numérique. Notre technologie est capable de recommander des annonces publicitaires pertinentes et de façon intelligente. Elle repose sur des analyses anonymes effectuées sur l’engagement des internautes et sur leur intelligence collective. Aujourd’hui, la technologie publicitaire de Swelen est utilisée par la plupart des régies mobiles et des grands éditeurs français.

Vos Responsabilités

Vous rejoindrez la team Infrastructure.

@mekza
mekza / python_dev.markdown
Created February 5, 2013 21:22
Postion as Python developer based in Paris

Python Developer

About Swelen

Swelen is a thriving start-up based in Paris (France). We are specialized in the development of mobile advertising technologies. We developed an AdExchange based on adserving technology. Derived from collective intelligence algorithms, it optimises the performance of advertising campaigns. Swelen’s advertising technology is used by most of the major mobile providers and French publishers.

Your Responsibilities

You will join the Core-dev Team.

@mekza
mekza / python_dev_fr.markdown
Last active December 12, 2015 04:58
Job Python à Paris.

Développeur Python

A propos de Swelen

Swelen est une start-up en plein essor basée à Paris. Nous sommes spécialisé dans le traitement et la diffusion de l'information numérique. Notre technologie est capable de recommander des annonces publicitaires pertinentes et de façon intelligente. Elle repose sur des analyses anonymes effectuées sur l’engagement des internautes et sur leur intelligence collective. Aujourd’hui, la technologie publicitaire de Swelen est utilisée par la plupart des régies mobiles et des grands éditeurs français.

Vos Responsabilités

Vous rejoindrez la team Infrastructure.