Skip to content

Instantly share code, notes, and snippets.

🏋
Currently on a payed project

Tom Siwik tomsiwik

🏋
Currently on a payed project
Block or report user

Report or block tomsiwik

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tomsiwik
tomsiwik / global.code-snippets
Last active May 28, 2019
No more vscode - console.log autoimport madness
View global.code-snippets
// File ▶️ Preferences ▶️ User Snippets ▶️ global.code-snippets ▶️ Save it to `.../vscode/snippets/global.code-snippets`
{
"Print to console": {
"prefix": ["console", "console.", "console.l", "console.lo", "console.log"],
"body": ["console.log($1);"],
"description": "Log output to console"
}
}
@tomsiwik
tomsiwik / README-Template.md
Created Mar 8, 2019 — forked from PurpleBooth/README-Template.md
A template to make good README.md
View README-Template.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@tomsiwik
tomsiwik / setup.sh
Last active Jan 30, 2019
Brew, zsh, tmux, neovim install
View setup.sh
#!/bin/sh
# Install brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Install packages
brew tap sambadevi/powerlevel9k
brew install neovim tmux zsh powerlevel9k
# zsh setup (todo: install iterm2 and default to zsh)
@tomsiwik
tomsiwik / bookmarklet.js
Last active Apr 25, 2018
Gitlab Toggle All Discussions
View bookmarklet.js
javascript:void(function(){const s=document.createElement('script');s.setAttribute('src','https://cdn.rawgit.com/tomsiwik/e7982cc626a18d13d995ac04d60afbf6/raw/f916fa5f67df43c13b13073a86a198a1dd5d1677/script.js');document.body.appendChild(s);}());
@tomsiwik
tomsiwik / .zshrc
Last active Jan 30, 2019 — forked from XEngine/.zshrc
ZSH Powerlevel9k Config
View .zshrc
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/Users/tom/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="powerlevel9k/powerlevel9k"
@tomsiwik
tomsiwik / .vimrc
Last active Jan 30, 2019
My hacky beautiful vim config
View .vimrc
if(has("termguicolors"))
set termguicolors
endif
set encoding=utf8
set t_Co=256
set nocompatible " be iMproved, required
set noantialias
filetype off " required
You can’t perform that action at this time.