Skip to content

Instantly share code, notes, and snippets.

@RobinMalfait
RobinMalfait / fileName
Created October 4, 2014 12:07
created with LaravelDBDesigner
[{"name":"Bears","color":"Blue","position":{"x":177,"y":85},"modelclass":"Bear","increment":false,"timestamp":false,"softdelete":false,"column":[{"colid":"c217","name":"id","type":"increments","length":"0","order":0,"defaultvalue":"","enumvalue":""},{"colid":"c218","name":"name","type":"string","length":"200","order":1,"defaultvalue":"","enumvalue":""},{"colid":"c219","name":"danger_level","type":"string","length":"200","order":2,"defaultvalue":"","enumvalue":""}],"relation":[{"extramethods":"","foreignkeys":"","name":"fish","relatedmodel":"Fish","relationtype":"hasOne","usenamespace":""},{"extramethods":"","foreignkeys":"","name":"trees","relatedmodel":"Trees","relationtype":"hasMany","usenamespace":""},{"extramethods":"","foreignkeys":"bear_id, picnic_id","name":"picnics","relatedmodel":"Picnics","relationtype":"belongsToMany","usenamespace":""}],"seeding":[]},{"name":"Fish","color":"Yellow","position":{"x":1063,"y":14},"modelclass":"Fish","increment":false,"timestamp":false,"softdelete":false,"column":[{"c
@RobinMalfait
RobinMalfait / SassMeister-input.scss
Created August 5, 2014 17:28
Generated by SassMeister.com.
// ----
// Sass (v3.3.14)
// Compass (v1.0.0.rc.1)
// ----
$color: #774E35; //#F5F5F5;
$active: darken($color, 10%);
.pagination {
li {
a {
@RobinMalfait
RobinMalfait / SassMeister-input.scss
Created August 5, 2014 10:48
Generated by SassMeister.com.
// ----
// Sass (v3.3.14)
// Compass (v1.0.0.rc.1)
// ----
/*=================================
= Preloader =
=================================*/
$size : 150px;
@RobinMalfait
RobinMalfait / FontAwesome.json
Created June 25, 2014 20:42
Font Awesome Json List
{
"icons": [
{
"name": "Glass",
"id": "glass",
"unicode": "f000",
"created": 1,
"categories": [
"Web Application Icons"
]
<snippet>
<content><![CDATA[
<div class="clearfix">
<label for="$1">$2</label>
<div class="input">
<?=form_input('$1', set_value('$1'))?>
</div>
</div>
]]></content>
<tabTrigger>formtext</tabTrigger>

Keybase proof

I hereby claim:

  • I am RobinMalfait on github.
  • I am malfaitrobin (https://keybase.io/malfaitrobin) on keybase.
  • I have a public key whose fingerprint is 39A4 D95F A211 5739 908E 8360 6118 48B2 BF3C EC29

To claim this, I am signing this object:

@RobinMalfait
RobinMalfait / html.css
Last active January 1, 2016 03:39
Prevents the "jump" if you go from a page with more content to another
/**
* Prevents the "jump" if you go from a page with more content to another
**/
html {
overflow-y: scroll;
}
@RobinMalfait
RobinMalfait / main.css
Created December 12, 2013 20:10
Main.css
/* CSS */
.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;line-height:0;content:""}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}a:hover,a:active{outline:0}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{width:auto\9;height:auto;max-width:100%;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic}#map_canvas img,.google-maps img{max-width:none}button,input,
@RobinMalfait
RobinMalfait / colors.cpp
Created December 9, 2013 21:36
Linux and Mac awesome colors in command line!
#include <iterator>
#include <iostream>
#include <string>
#include <vector>
#include <fstream>
#include <regex>
/**
* Use namespace std
*/
@RobinMalfait
RobinMalfait / gotoXY.cpp
Last active December 23, 2015 19:39
CPP: Go to a specific coord;
#include <windows.h>
void gotoXY (int col, int row)
{
COORD coord;
coord.X = col;
coord.Y = row;
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), coord);
}