Skip to content

Instantly share code, notes, and snippets.

View huenisys's full-sized avatar
🎯
Focusing

Paul Dominik huenisys

🎯
Focusing
View GitHub Profile
- pa make:model Post -fa
Force creation of Post model, controller, migration and factory.
@huenisys
huenisys / laravel_5.5_multi-domain_notes.md
Created August 23, 2017 04:38
laravel 5.5 multi-domain
  • each with his own env file
  • own assets folder
  • own resources folder
@huenisys
huenisys / Sublime Text 3 Setup.rst
Last active August 23, 2017 04:47 — forked from pauldominik/Sublime Text 3 Setup.rst
Sublime Text 3 Setup
@huenisys
huenisys / stronger ssh key
Created August 24, 2017 10:07
stronger ssh key
ssh-keygen -o -a 100 -t ed25519 -f id_hue -C "hue"
@huenisys
huenisys / settings.json
Created August 25, 2017 15:19 — forked from pauldominik/settings.json
Sublime Text 3 User settings
{
"always_show_minimap_viewport": true,
"bold_folder_labels": true,
"color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme",
"default_line_ending": "unix",
"draw_white_space": "all",
"font_size": 11,
"highlight_line": true,
"highlight_modified_tabs": true,
"ignored_packages":
@huenisys
huenisys / phpunit.xml
Created August 29, 2017 08:04
phpunit.xml
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
@huenisys
huenisys / :w !sudo tee %
Created September 11, 2017 05:32
Save vim file as sudo
:w !sudo tee %
@huenisys
huenisys / gist:2d7c7c4db477f03a4a700f0820958f39
Created September 11, 2017 06:40
Get started with VueJS
$ npm install -g vue-cli
$ vue init <template-name> <project-name>, e.g. $ vue init webpack my-project
@huenisys
huenisys / sql
Created September 11, 2017 08:59
sql
``CREATE DATABASE {db_name} DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci``;
``GRANT ALL ON {db_name}.* TO '{db_user}'@'localhost' IDENTIFIED BY '{db_pass}'``;
FLUSH PRIVILEGES
@huenisys
huenisys / webfaction alias for php71
Created September 19, 2017 05:54
webfaction alias for php71
# User specific aliases and functions
alias php="/usr/local/bin/php71"
alias composer="/usr/local/bin/php71 ~/bin/composer"