Skip to content

Instantly share code, notes, and snippets.

View nachbarshund's full-sized avatar
🤓
Coding

Christopher Zotter nachbarshund

🤓
Coding
View GitHub Profile
@nachbarshund
nachbarshund / cloudSettings
Last active August 13, 2020 07:25
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-08-13T07:24:58.506Z","extensionVersion":"v3.4.3"}
@nachbarshund
nachbarshund / vscode-settings.json
Created April 9, 2019 09:14
Decrease CPU usage with VSCode (Helper). Only add this to your settings:
{
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/tmp": true,
"**/node_modules": true,
"**/bower_components": true,
@nachbarshund
nachbarshund / Backbone.sub.coffee
Created December 9, 2016 07:55 — forked from mpneuried/Backbone.sub.coffee
Backbone collection extension to solve sub collections.The models withtin the (sub)collection-tree will be distributed within all involved collections under consideration of each filter.
###
EXAMPLE USAGE
parentColl = new Backbone.Collection.Extended()
# by Array
subCollA = parentColl.sub( [ 1, 2, 3 ] )
# or by Object
subCollO = parentColl.sub( { name: "Foo", age: 42 } )

Install certbot

sudo su
yum install wget -y
wget https://dl.eff.org/certbot-auto
chmod a+x certbot-auto

Install certificate

@nachbarshund
nachbarshund / grunt-fontello-edit.coffee
Created January 28, 2016 08:38 — forked from mpneuried/grunt-fontello-edit.coffee
Fontello Grunt edit helper
###
USAGE:
1. Make sure you have a valid fontello config file
2. call "grunt edit-font" -> your browser will open with a session based on your config file
3. Edit your font within fontello and click "Save session"
4. call "grunt update-fonts". This will call the task "update-fonts-config" to download the session zip and replace the config. Then it's call the task `fontello:standard` based on your config.json.
###
# Delete one line
CTRL + K
# Undo this
CTRL + U
# Refresh all x times
watch "docker ps"

Keybase proof

I hereby claim:

  • I am nachbarshund on github.
  • I am nachbarshund (https://keybase.io/nachbarshund) on keybase.
  • I have a public key whose fingerprint is A663 7C24 9BD7 B70F 3437 4EC1 1CEE E1A9 068F 8834

To claim this, I am signing this object:

# install a new Mac
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Install services
brew install node memcached redis mysql caskroom/cask/brew-cask
# install tools
brew cask install dropbox vagrant vagrant-manager virtualbox gpgtools iterm2
brew tap caskroom/versions