Skip to content

Instantly share code, notes, and snippets.

//
// main.cpp
// algoFinal
//
// Created by Mac Craig on 2017-12-12.
// Copyright © 2017 mcknzcrg. All rights reserved.
//
#include <iostream>
#include <algorithm>
//
// main.cpp
// algoFinal
//
// Created by Mac Craig on 2017-12-12.
// Copyright © 2017 mcknzcrg. All rights reserved.
//
#include <iostream>
#include <algorithm>
sqLiteDatabase.execSQL(
"CREATE TABLE IF NOT EXISTS " + TABLE_USER +
"(" + COLUMN_USER_ID + " INTEGER PRIMARY KEY AUTOINCREMENT" +
"," + COLUMN_USER_NAME + " TEXT" +
"," + COLUMN_USER_EMAIL + " TEXT" +
"," + COLUMN_USER_PASSWORD + " TEXT" +
"," + COLUMN_USER_IS_ADMIN + " TEXT" +
"," + COLUMN_USER_SECURE_NUM + " INTEGER)");
sqLiteDatabase.execSQL(
"CREATE TABLE IF NOT EXISTS " + TABLE_LOCATION +

Keybase proof

I hereby claim:

  • I am tehp on github.
  • I am tehp (https://keybase.io/tehp) on keybase.
  • I have a public key whose fingerprint is 0516 C9FF E46B B6C0 EBA8 7489 6F7D 0DA9 F021 9CDF

To claim this, I am signing this object:

/* tr -- a filter to translate characters
Copyright (C) 1991-2012 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
@tehp
tehp / ga.js
Created February 1, 2017 21:49
Google Analytics
(function(i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function() {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
@echo off
set ChromeDir=C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data
del /q /s /f "%ChromeDir%"
rd /s /q "%ChromeDir%"
@tehp
tehp / gist:8678c9a63e233f78f367
Created April 2, 2015 21:40
flood directory with random files
(directory of this file here)
echo. 2>filename.txt