Skip to content

Instantly share code, notes, and snippets.

module.exports = (grunt) ->
require('load-grunt-tasks')(grunt)
grunt.initConfig {
sass: {
dev: {
options: {
style: 'expanded'
}
expand: true
@yassinagx
yassinagx / Gruntfile.coffee
Created May 17, 2014 21:59
Gruntfile Phonegap Build
module.exports = (grunt) ->
require('load-grunt-tasks')(grunt)
grunt.initConfig {
"phonegap-build": {
debug: {
options: {
archive: "app.zip",
appId: "812618",
user: {
@yassinagx
yassinagx / Jointure
Created August 1, 2014 21:19
Jointure
rails generate migration CreateJoinTableStudentTeacher student teacher
@yassinagx
yassinagx / learn.md
Last active August 29, 2015 14:17
Learn

Technology to learn

  • Markdown
  • Vim
  • C
  • Objective-C
  • Go
  • Test::Unit
  • Cocoa
  • Unix
@yassinagx
yassinagx / Swift
Last active August 29, 2015 14:17
Swift/IOS
Variable
var hello = "Hello World"
Constant
let celerity = 299792458
Explicit type
var hello: String = "Hello World"
var celerity: Int = 299792458
Print
@yassinagx
yassinagx / note.md
Last active August 29, 2015 14:24
OpenFoodFact ruby client

Note client

  • Get note
  • Display note
  • Store notes in array
  • Looping
  • Colorize
@yassinagx
yassinagx / RaspberryPiAdressIp
Last active August 29, 2015 14:25
RaspberryPiAdressIp
sudo nmap -sP 192.168.1.0/24 | awk '/^Nmap/{ip=$NF}/B8:27:EB/{print ip}'
Hello World
===========
#include <stdio.h>
int main(){
printf("Hello World\n");
return 0;
}
#!/bin/sh
apt-get -y install vim
apt-get -y install gedit
apt-get -y install libssl-dev
apt-get -y install ruby2.1
apt-get -y install ruby2.1-dev
apt-get -y install mplayer
apt-get install python-dev python-pip
pip install RPIO
- Détecteur porte de réfrigérateur ouverte
- Alarme arrosage plante
- Nyan Board
- AdBlock TV
- Portable pin pong table