This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DECLARE | |
-- ORA-02292: integrity constraint (OWNER.FK) violated - child record found | |
ora_02292 EXCEPTION; | |
PRAGMA EXCEPTION_INIT(ora_02292, -2292); | |
l_foreign_key VARCHAR2(400); | |
PROCEDURE delete_row(pi_table IN VARCHAR2, | |
pi_column IN VARCHAR2, | |
pi_value IN VARCHAR2) IS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Thanks to http://www.labs.saachitech.com/2012/10/23/pdf-generation-using-uiprintpagerenderer | |
// Note: including images in the HTML won't work, see here: | |
// https://github.com/nyg/HTMLWithImagesToPDF | |
import UIKit | |
// 1. Create a print formatter | |
let html = "<b>Hello <i>World!</i></b>" | |
let fmt = UIMarkupTextPrintFormatter(markupText: html) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Querying your ledger through Kraken's API only return 50 results... */ | |
var KrakenClient = require('kraken-api'); // https://github.com/nothingisdead/npm-kraken-api | |
var kraken = new KrakenClient('api_key', 'api_secret'); | |
var ledger = []; | |
var offset = 0; | |
function getLedgerEntries (error, data) { | |
NewerOlder