I hereby claim:
- I am sqrel on github.
- I am sqrel (https://keybase.io/sqrel) on keybase.
- I have a public key ASA-_I7aSD9HhDmV-WE_76jeEx0OiGPhBiEjYvIA6FmZVQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
require_relative | |
'../flashapi/lib/flashapi' | |
require 'eventmachine' | |
## APPLICATION | |
module Application | |
module Routes | |
extend self |
class StateObject | |
def initialize | |
@name = nil | |
@surname = nil | |
@email = nil | |
end | |
def update_name(name) | |
@name = name | |
Events::UpdateName.new(name).push |
1.Connect your iOS device to your Mac via USB. | |
2.Get the UDID for the connected device from iTunes or organiser. | |
3.Open terminal in your Mac | |
4.type the following commands in the terminal | |
$ ifconfig -l // First get the current list of interfaces. | |
$ rvictl -s <udid> // Then run the tool with the UDID of the device. |
SELECT pg_terminate_backend(pg_stat_activity.pid) FROM pg_stat_activity WHERE pg_stat_activity.datname = 'TARGET_DB' AND pid <> pg_backend_pid(); |
PROMPT='%{$fg[blue]%}%m%{$reset_color%}:%c $(git_time_since_commit)$(git_prompt_info)%# ' | |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[magenta]%}git:" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}) " | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}+%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_CLEAN="" | |
# Colors vary depending on time lapsed. |