I hereby claim:
- I am vtsatskin on github.
- I am vtask (https://keybase.io/vtask) on keybase.
- I have a public key whose fingerprint is 61DB 3B91 BF7C CCA1 8498 E280 9B8E 4D3A 556F 3566
To claim this, I am signing this object:
autoload -Uz vcs_info | |
autoload -U add-zsh-hook | |
add-zsh-hook precmd mtmdd_precmd | |
add-zsh-hook preexec mtmdd_preexec | |
# Table flip | |
typeset -A table; | |
table=( | |
flip "%{$fg[yellow]%}%? %{$fg[red]%}(╯°□°)╯︵ ┻━┻%{$reset_color%}" | |
upright "%{$fg[yellow]%}┳━┳ ~ ◞(◦_◦◞)%{$reset_color%}" |
[ | |
{ | |
residence: "V1", | |
floors: [ | |
{ id: "0", name: "Basement" }, | |
{ id: "1", name: "1" }, | |
{ id: "2", name: "2" }, | |
{ id: "3", name: "3" }, | |
], | |
buildings: [ |
.cell { | |
position: relative; | |
height: 125px; | |
margin-bottom: 20px; | |
background: white; | |
border-top-width: 0.5em; | |
border-top-style: solid; | |
text-align: center; } | |
@media (min-width: 1200px) { | |
.cell { |
set mypath to (path to me) as string | |
tell application "Finder" to set theFilename to name of file mypath | |
set theName to characters 1 thru ((offset of "." in theFilename) - 1) of theFilename as string | |
do shell script "cd " & POSIX path of mypath & "/.. && sh " & theName & ".sh" |
# Doges your terminal up | |
# Requires Mac OS X, lolcat, and thinderman's doge | |
# Doge: https://github.com/thiderman/doge | |
# lolcat: https://github.com/busyloop/lolcat | |
# Display a lovely doge | |
doge | |
# Alias for periodic pretty doge lines |
config_user.py |
I hereby claim:
To claim this, I am signing this object:
➜ App git:(story-book) ✗ yarn --version (⌐•_•) | |
0.27.5 | |
➜ App git:(story-book) ✗ node --version (⌐•_•) | |
v8.0.0 | |
➜ App git:(story-book) ✗ react-native --version (⌐•_•) | |
react-native-cli: 2.0.1 | |
react-native: 0.44.2 |
# Add this to your shell profile | |
export ANDROID_HOME=$HOME/Library/Android/sdk/ | |
alias emulator='cd $ANDROID_HOME/tools/; ./emulator' | |
# In a new shell | |
emulator @<avd_name> |
import cv2 | |
import numpy as np | |
def save_frames(frames, file_path, width, height, fps, codec="mp4v"): | |
# Define the codec and create VideoWriter object | |
fourcc = cv2.cv.CV_FOURCC(*codec) | |
out = cv2.VideoWriter(file_path, fourcc, fps, (width,height)) | |
for frame in frames: | |
out.write(frame) |