#Inside Meteor
##Slides http://slides.com/p4bloch/inside-meteor/
###Instalar Meteor
curl https://install.meteor.com/ | sh
djaskd as |
#Inside Meteor
##Slides http://slides.com/p4bloch/inside-meteor/
###Instalar Meteor
curl https://install.meteor.com/ | sh
ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[yellow]%}" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}!" | |
ZSH_THEME_GIT_PROMPT_CLEAN="" | |
function prompt_char { | |
if [ $UID -eq 0 ]; then echo "%{$fg[red]%}#%{$reset_color%}"; else echo $; fi | |
} | |
PROMPT='%{$fg_bold[blue]%}🍔 p4blo.%{$reset_color%}%{$fg_bold[yellow]%}ch%{$reset_color%}: %{$fg_bold[blue]%}%~%{$reset_color%}$(git_prompt_info) |
#### run this as root | |
# Install zsh | |
apt-get install -y zsh | |
# Install oh-my-zsh | |
curl -L http://install.ohmyz.sh | sh | |
# Change default shell from bash to zsh | |
command -v zsh | sudo tee -a /etc/shells |
<?php | |
/** | |
* An helper file for Laravel 4, to provide autocomplete information to your IDE | |
* Generated for Laravel 4.2.16 on 2014-12-24. | |
* | |
* @author Barry vd. Heuvel <[email protected]> | |
* @see https://github.com/barryvdh/laravel-ide-helper | |
*/ | |
namespace { |
javascript:document.querySelector('.butterbar-container' ).remove();document.querySelector('.app.two').setAttribute('style', 'width:100%;height:100%;left:0;top:0');document.querySelector('.pane-chat').setAttribute('style', 'width:70%;left:30%'); |
To disable the auto save functionality in Sketch, open your terminal and put this
defaults write com.bohemiancoding.sketch3 ApplePersistence -bool no
Restart Sketch. Be happier.
// Go to https://twitter.com/messages and when the DM's modal is loaded, | |
// open the console and run this CSS overwrite rules :) | |
$('.DMInbox')[0].style.maxWidth = '100%' | |
$('.DMInbox')[0].style.width = '100%' | |
$('.DMInbox')[0].style.height = '100%' | |
$('.DMConversation')[0].style.maxWidth = '100%' | |
$('.DMConversation')[0].style.width = '100%' | |
$('.DMConversation')[0].style.height = '100%' | |
$('.DMDock')[0].style.height = '100%' |
local find_access_tag = require("lib/access").find_access_tag | |
local limit = require("lib/maxspeed").limit | |
lua_sql = require "luasql.postgres" -- we will connect to a postgresql database | |
sql_env = assert( lua_sql.postgres() ) | |
sql_con = assert( sql_env:connect("forge:forge") ) -- you can add db user/password here if needed | |
print("PostGIS connection opened") | |
-- Begin of globals | |
barrier_whitelist = { [""] = true, ["cycle_barrier"] = true, ["bollard"] = true, ["entrance"] = true, ["cattle_grid"] = true, ["border_control"] = true, ["toll_booth"] = true, ["sally_port"] = true, ["gate"] = true, ["no"] = true, ["block"] = true } |