Skip to content

Instantly share code, notes, and snippets.

View kuzyn's full-sized avatar

kuzyn kuzyn

View GitHub Profile
@kuzyn
kuzyn / index.php
Created October 19, 2011 19:19
Grease
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- include craigslist css -->
<link type="text/css" rel="stylesheet" media="all" href="http://www.craigslist.org/styles/craigslist.css?v=9">
<!-- library to manipulate html and change them dynamically -->
<?php include('lib/shd1_5/simple_html_dom.php');?>
<!-- class that fetch urls from a craigslist rss feed -->
<?php include('lib/rssFetch.php');?>
@kuzyn
kuzyn / Button.pde
Created October 21, 2011 14:44
slivers
//***
//Class that draw buttons
//***
class Button {
// -----properties
int xPos;
int yPos;
int buttonSize;
//since the readHead class redraw the grid at each pass, colors are set-up over there
class TweetStream {
Queue tweetQueue;
ArrayList<Tweet> collection;
boolean firstSave = true;
TweetStream() {
collection = new ArrayList();
@kuzyn
kuzyn / Instructions.pde
Created December 6, 2011 04:49
s.t.e.v.e.
//***
//Class that load and read instructions
//**
class Instructions extends Thread {
// -----properties
String fileName;
int nbLines;
String[] instrLines;
boolean running;
@kuzyn
kuzyn / gulpfile.js
Created June 11, 2015 08:33
gulp-nodemon
var gulp = require('gulp')
var path = require('path')
var watch = require('gulp-watch')
var nodemon = require('gulp-nodemon')
var less = require('gulp-less')
var notify = require('gulp-notify')
var livereload = require('gulp-livereload')
// LESS
gulp.task('less', function () {
@kuzyn
kuzyn / README.md
Last active December 2, 2015 21:38
Hello!

Nom du client

[Une phrase descriptive super high level, ex: 'Site web responsive pour XYZ.']

Version Date
x.x.x 01 Janvier 2016

Lead du projet:

[Nom du gestionaire de projet]
@kuzyn
kuzyn / SassMeister-input-HTML.html
Created February 2, 2016 12:46
Generated by SassMeister.com.
<div class='container'>
<div class='box'>
<div class='box'>
<div class='box'>
<div class='box' state='true'>
<div class='box'>
</div>
// Variables
$bodyFontColor: black;
$bodyFontColorLight: lighten($bodyFontColor, 25%);
$titleFontColor: cornflowerblue;
$linkColor: salmon;
// Mixins
@mixin box-shadow($opacity) {
-webkit-box-shadow: 0px 0px 10px rgba(255,0,0,$opacity);
-moz-box-shadow: 0px 0px 10px rgba(255,0,0,$opacity);
concept: ~adjectifs_inutile (admirable amazing deluxe desirable distinctive elite exceptional extraordinaire fabulous famous fantastic fascinating favorable grand great heavenly impressive infamous ingenious inspiring irresistible lovely luxurious magnificent mighty miraculous ostentatious perfect persuasive popular powerful pretentious prominent remarkable sophisticated special sublime super supreme tremendous versatile wonderful)
concept: ~dieu(god God Goddess goddess god~2 deity religion faith creed cult doctrine sect divinity)
concept: ~sympathique (generous~3 loving~1 caring~2 affectionate cordial benevolent considerate devoted friendly generous thoughtful nice good affable amiable compassionate considerate cool pleasant sweet likable charming fun lovely great peaceful forgive forgiving)
concept: ~antipathique (evil vengeful angry mean~a vicious vindictive hostile avenging implacable punitive rancorous relentless unforgiving spiteful inimical irritable furious jealous)
concept: ~dieux_existants (~mythic
///////////////////
// Board object! //
///////////////////
var rotate = require('matrix-rotate');
var _ = require('lodash');
var Ship = require('../bin/Ship.js');
var debug = require('debug')('battleship:Board');