Skip to content

Instantly share code, notes, and snippets.

Loïc Giraudel lgiraudel

  • Grenoble, France
Block or report user

Report or block lgiraudel

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View app.js
const bool = require('./true-generator.js');
console.log(bool);
View commit-generator.js
#!/usr/bin/env node
const fs = require('fs');
const child_process = require('child_process');
// Fonction pour créer un commit sans fichier modifié
const createCommit = (msg) => {
child_process.execSync(`git commit -am "${msg}" --allow-empty`);
}
@lgiraudel
lgiraudel / index.html
Created Oct 8, 2014
AngularJS - Test directive with method
View index.html
<!DOCTYPE html>
<!-- // source http://jsbin.com/cifini/1 -->
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/jasmine/2.0.0/jasmine.js"></script>
<script src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/42401/jasmine-html_1.js"></script>
<script src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/42401/boot.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular-mocks.js"></script>
<script src="http://cdn.jsdelivr.net/jquery/2.1.1/jquery.js"></script>
@lgiraudel
lgiraudel / index.html
Created Oct 8, 2014
AngularJS - Test simple directive
View index.html
<!DOCTYPE html>
<!-- // source http://jsbin.com/gazax/1 -->
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/jasmine/2.0.0/jasmine.js"></script>
<script src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/42401/jasmine-html_1.js"></script>
<script src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/42401/boot.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular-mocks.js"></script>
<link type="text/css" rel="stylesheet" href="https://s3-us-west-2.amazonaws.com/s.cdpn.io/42401/jasmine_1.css"></link>
@lgiraudel
lgiraudel / index.html
Last active Aug 29, 2015
AngularJS - Test a simple expression
View index.html
<!DOCTYPE html>
<!-- // source http://jsbin.com/zirivocogeji/1 -->
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/jasmine/2.0.0/jasmine.js"></script>
<script src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/42401/jasmine-html_1.js"></script>
<script src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/42401/boot.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular-mocks.js"></script>
<link type="text/css" rel="stylesheet" href="https://s3-us-west-2.amazonaws.com/s.cdpn.io/42401/jasmine_1.css"></link>
View optimize.sh
#!/bin/bash
PROGNAME=${0##*/}
INPUT=''
QUIET='0'
NOSTATS='0'
max_input_size=0
max_output_size=0
usage()
You can’t perform that action at this time.