These instructions are currently for Fedora 30. I'll update them over the releases if anything changes.
Press the Win/Super key, type software
and press Enter.
# 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 |
#!/usr/bin/env bash | |
if [ ! -d /usr/lib/selenium/ ]; then | |
sudo mkdir /usr/lib/selenium/ | |
fi | |
if [ ! -f /usr/lib/selenium/selenium-server-standalone-2.41.0.jar ]; then | |
sudo curl -o /usr/lib/selenium/selenium-server-standalone-2.41.0.jar http://selenium-release.storage.googleapis.com/2.41/selenium-server-standalone-2.41.0.jar | |
fi |
Writing unit tests for your craft plugin has not been straight forward out of the gate but P&T is taking steps to fully integrate unit testing and have already added the basic necessities to do so.
@craft = /path/to/site/craft
@craftTests = @craft/app/tests