Skip to content

Instantly share code, notes, and snippets.

View skywinder's full-sized avatar
:octocat:

Petr Korolev skywinder

:octocat:
View GitHub Profile
@skywinder
skywinder / gitkraken.zsh
Last active October 25, 2022 15:37 — forked from dersam/gitkraken.zsh
Here is a single line to add kraken support in `.zshrc`
# Open GitKraken using the current repo directory in the cli.
alias kraken='open -na "GitKraken" --args -p "$(git rev-parse --show-toplevel)"'
# Now you can 'git kraken'!
@skywinder
skywinder / Flood.swift
Last active April 18, 2016 15:22 — forked from futurepaul/Flood.swift
The biblical flood, in Swift
let 🌍 = "🐶🐺🐱🐭🐹🐰🐸🐯🐨🐻🐷🐽🐮🐗🐵🐒🐴🐑🐘🐼🐧🐦🐤🐥🐣🐔🐍🐢🐛🐝🐜🐞🐌🐙🐚🐠🐟🐬🐳🐋🐄🐏🐀🐃🐅🐇🐉🐎🐐🐓🐕🐖🐁🐂🐲🐡🐊🐫🐪🐆🐈🐩"
var 🚢: [String] = []
for 👾 in 🌍.characters {
let 💕 = String(👾)
🚢.append(💕 + 💕)
}
🚢