Skip to content

Instantly share code, notes, and snippets.

View rverrips's full-sized avatar

Roy Verrips rverrips

View GitHub Profile
@rverrips
rverrips / connie.txt
Created April 3, 2013 17:20 — forked from joejag/connie.txt
Connie Talk on Talking
Not "Have to present" -> "Get to present"
No reporting, no informating
resonating influencing
"How do people respond to your presentations?" (walk out, ask too many follow up questions, what actions do they take)
"there is nothing normal about presenting"
Prioritize the content
Judge the audience by: "where do they spend their time, energy and money"
When mixed audience:
@rverrips
rverrips / index.php
Created April 5, 2013 05:34 — forked from AleksJev/index.php
Guessing Game
<? session_start(); ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<title>Adapt</title>
<style type="text/css">
.num{
font-size: 244px;
height: 270px;
@rverrips
rverrips / apiCCB.php
Last active August 29, 2015 14:14 — forked from JDMcKinstry/apiCCB.php
<?
/***
* class apiCCB
*
* @author Jeremiah D. McKinstry <[email protected]>
* @date Wednesday, August 14, 2013
* @version 1.0.0
* @see https://cdn6.ccbchurch.com/2/documents/pwt_implement.pdf
*
* @copyright This class is free: you can redistribute it and/or modify
@rverrips
rverrips / gist:2b5e7e3e5882f245088b
Last active November 16, 2015 18:38 — forked from saetia/gist:1623487
Clean Install – OS X 10.11 El Capitan

OS X Preferences


most of these require logout/restart to take effect

# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false

# Set a shorter Delay until key repeat
@rverrips
rverrips / Howto convert a PFX to a seperate .key & .crt file
Created November 7, 2017 23:34 — forked from TemporaryJam/Howto convert a PFX to a seperate .key & .crt file
How to convert a .pfx SSL certificate to .crt/key (pem) formats. Useful for NGINX
source: http://www.markbrilman.nl/2011/08/howto-convert-a-pfx-to-a-seperate-key-crt-file/
`openssl pkcs12 -in [yourfile.pfx] -nocerts -out [keyfile-encrypted.key]`
What this command does is extract the private key from the .pfx file. Once entered you need to type in the importpassword of the .pfx file. This is the password that you used to protect your keypair when you created your .pfx file. If you cannot remember it anymore you can just throw your .pfx file away, cause you won’t be able to import it again, anywhere!. Once you entered the import password OpenSSL requests you to type in another password, twice!. This new password will protect your .key file.
Now let’s extract the certificate:
`openssl pkcs12 -in [yourfile.pfx] -clcerts -nokeys -out [certificate.crt]`
@rverrips
rverrips / README.md
Last active November 8, 2018 00:17 — forked from denvazh/README.md
Scheduled update for homebrew

Scheduled updates for homebrew

This two launchdaemon scripts provide scheduled updates and upgrade for homebrew packages.

It will run in the following way:

  • brew update every day at 12:10
  • brew upgrade every day at 12:20

How to installload

@rverrips
rverrips / EXAMPLE - Querying Incident table from client-side script.js ServiceNow EfficientGlideRecord: A MUCH more efficient and performant client-side GlideRecord queries, as efficient as GlideAjax (or more!)
//Client-side
doThing();
function doThing() {
let eGR = new EfficientGlideRecord('incident')
.setLimit(10)
.addNotNullQuery('assignment_group')
.addField('number')
.addField('short_description')
.addField('assignment_group', true) //Get display value as well