Skip to content

Instantly share code, notes, and snippets.

Cas de Reuver casdr

Block or report user

Report or block casdr

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
View gist:544fc8219ecaab9381df08ca5175dcc3
Verifying my Blockstack ID is secured with the address 1zbKJdJpVnBh4jkBwkQyQzMsMp3ZSV4Fy
casdr /
Created Jun 4, 2017
Get itslearning grades and format them nicely
__author__ = "Cas de Reuver"
__copyright__ = "Copyright (C) 2017 BlaLabs"
__license__ = "GPLv2"
__version__ = "1.1.0"
# heeft deze 2 dingetjes nodig
# kan gwn pip install beautifulsoup4 prettytable doen
from bs4 import BeautifulSoup
from prettytable import PrettyTable
import sys
casdr /
Last active Oct 16, 2016
CloudNS to migrator

Migrate a CloudNS domain to DNSmanager

usage: [-h] --domain DOMAIN --cloudns-id CLOUDNS_ID
                                --cloudns-pass CLOUDNS_PASS --dnsman-domain
                                DNSMAN_DOMAIN --dnsman-id DNSMAN_ID
                                --dnsman-key DNSMAN_KEY

Migrate CloudNS to DNSmanager
casdr /
Last active Nov 27, 2019

Keybase proof

I hereby claim:

  • I am casdr on github.
  • I am cas ( on keybase.
  • I have a public key ASCYKWVHvcC8RMrxMXtmUcT4jLFMZ_AfXcf7og8oyUMPWQo

To claim this, I am signing this object:

View gist:f380b338d2920a060ccf
app.config(["$httpProvider", function ( $httpProvider) {
$httpProvider.defaults.headers.common.jwt = 'Test';
// or ($http) {
$http.defaults.headers.common.jwt = 'Test';
View gist:96e2def543c59e214b4c
Promise = require 'bluebird'
hasher = require 'password-hash-and-salt'
module.exports = (sequelize) ->
checkLogin: (user, password) ->
sequelize.query("SELECT * from `users` WHERE username='#{user}'", type: sequelize.QueryTypes.SELECT).then (user) ->
user = user[0]
Promise.promisifyAll(hasher(password)).verifyAgainstAsync(user.password).then (verified) ->
status: verified
user: user
View gist:f86098b992e037828362
View gist:633063d9a7caf7fb70d7
root@default:~/NodeBB-NodeBB-8e7d593# npm install
npm ERR! Error: shasum check failed for /tmp/npm-697-dkVxyA4P/
npm ERR! Expected: 9819eed278a69ddd0af80c5f44965477b4cfc410
npm ERR! Actual: 57a3e1badecdd876b68680a3f19554a9e74797ba
npm ERR! From:
npm ERR! at /root/local/lib/node_modules/npm/node_modules/sha/index.js:38:8
npm ERR! at ReadStream.<anonymous> (/root/local/lib/node_modules/npm/node_modules/sha/index.js:85:7)
npm ERR! at ReadStream.emit (events.js:117:20)
npm ERR! at _stream_readable.js:929:16
npm ERR! at process._tickCallback (node.js:419:13)
casdr / discovery
Created Jun 11, 2014
LibreNMS output
View discovery
LibreNMS Discovery 1 linux (unix)
Port Stack:
Physical Inventory :
Caching OIDs: entPhysicalEntry entAliasMappingIdentifier
Processors : hrDevice: ++++UCD Old:
Memory : hrStorage : +++
IPv4 Addresses : S+S+
You can’t perform that action at this time.