Skip to content

Instantly share code, notes, and snippets.

View dzt's full-sized avatar
🛹

Peter Soboyejo dzt

🛹
  • Worcester, Massachusetts
View GitHub Profile
@dzt
dzt / genesis.md
Last active August 29, 2015 14:25
All the Network Request Used for Montgomery's Genesis Configuration
@dzt
dzt / grades_example.html
Created August 3, 2015 01:06
Grades Example
<html><head>
<link href="/genesis/styles/parents.css" rel="stylesheet" type="text/css">
<link rel="apple-touch-icon" href="/genesis/images/ipad-icon.png">
<link rel="shortcut icon" href="/genesis/images/newIcon2.ico" type="image/x-icon">
<link href="/genesis/styles/parents.css" rel="stylesheet" type="text/css">
<title>Parents at Montgomery Township School District</title>
<script type="text/javascript">
override func viewDidLoad() {
super.viewDidLoad()
self.view.backgroundColor=UIColor.blackColor()
let attributesDictionary = [
NSFontAttributeName: UIFont(name: "Bebas", size: 25)!,
NSForegroundColorAttributeName: UIColor.whiteColor()]
self.navigationController?.navigationBar.titleTextAttributes = attributesDictionary
var dotenv = require('dotenv');
dotenv.load();
var express = require('express');
var bodyParser = require('body-parser');
var colors = require('colors');
var fs = require('fs');
var os = require('os');
var path = require('path');
var prettyjson = require('prettyjson');
@dzt
dzt / 0.json
Created November 30, 2015 21:14
UWAC API
{
"education": [
{
"id": "1ed1",
"value": "Talk with your school and/or agency supporters about your interests and what you want to study after high school."
},
{
"id": "1ed2",
"value": "Study websites to learn about training, technical school, college programs and classes where you can explore an interest or hobby. Visit at least one of these educational programs."
},
//
// ViewController.swift
// FTP
//
// Created by Peter on 3/19/16.
// Copyright © 2016 FTP. All rights reserved.
//
import UIKit
import Buy
@dzt
dzt / store.json
Last active March 23, 2016 21:33
{
"storeStatus": true,
"closedImage": "http://i.imgur.com/SKsPvmz.jpg?1",
"closedDescription": "Lmao, the store is closed why you here."
}
import UIKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
requestPushes()
@dzt
dzt / android.md
Last active April 23, 2016 02:41
Peter's Android Cheat Sheet

Android Cheat Sheet

Developer tips

Record a video of your app

Developer options -> Check show touches
adb shell screenrecord /sdcard/video.mp4
adb pull /sdcard/video.mp4

Stop Application

rhc app-stop <name space> --namespace <domain>