Skip to content

Instantly share code, notes, and snippets.

View manolenso's full-sized avatar

Laurent Rémy manolenso

  • TV Magazine
  • Paris IX
View GitHub Profile
@manolenso
manolenso / gulp.snippets
Created April 16, 2014 07:26
Gulp snippets for Vim (put in vim-snippets plugin: ~/vim-snippets/snippets/javascript/gulp.snippets)
# Gulp Task source
snippet gus
gulp.task('${1}', function () {
return gulp.src(${2})
.pipe(${3}(${4}))${5}
});
# Gulp Task Watch
snippet guw
gulp.task('watch', function () {
@manolenso
manolenso / zshrc
Created January 9, 2020 00:07 — forked from LukeSmithxyz/zshrc
# Luke's config for the Zoomer Shell
# Enable colors and change prompt:
autoload -U colors && colors
PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b "
# History in cache directory:
HISTSIZE=10000
SAVEHIST=10000
HISTFILE=~/.cache/zsh/history
@manolenso
manolenso / HTML: Bootstrap model
Created April 25, 2013 15:40
HTML: Bootstrap model
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title></title>
<meta name="description" content="">
@manolenso
manolenso / vboxmanage
Created September 4, 2015 06:59
VboxManage fix screen resolution
VBoxManage setextradata "Virtual_system_name!" "CustomVideoMode1" "1920x1080x32"
{
"a": { "attributes": ["href", "hreflang", "media", "rel", "target", "type", "ng-blur", "ng-copy", "ng-cut", "data-ng-blur", "data-ng-copy", "data-ng-cut", "ng-href", "data-ng-href", "ui-sref", "zf-open", "zf-close", "zf-hard-toggle", "zf-toggle", "zf-notify", "zf-popup-toggle" ]},
"abbr": { "attributes": [] },
"acronym": { "attributes": [] },
"address": { "attributes": [] },
"area": { "attributes": ["alt", "coords", "href", "hreflang", "media", "rel", "shape", "target", "type"] },
"article": { "attributes": [] },
"aside": { "attributes": [] },
"audio": { "attributes": ["autoplay", "controls", "loop", "mediagroup", "muted", "preload", "src"] },
"b": { "attributes": [] },
@manolenso
manolenso / simple_menu
Created January 23, 2014 22:52
simple menu fixed
<- html code ->
<select id="demosMenu">
<option id="xxxxxxx" selected>Choix visible par default</option>
<option id="xxxxxxx">choix</option>
<option id="xxxxxxx">choix</option>
<option id="xxxxxxx">choix</option>
<option id="xxxxxxx">choix</option>
<option id="xxxxxxx">choix</option>
<option id="xxxxxxx">choix</option>
</select>
@manolenso
manolenso / screen-update.sh
Created January 9, 2014 16:48
Script bash pour reinstaller ma config ecran apres un update linux header
#!/bin/bash
sudo apt-get update
sudo apt-get install build-essential linux-headers-$(uname -r)
sudo apt-get install virtualbox-ose-guest-x11
##### pour connaitre la configuration a ecrire $ cvt 1920 1080 ####
#### pour remettre en 16/9 specifique (à ma config) ####
xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
@manolenso
manolenso / .bashrc
Created January 6, 2014 15:24
my .bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
@manolenso
manolenso / grunt link site
Created December 25, 2013 19:10
Markdown code snippet
@manolenso
manolenso / fra.php
Created November 20, 2013 19:11
fichier lang fr vnstat php frontend
<?php
// sidebar labels
$L['summary'] = 'sommaire';
$L['hours'] = 'heures';
$L['days'] = 'jours';
$L['months'] = 'mois';
// main table headers
$L['Summary'] = 'Sommaire';