Skip to content

Instantly share code, notes, and snippets.

View ramlev's full-sized avatar

Hasse Ramlev Wilson ramlev

View GitHub Profile
@ramlev
ramlev / gist:df615e702d4f2f28f5310f04a5b26f49
Created January 2, 2026 14:31
App defaults start 2026
📨 Mail Client - FMail3
📮 Mail Server - Fastmail
📷 Photo Shooting - Stock iphone app
🟦 Photo library - iCloud
⌨️ Launcher: Raycast
📁 Cloud File Storage - Synology (selfhosted)
📖 RSS Service: FreshRSS (selfhosted)
📖 RSS reader: Reeder Classic
🌐 Browser - Brave (all AI and crypto disabled)
🔖 Bookmarks - LinkDing (selfhosted)
+ 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.