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 / AWS + Ubuntu 17.10 + Nginx + PHP 7.1 + Laravel 5.5 guide.md
Last active January 1, 2018 17:34
AWS + Ubuntu 17.10 + Nginx + PHP 7.1 + Laravel 5.5 guide
@huenisys
huenisys / vim notes
Created September 28, 2017 22:41
vim notes
vim notes
@huenisys
huenisys / Huenits.com Features
Last active September 27, 2017 02:07
Huenits.com Features
1. Free up to 10 pages hosted on subdomain
2. Subscription required: Export html of all pages including JS and CSS that you can import to your site
3. Page Designer (pages are based on Bootstrap 4)
4. SEO-ready (all pages follow SEO best practices as laid out by Google)
5. Custom domains
6. Secured pages using Let's Encrypt (https://letsencrypt.org)
@huenisys
huenisys / Comodo SSL notes
Created September 27, 2017 01:20
Comodo SSL notes
1. When generating CSR, use www in the registration. The corresponding non-www domain will be secured as well as mentioned here:
https://www.clickssl.net/blog/do-i-need-different-ssl-certificates-for-www-non-www-domain
@huenisys
huenisys / Add Git Bash Here in sublime text 3
Created September 20, 2017 07:44
Add Git Bash Here in sublime text 3
Go to AppData\Roaming\Sublime Text 3\Packages\User and add these two files
@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"
@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 / 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 / :w !sudo tee %
Created September 11, 2017 05:32
Save vim file as sudo
:w !sudo tee %
@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"