Skip to content

Instantly share code, notes, and snippets.

View butonic's full-sized avatar

Jörn Friedrich Dreyer butonic

View GitHub Profile
#!/bin/bash
echo -n "GitHub User: "
read USER
echo -n "GitHub Password: "
read -s PASS
echo ""
echo -n "GitHub Repo (e.g. foo/bar): "
@butonic
butonic / oracle.sql
Created April 20, 2017 11:16
oracle queries
SELECT *
FROM all_constraints
WHERE constraint_name = 'SYS_C0010867';
SELECT *
FROM all_cons_columns
WHERE table_name = 'oc_preferences';
SELECT sess.process, sess.status, sess.username, sess.schemaname, sql.sql_text
FROM v$session sess,

Keybase proof

I hereby claim:

  • I am butonic on github.
  • I am butonic (https://keybase.io/butonic) on keybase.
  • I have a public key whose fingerprint is 5F7F 7F40 E732 009C 5E69 94EA 3F8C AA2A 1CD2 281A

To claim this, I am signing this object:

@butonic
butonic / app.php
Last active April 4, 2017 10:45
MyCSP app for ownCloud
<?php
/**
* ownCloud
*
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
*
* @copyright Copyright (c) 2016, ownCloud, Inc.
* @license AGPL-3.0
*
@butonic
butonic / contributions.php
Last active January 4, 2016 03:19
lists all your contributions via github api. including private repositories.
<?php
// parameters
$username = 'username';
$password = 'secret';
//how many days should be fetched?
$days = 7;
// functions