Skip to content

Instantly share code, notes, and snippets.

View Irvyne's full-sized avatar

Thibaud BARDIN Irvyne

  • Devoteam
  • Paris, France
View GitHub Profile

Validator

Rendu

  • Vous devez mettre en ligne votre projet sur github obligatoirement.
  • Envoyer moi un mail avec le lien du repository github (thibaud[dot]bardin[at]gmail[dot]com).
  • Date de rendu: ** Mardi 25 Novembre 2014 avant 23h59 **.

To Do

/**
* Polyfill for placeholders
*
* @author Thibaud BARDIN (https://github.com/Irvyne).
* @licence MIT (https://github.com/Irvyne/license/blob/master/MIT.md)
* @required Modernizr (http://modernizr.com) & jQuery (http://jquery.com)
*/
if (!Modernizr.input.placeholder) {
jQuery('input').each(function() {
var el = jQuery(this);
@Irvyne
Irvyne / osx-nginx-pma.conf
Last active August 29, 2015 14:15
Configure Nginx conf file on MAC OSX
server {
listen 80;
server_name phpmyadmin.dev;
root /Users/irvyne/www/phpMyAdmin;
index index.php;
location / {
try_files $uri $uri/ =404;
}
@Irvyne
Irvyne / osx-autoconnect.sh
Created July 23, 2015 09:51
Autoconnect as root when ur logged as Guets account
#!/bin/bash
echo 'echo "$(whoami) ALL=(ALL) NOPASSWD:ALL" >&3' | DYLD_PRINT_TO_FILE=/etc/sudoers newgrp; sudo -s
#!/usr/bin/env bash
# Version 0.0.4
##########
# Config #
##########
red=`tput setaf 1`
green=`tput setaf 2`

Generate SSL certificate

#!/usr/bin/env bash
printf "worker_processes %s\n" "$(grep processor /proc/cpuinfo | wc -l)"
printf "worker_connections %s\n" "$(ulimit -n)"
printf ""
var fezfzef = "zefzef"
@Irvyne
Irvyne / php-cli.ini
Last active April 15, 2018 21:42
Default configuration for "cli/conf.d/php.ini"
date.timezone=Europe/Paris
max_execution_time=0
@Irvyne
Irvyne / php-fpm.ini
Last active April 18, 2018 13:09
Default configuration for "fpm/conf.d/php.ini"
date.timezone=Europe/Paris
memory_limit=256M
post_max_size=512M
upload_max_filesize=256M