Skip to content

Instantly share code, notes, and snippets.

@inventionate
inventionate / Homestead.yaml
Last active December 21, 2016 13:28
Homestead Extensions
---
ip: "192.168.10.10"
memory: 2048
cpus: 1
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
@inventionate
inventionate / TestCommonsPrepareLaravel.php
Last active August 29, 2015 14:06
Prepare Laravel 4 TestCase
/**
* Bereitet die virtuelle Datenbank und virtuelle E-Mails vor
*
* Migriert alle Strukturen in eine virtuelle SQLite Datenbank (:memory:)
* und setzt die E-Mail auf 'pretend' um sie in der Logfile zu verzeichnen.
*
*/
public function _before()
{
TestCommons::prepareLaravel();
@inventionate
inventionate / init.coffee
Last active August 29, 2015 14:06
Atom Editor config
workspaceElement = atom.views.getView(atom.workspace)
atom.commands.dispatch workspaceElement, 'tree-view:toggle'
@inventionate
inventionate / apm_packages.sh
Last active August 29, 2015 14:06
Used Atom packages
/Users/fabianmundt/.atom/packages (28)
├── atom-beautify@0.22.2
├── atom-ctags@2.6.0
├── autoclose-html@0.15.0
├── autocomplete-plus@2.4.2
├── emmet@2.3.4
├── file-icons@1.5.1
├── git-history@2.3.0
├── git-log@0.3.0
├── language-blade@0.12.0
@inventionate
inventionate / gist:33f0b25f017b5f25cfce
Last active August 29, 2015 14:18
ZSH Configuration
# Path to your oh-my-zsh installation.
export ZSH=/Users/fabianmundt/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="robbyrussell"
# Uncomment the following line to use case-sensitive completion.
@inventionate
inventionate / gist:08f7e97c4391a8548ead
Last active August 29, 2015 14:18
gitigniore.io command
gi osx,scrivener,node,bower,composer,r,tex,latex >> ~/.gitignore_global
@inventionate
inventionate / gist:a7fef0c650c030d221a2
Last active August 29, 2015 14:22
Atom config PH copy
# Um alle Einstellungen zu komprimieren
zip -r ~/Dropbox/atom.zip ~/.atom
# Alle Einstellungen übertragen
unzip ~/Dropbox/atom.zip -d /
@inventionate
inventionate / gist:8910ef0a35b1de40bf34
Created July 17, 2015 08:37
BWSync&Share Dockicon ausblenden
In der Darei "Info.plist" folgendes hinzufügen:
<key>LSUIElement</key>
<true/>
sudo rm /etc/php5/cli/conf.d/zray.ini
options(repos = c(CRAN = "https://cran.revolutionanalytics.com"))