Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096
bash -c 'while [[ "$(curl -s localhost:9000/api/system/status | jq --raw-output ''.status'')" != "UP" ]]; do sleep 5; done' | |
# also check https://gist.github.com/rgl/f90ff293d56dbb0a1e0f7e7e89a81f42 |
# wrok like: | |
# | |
# raw tcp(9999) tls(127.0.0.1:25500) raw tcp(25501) | |
# client =============> tcp2tls_client.go =====================> tls2tcp_server.go ==============> real server | |
#Generated private key | |
openssl genrsa -out server.key 2048 | |
#To generate a certificate |
APP_ENV=testing | |
APP_KEY=SomeRandomString | |
DB_CONNECTION=testing | |
DB_TEST_USERNAME=root | |
DB_TEST_PASSWORD= | |
CACHE_DRIVER=array | |
SESSION_DRIVER=array | |
QUEUE_DRIVER=sync |
# INSTALLATION | |
# 1. gem install compass-notify | |
# 2. bower install | |
# 3. compass watch -e production // or developement | |
# Require any additional compass plugins here. | |
require 'compass-notify' | |
add_import_path "resources/bower_components/foundation/scss" |
<?php | |
namespace MyApp\Helpers; | |
class TwigTimer extends \Twig_Extension { | |
protected $total_time = array(); | |
protected $previous_time = array(); | |
/** |
The Laracasts PHPStorm theme.
https://www.dropbox.com/s/f4l3qc2falnvq61/laracasts_theme_updated.icls
(Add to ~/Library/Preferences/WebIde80/colors
on Mac.)
package main | |
import ( | |
"bufio" | |
"crypto/aes" | |
"crypto/cipher" | |
"crypto/rand" | |
"fmt" | |
"io" | |
"io/ioutil" |
package email | |
import ( | |
"net/smtp" | |
"testing" | |
) | |
type EmailConfig struct { | |
Username string | |
Password string |