I hereby claim:
- I am rheinardkorf on github.
- I am rheinard (https://keybase.io/rheinard) on keybase.
- I have a public key ASB9TuTMvilmuznN6BgU_qlDotTEDiz199xdsUWbOVqnnwo
To claim this, I am signing this object:
# Get and make mongodb PHP driver | |
RUN yes | apt-get install libssl-dev \ | |
&& git clone https://github.com/mongodb/mongo-php-driver.git --recursive \ | |
&& cd mongo-php-driver \ | |
&& phpize \ | |
&& ./configure --with-mongodb-ssl=openssl \ | |
&& make all \ | |
&& make install \ | |
&& echo "extension=mongodb.so" > /opt/php${SHORT_VERSION}/lib/conf.d/ext-mongodb.ini \ | |
&& cd .. \ |
package snakeymap | |
func SnakeKeyMap(data map[string]interface{}) map[string]interface{} { | |
converted := make(map[string]interface{}) | |
for key, val := range data { | |
goodKey := snakeKey(key) | |
switch v := val.(type) { | |
case map[string]interface{}: |
TITLE=My Title | |
BUNDLE_ID=com.rheinardkorf | |
PROJECT=MyApp | |
EXEC=app | |
VERSION=0.1 | |
define plist | |
<?xml version="1.0" encoding="UTF-8"?> \ | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> |
package main | |
import ( | |
"crypto/hmac" | |
"time" | |
"strconv" | |
"fmt" | |
"net/http" | |
"io/ioutil" | |
"crypto/sha512" |
package example | |
import ( | |
"testing" | |
"net/http/httptest" | |
"net/http" | |
"fmt" | |
"io/ioutil" | |
) |
<?php | |
function check_compatibility( $audit_files_directory, $phpcs_report_file, $phpcompat_report_file, $lowest_version = '5.2' ) { | |
// Official PHP versions. | |
// Note: Does not include patch releases as PHPCompatibility doesn't get this granular. | |
$php_versions = array( | |
'5.2', | |
'5.3', |
// Remember to wp_enqueue_editor(); inside PHP. | |
// Add editor | |
wp.editor.initialize( | |
'test-editor', | |
{ | |
tinymce: { | |
wpautop:true, | |
plugins : 'charmap colorpicker compat3x directionality fullscreen hr image lists media paste tabfocus textcolor wordpress wpautoresize wpdialogs wpeditimage wpemoji wpgallery wplink wptextpattern wpview', | |
toolbar1: 'formatselect bold italic | bullist numlist | blockquote | alignleft aligncenter alignright | link unlink | wp_more | spellchecker' |
I hereby claim:
To claim this, I am signing this object:
<?php | |
class DockerManager { | |
/** | |
* This is where the magic happens. | |
* The Docker Engine socket needs to be mounted in docker-compose.yml. | |
* | |
* volumes: | |
* - /var/run/docker.sock:/var/run/docker.sock |
################################## | |
# WORDPRESS NGINX CONFIGURATIONS | |
################################## | |
# /etc/nginx/wordpress.conf | |
# | |
# Contains a common configuration for use by nginx on a WordPress | |
# installation. This file should be included in any WordPress site | |
# nginx virtual host config located in sites-available with the following line: | |
# | |
# include /etc/nginx/wordpress.config; |