Skip to content

Instantly share code, notes, and snippets.

View huenisys's full-sized avatar
🎯
Focusing

Paul Dominik huenisys

🎯
Focusing
View GitHub Profile
@huenisys
huenisys / angular-cli
Last active March 19, 2017 03:36
get started: angular cli
- install node
- npm install -g angular-cli
- ng new projectName --style=scss
- ng serve
- ng g component navbar
- npm install bootstrap@next
- edit angular cli config
- ng serve
- _variable.scss, $orange: orange;
- @import '../assets/variables';
@huenisys
huenisys / .minttyrc
Last active August 21, 2017 00:35
best xterm colors .minttyrc
BoldAsFont=no
BackgroundColour=0,0,0
Transparency=high
OpaqueWhenFocused=no
Columns=185
ForegroundColour=131,148,150
Term=xterm
CursorColour=220,50,47
Black=7,54,66
BoldBlack=0,43,54
@huenisys
huenisys / LICENSE.txt
Last active August 19, 2017 09:31
MIT License
The MIT License (MIT)
Copyright (c) <huenisys>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@huenisys
huenisys / suublime3.rst
Created August 19, 2017 11:56
Sublime Text 3 setup
@huenisys
huenisys / hardlinks.txt
Created August 19, 2017 22:59
windows hardlinks
@huenisys
huenisys / Laravel Setup.md
Last active August 20, 2017 06:19
Laravel 5.5 setup

Base

  • $ laravel new laravel55 --dev
  • $ composer require laravel/homestead --dev # this gives per project homestead
  • $ vendor\bin\homestead make # will create vagrant file
  • $ vagrant up

Dusk

  • $ composer require laravel/dusk --dev
  • add dusk provider in config using app service provider wrapped to run locally only
@huenisys
huenisys / sublime-key-bindings.json
Created August 20, 2017 06:31
sublime key bindings
[
{ "keys": [";", ";"], "command": "exit_insert_mode",
"context":
[
{ "key": "setting.command_mode", "operand": false },
{ "key": "setting.is_widget", "operand": false }
]
},
{ "keys": ["ctrl+shift+r"], "command": "reveal_in_side_bar"},
{ "keys": ["ctrl+alt+r"], "command": "goto_symbol_in_project"},
@huenisys
huenisys / phpunit.xml
Created August 20, 2017 15:03
phpunit base config
<?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"
stopOnFailure="false"
@huenisys
huenisys / package development
Created August 20, 2017 15:09
Laravel Package development
- .gitignore, LICENSE.txt, phpunit.xml, readme.md, tests/, src/
- $ composer init
- $ cda
- $ composer require illuminate/support
@huenisys
huenisys / gist:fb0b958c413c9e25cdcf549b1dbbe75a
Last active August 20, 2017 15:37
common composer commands
- $ composer validate
- $ composer diagnose
- $ composer self-update
- $ composer create-project laravel/laravel laravel1 --no-progress --profile --prefer-dist
- $ composer global require hirak/prestissimo # makes composer run faster