Skip to content

Instantly share code, notes, and snippets.

View ramlev's full-sized avatar

Hasse Ramlev Wilson ramlev

View GitHub Profile
+ verbose=on
+ shift
+ [[ -n '' ]]
+ [[ on != on ]]
+ get_simple -vv
+ [[ -n -vv ]]
++ type -t get_-vv
+ [[ '' == \f\u\n\c\t\i\o\n ]]
+ shift
+ [[ -n '' ]]
brew install php@7.2 httpd24 mariadb redis php72-xdebug mailhog golang solr@5.5
go get github.com/mailhog/mhsendmail
cp ./go/bin/mhsendmail /usr/local/bin/
pecl install igbinary redis xdebug
# download basic and sdk https://www.oracle.com/technetwork/topics/intel-macsoft-096467.html
@ramlev
ramlev / Install oci8 support
Created January 24, 2019 05:22
install oci8 php extension on mac
download basic and sdk from Oracle https://www.oracle.com/technetwork/database/database-technologies/instant-client/downloads/index.html
unzip both packages
move the folder to /usr/local/opt/oracle/instantclient
pecl install oci8
enter
@ramlev
ramlev / macosx-install-php-oracle-oci8-pdo_oci.md
Created October 28, 2017 05:09 — forked from tlemburg/macosx-install-php-oracle-oci8-pdo_oci.md
Install OCI8 and / or PDO_OCI on OSX via Brew

Installation

This procedure is tested on Mac OS X 10.10.5 with Developpers tools installed (xCode).

PHP 5.6 installed with Homebrew.

Preparation

Download the following files from Oracle website (yes, you need to create an account and accept terms):

@ramlev
ramlev / PHP-Developing-setup-OSX.markdown
Last active March 28, 2016 18:31
My PHP/Apache developing setup on OSX

Homebrew

Install homebrew

ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go)"

DNSMasq

brew install dnsmasq
<?php
use GuzzleHttp\Client;
$client = new Client();
$client->request('POST', 'http://localhost:8080/ag-push/rest/applications/{PUSH_ID}/iOS', [
'debug' => true,
'headers' => [
'Authorization' => 'Bearer OAUTHTOKEN',
{
"query": {
"filtered": {
"query": {
"multi_match": {
"query": "something",
"fields": ["title", "url", "description"]
}
},
"filter": {

Keybase proof

I hereby claim:

  • I am ramlev on github.
  • I am ramlevdk (https://keybase.io/ramlevdk) on keybase.
  • I have a public key whose fingerprint is FA69 6D3E 5CA4 004A D985 3749 5699 58C5 0349 1E4F

To claim this, I am signing this object:

Download drake_reload

    git clone git@github.com:reload/drake_reload.git ~/.drush/

Installer drake-reload og dependencies

    drush drake-reload-install

Byg scleroseforeningen site fra github.

Git the Reload! way

Git

Er du Mac bruger, så installer Homebrew og brug brew til at installere git. Ellers se denne side for installation på andre systemer.

brew install git

Denne tutorial er et godt sted at starte, og hvis du skal bruge hjælp til en specifik kommando kan du altid bruge: