Skip to content

Instantly share code, notes, and snippets.

View Zorlin's full-sized avatar
📚
E cinere surgemus.

Benjamin Arntzen Zorlin

📚
E cinere surgemus.
View GitHub Profile
@ck-on
ck-on / ocp.php
Last active March 25, 2024 09:30
OCP - Opcache Control Panel (aka Zend Optimizer+ Control Panel for PHP)#ocp #php #opcache #opcode #cache #zend #optimizerplus #optimizer+
<?php
/*
OCP - Opcache Control Panel (aka Zend Optimizer+ Control Panel for PHP)
Author: _ck_ (with contributions by GK, stasilok)
Version: 0.1.7
Free for any kind of use or modification, I am not responsible for anything, please share your improvements
* revision history
0.1.7 2015-09-01 regex fix for PHP7 phpinfo
0.1.6 2013-04-12 moved meta to footer so graphs can be higher and reduce clutter
@anlutro
anlutro / gist:cd0c16d1d23d55ded19b
Last active January 27, 2017 08:26
Illustration of states vs modules and function arguments
# in a /srv/salt .sls file
my_state: <- State ID
file.managed: <- State function
- name: /tmp/foo
- contents: hello world
^ state function arguments
{% if salt['file.directory_exists']('/tmp/bar') %}
^ module function ^ module function arguments
@ummjackson
ummjackson / social-requirements.md
Created November 8, 2016 05:21
Brainstorming about what Twitter could be... 🤔

This is a WIP

Basics

  • Implement core feature set of Twitter (users, statuses, followers/friends, lists, blocking)
  • Do not implement direct messaging initially (there are already any IM clients out there)
  • Implement 1:1 replica of Twitter v1.1 API
    • Very generous limits up-front (only what's needed to avoid denial of service / spam attacks)
    • Clients must register a Client ID prior to making requests (same as Twitter)
@wmcraver
wmcraver / DocuSignDownloader.r
Last active November 15, 2020 08:54
This R script will login to your DocuSign account, retrieve a list of all envelopes, filter the list of envelopes for those with a status of 'completed', and then download said envelopes into one neat PDF. If you use this script, you will need to uncomment lines 5-7 and enter your username, password, and integrator key.
library(docuSignr)
library(dplyr)
# Create env variables based on github directions for this package. https://github.com/CannaData/docuSignr
# Sys.setenv("docuSign_username" = "username")
# Sys.setenv("docuSign_password" = "password")
# Sys.setenv("docuSign_integrator_key" = "integrator_key")
login = docu_login()