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.
<?php | |
namespace MyApp\Helpers; | |
class TwigTimer extends \Twig_Extension { | |
protected $total_time = array(); | |
protected $previous_time = array(); | |
/** |
# 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" |
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 |
# 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 |
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 |
// This shows an example of how to generate a SSH RSA Private/Public key pair and save it locally | |
package main | |
import ( | |
"crypto/rand" | |
"crypto/rsa" | |
"crypto/x509" | |
"encoding/pem" | |
"golang.org/x/crypto/ssh" |
--- | |
AWSTemplateFormatVersion: '2010-09-09' | |
Description: Public VPC and subnets | |
Resources: | |
# | |
# Public VPC | |
# | |
PublicVpc: |
-- original source: https://medium.com/adhawk-engineering/using-postgresql-to-generate-slugs-5ec9dd759e88 | |
-- https://www.postgresql.org/docs/9.6/unaccent.html | |
CREATE EXTENSION IF NOT EXISTS unaccent; | |
-- create the function in the public schema | |
CREATE OR REPLACE FUNCTION public.slugify( | |
v TEXT | |
) RETURNS TEXT | |
LANGUAGE plpgsql |