Skip to content

Instantly share code, notes, and snippets.

const longerThanThree = (t: string): boolean => t.length > 3;
const includesO = (t: string): boolean => t.includes(filterInput);
const users = [
'Jo',
'Jim',
'Jake',
'Johny',
]
const passItemThroughFilters = (item: any, cb: Function[]): boolean =>
(R.juxt(cb)(item)).every(R.identity);
@HideoKun
HideoKun / better.scss
Created March 29, 2018 06:40
structural-sass mixins in action
box(10% 15%);
pad(10px 15px n n);
mar(n 15px 3px n);
@HideoKun
HideoKun / normal.css
Created March 29, 2018 06:30
Typical css stuff
width: 10%;
padding-top: 10px
padding-right: 15px;
margin-bottom: 3px;
height: 15%;
margin-right: 15px;
@HideoKun
HideoKun / .gitignore
Last active April 5, 2017 19:57 — forked from octocat/.gitignore
Some common .gitignore configurations
# Modules #
###########
/node_modules
/bower_components
# Compiled source #
###################
*.com
*.class
*.dll
[
{ "keys": ["ctrl+b"], "command": "reveal_in_side_bar_and_focus" },
]
@HideoKun
HideoKun / good-project.sublime-project
Last active March 25, 2017 11:31
exclude node_modules from sublime text project - good example; https://medium.com/@wo.contact/asdf-fd4f781f19c2#.s27lqq574
{
"folders":
[
//exclude all dirs
{
"path": "/Users/wo/Documents/blog/sublimeProject",
"folder_exclude_patterns": ["*"],
},
//import required dirs
{ "path": "/Users/wo/Documents/blog/sublimeProject/app" },
@HideoKun
HideoKun / bad-project.sublime-project
Last active March 25, 2017 11:31
exclude node_modules from sublime text project - bad example; https://medium.com/@wo.contact/asdf-fd4f781f19c2#.s27lqq574
{
"folders":
[
{
"path": "/Users/wo/Documents/blog/sublimeProject",
"folder_exclude_patterns": ["node_modules"],
}
]
}