Skip to content

Instantly share code, notes, and snippets.

View carloscasalar's full-sized avatar
💜
Helping make cities a better place to live at @cabify

Carlos Castillo carloscasalar

💜
Helping make cities a better place to live at @cabify
View GitHub Profile
@carloscasalar
carloscasalar / playground.rs
Last active July 30, 2018 15:50 — forked from rust-play/playground.rs
Sample usage of associative type in rust
pub trait Point{
type Identifier: PartialEq;
fn id(&self) -> Self::Identifier;
}
#[derive(Debug)]
pub struct Connection<T: Point> {
pub to: T
}
@carloscasalar
carloscasalar / tipsVue.md
Last active January 17, 2019 07:11
Vue.js Tips
@carloscasalar
carloscasalar / tipsIntelliJ.md
Last active December 1, 2019 09:22
Intellij Tips
@carloscasalar
carloscasalar / tipsChrome.md
Created October 2, 2017 10:12
Chrome tips

Chrome tips.

  • Enable socket.io debug: localStorage.debug='*socket.io'
@carloscasalar
carloscasalar / tipsEs6.md
Last active December 18, 2017 10:43
ES6 links and tips
@carloscasalar
carloscasalar / ultimate-ut-cheat-sheet.md
Created January 9, 2017 10:59 — forked from yoavniran/ultimate-ut-cheat-sheet.md
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai and Sinon

The Ultimate Unit Testing Cheat-sheet

For Mocha, Chai and Sinon

using mocha/chai/sinon for node.js unit-tests? check out my utility: mocha-stirrer to easily reuse test components and mock require dependencies