Skip to content

Instantly share code, notes, and snippets.

View jasesuperhero's full-sized avatar
🤘
Let's rock

Daniel Kalintsev jasesuperhero

🤘
Let's rock
View GitHub Profile
@jasesuperhero
jasesuperhero / cloudSettings
Last active November 20, 2018 18:44
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-09-10T10:06:15.860Z","extensionVersion":"v3.1.2"}
source /usr/local/share/antigen/antigen.zsh
# Load the oh-my-zsh's library.
antigen use oh-my-zsh
# Bundles from the default repo (robbyrussell's oh-my-zsh).
antigen bundle git
antigen bundle colored-man
antigen bundle colorize
antigen bundle github
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// Choose either "stable" for receiving highly polished,
// or "canary" for less polished but more frequent updates
updateChannel: 'stable',
@jasesuperhero
jasesuperhero / pre-commit
Created January 16, 2018 22:26 — forked from candostdagdeviren/pre-commit
Git Pre-Commit hook with SwiftLInt
#!/bin/bash
#Path to swiftlint
SWIFT_LINT=/usr/local/bin/swiftlint
#if $SWIFT_LINT >/dev/null 2>&1; then
if [[ -e "${SWIFT_LINT}" ]]; then
count=0
for file_path in $(git ls-files -m --exclude-from=.gitignore | grep ".swift$"); do
export SCRIPT_INPUT_FILE_$count=$file_path
source /usr/local/share/antigen/antigen.zsh
# Load the oh-my-zsh's library.
antigen use oh-my-zsh
# Bundles from the default repo (robbyrussell's oh-my-zsh).
antigen bundle git
antigen bundle colored-man
antigen bundle colorize
antigen bundle virtualenv