Skip to content

Instantly share code, notes, and snippets.

View konecnyna's full-sized avatar
💭
wanging

defkon konecnyna

💭
wanging
View GitHub Profile
//HEADER!
typedef NS_ENUM(NSUInteger, CustomShopState) {
CustomShopStateDisabled,
CustomShopStateEnabled,
CustomShopStateDeleted,
CustomShopStatePreview,
CustomShopStateTrial,
CustomShopStateDCDisabled,
CustomShopStateAdminClosed
Current download directory: /home/jakepoirier/env/virtual_py/git/Python/trader_app/datacollection
http://elite.finviz.com/export.ashx?v=161&f=sh_price_o1,sh_curvol_o50&f=exch_amex%7Cnasd%7Cnyse&o=-change
/home/jakepoirier/env/virtual_py/git/Python/trader_app/datacollection/finviz.csv
File download failed!
Traceback (most recent call last):
File "bin/trader_app.py", line 24, in <module>
sys.exit(main())
File "bin/trader_app.py", line 22, in main
mf.runDailyDataCollection(200)
File "datastore/Main.py", line 49, in runDailyDataCollection
@konecnyna
konecnyna / iterm2-solarized.md
Created November 24, 2017 14:26 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font + [Powerlevel9k] - (macOS)

Default

Default

Powerlevel9k

Powerlevel9k

#!/bin/bash
declare -a arr=("/root/slack-cat" "/root/etsyalumni/slack-cat" "/root/stash/slack-cat")
pwd=$(pwd)
for i in "${arr[@]}"
do
echo "Updating: $i"
cd $i
git pull; NODE_ENV="production" pm2 restart index.js

How to use

Find the station you are looking for and copy its Station Id.

Then in slack use: ?mta-stop <station id>

List

Train Station name Station ID

Android PRs Workflow

Weclome! This is an RFC on how we can ease the bottle neck of the review process on the Android Team

Problem Statement

The main bottleneck we have in developing Android at Stash is the pull review process, as is the case in most shops. For that reason I'm putting together guidelines and example workflows for us to follow in order to alleviate that pain point.

We have tried a few things in the past to help with this process which all had lessons we learned. The please-review command we found was great distributing the reviews across the team to prevent domain experts as well as getting two sweeps on the pr. These were all great but we still are experiencing the bottleneck in getting code merged.

#!/bin/bash
seek=$(( ( RANDOM % 60 ) + 1 ))
omxplayer --loop fireplace_10_hours.mp3 -o alsa:hw:1,0 --vol -602 --pos 00:$seek:00
# congfig
#!/bin/bash
seek=$(( ( RANDOM % 60 ) + 1 ))
omxplayer --loop fireplace_10_hours.mp3 -o alsa:hw:1,0 --vol -602 --pos 00:$seek:00
@konecnyna
konecnyna / prerolls.js
Last active February 11, 2020 02:04
Quickly dump path for Plex Prerolls
const basePath = "/storage/RPINAS/Media/prerolls";
const preRolls = [
`${basePath}/sdr.mp4`,
//`${basePath}/netflix.mp4`,
//`${basePath}/vhs.mp4`,
`${basePath}/outrun.mp4`,
`${basePath}/snow.mp4`,
//`${basePath}/outrun.mp4,${basePath}/vhs.mp4`,
//`${basePath}/fire.mp4`,
`${basePath}/plex.mp4`