Skip to content

Instantly share code, notes, and snippets.

Benjamin Arntzen Zorlin

Block or report user

Report or block Zorlin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@wmcraver
wmcraver / DocuSignDownloader.r
Last active Aug 7, 2018
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.
View DocuSignDownloader.r
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()
@ummjackson
ummjackson / social-requirements.md
Created Nov 8, 2016
Brainstorming about what Twitter could be... 🤔
View social-requirements.md

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)
@anlutro
anlutro / gist:cd0c16d1d23d55ded19b
Last active Jan 27, 2017
Illustration of states vs modules and function arguments
View gist:cd0c16d1d23d55ded19b
# 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
@ck-on
ck-on / ocp.php
Last active May 16, 2020
OCP - Opcache Control Panel (aka Zend Optimizer+ Control Panel for PHP)#ocp #php #opcache #opcode #cache #zend #optimizerplus #optimizer+
View ocp.php
<?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
You can’t perform that action at this time.