Skip to content

Instantly share code, notes, and snippets.

View lawrencehui's full-sized avatar

Lawrence Hui lawrencehui

View GitHub Profile
@lawrencehui
lawrencehui / terminal
Last active December 1, 2015 11:09
point local host meteor to other local running mongodb
export MONGO_URL=mongodb://127.0.0.1:3011/meteor && meteor run
@lawrencehui
lawrencehui / main.css
Created November 29, 2015 16:08
disable browser scroll bounce effect
html, body {
height: 100%;
overflow: hidden;
}
#mainContainer {
position: relative;
overflow: auto;
}
@lawrencehui
lawrencehui / config.xml
Last active November 27, 2015 06:08
Use focus to open keyboard after navTransition
<preference name="KeyboardDisplayRequiresUserAction" value="false" />
@lawrencehui
lawrencehui / button.css
Created November 16, 2015 16:58
input button with reset button
#searchBar {
width: 100%;
height: 32px;
padding: 20px 16px;
margin-bottom: 0px;
font-size: 16px;
}
.searchBarForm {
//@extend %flex-row-container;