Skip to content

Instantly share code, notes, and snippets.

Oh yeah !

amiceli amiceli

Oh yeah !
View GitHub Profile
amiceli /
Created Dec 30, 2017
extern crate regex;
extern crate serde;
extern crate serde_json;
extern crate tiny_http;
extern crate serde_derive;
use serde_json::Error;
use std::process::Command;
amiceli / main.go
Created Dec 10, 2017
List trello organization members in go-lang
View main.go
package main
import "fmt"
import "net/http"
import "io/ioutil"
import "encoding/json"
import "bytes"
type Obj struct {
FullName string `json:"fullName"`
amiceli / generatedStyles.less
Created May 22, 2017
Generate margin styles with a Less loop
View generatedStyles.less
// Generate padding and margin classes from 0 to 25px
.generate-columns(@n, @i: 0) when (@i =< @n) {
@num : @i * 5;
amiceli / code-to-language.json
Last active Jan 7, 2016
Country code list with language.
View code-to-language.json
"nd": "Ndebele, North; North Ndebele",
"ko": "Korean",
"lv": "Latvian",
"sw": "Swahili",
"ba": "Bashkir",
"yo": "Yoruba",
"fr": "French",
"dv": "Divehi; Dhivehi; Maldivian",
"uk": "Ukrainian",
amiceli / MySpec.js
Created Nov 26, 2015
Some JavaScript testing with Jasmine
View MySpec.js
describe("MySpec", function() {
var user = new User('Pablo', 'Escobar')
beforeEach(function() {
spyOn(user, 'getDescription');
spyOn(user, 'setAge');
amiceli / index.html
Created Oct 5, 2015
Update a part of view Backbone
View index.html
<!doctype html>
<html lang="en">
<meta charset="UTF-8">
<title>Update part view backbone</title>
<link rel="stylesheet" href="styles.css">
<div id="my-view">