This file contains hidden or 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
{ | |
"config_version": 0, | |
"min_enabled_build": 0, | |
"min_supported_build": 0, | |
"latest_prod_build": 0, | |
"urls":{ | |
"layserbeam":"https://layserbeam-cached.8bleacherreport.com/", | |
"api": "https://api.8bleacherreport.com/api/", | |
"push": "https://push.8bleacherreport.com/", | |
"data_turner": "https://data.t.8bleacherreport.com/", |
This file contains hidden or 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
import UIKit | |
@UIApplicationMain | |
class AppDelegate: UIResponder, UIApplicationDelegate { | |
var window: UIWindow? | |
var overlayWindow = UIWindow() | |
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { |
This file contains hidden or 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
struct Token { | |
var value: String | |
} | |
struct Credential { | |
var username: String | |
var password: String | |
} | |
enum Result<Value> { |
This file contains hidden or 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
{"success": 1, "results": [{"Skus": [{"PskuId": "1", "Price": "170.00", "Upc": "8053672000481", "Scene7ImageId": "luxottica_raybansun_0RB3025_yellow", "SearchColors": ["Blue"], "BuyNowURL": "http://www.ray-ban.com/usa/sunglasses/virtual-try-on/8053672000481", "TempleColorName": "Gold", "FrontColorName": "Gold", "LensColorName": "Blue Flash", "StandardInStock": "4090", "IsVTOCapable": "1", "StyleSortOrder": "3", "StyleMemberSortOrder": "1", "ManifestPath": "Ray-Ban~AviatorLargeRB3025-HASH-0/8053672000481", "GlassesUPC": "8053672000481", "SKU": "0RB3025 58 112/17", "LensTech": null, "LensOption": null, "TempleWidth": "135", "BridgeWidth": "14", "LensWidth": "58", "LensHeight": null, "FrameFit": null, "SpringHinge": null, "SearchMaterials": ["Metal"], "MaterialName": "Metal"}, {"PskuId": "2", "Price": "170.00", "Upc": "8053672000511", "Scene7ImageId": "luxottica_raybansun_0RB3025_grey", "SearchColors": ["Yellow", "Yellow"], "BuyNowURL": "http://www.ray-ban.com/usa/sunglasses/virtual-try-on/8053672000511", "Templ |
This file contains hidden or 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
{"success": 1, "results": [{"Skus":[{"PskuId":"1", "Price":"170.00", "Upc":"8053672000481", "Scene7ImageId":"luxottica_raybansun_0RB3025_yellow}", "SearchColors":["Blue"], "BuyNowURL":"http://www.ray-ban.com/usa/sunglasses/virtual-try-on/8053672000481", "TempleColorName":"Gold", "FrontColorName":"Gold", "LensColorName":"Blue Flash", "StandardInStock":"4090", "IsVTOCapable":"1", "StyleSortOrder":"3", "StyleMemberSortOrder":"1", "ManifestPath":"Ray-Ban~AviatorLargeRB3025-HASH-0/8053672000481", "GlassesUPC":"8053672000481", "SKU":"0RB3025 58 112/17", "LensTech":null, "LensOption":null, "TempleWidth":"135", "BridgeWidth":"14", "LensWidth":"58", "LensHeight":null, "FrameFit":null, "SpringHinge":null, "SearchMaterials":["Metal"], "MaterialName":"Metal"}, {"PskuId":"2", "Price":"170.00", "Upc":"8053672000511", "Scene7ImageId":"luxottica_raybansun_0RB3025_grey}", "SearchColors":["Yellow", "Yellow"], "BuyNowURL":"http://www.ray-ban.com/usa/sunglasses/virtual-try-on/8053672000511", "TempleColorName":"Gold", "FrontColor |
This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or 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
#include <iostream> | |
int simulatedrop(int slot, int printslots) | |
{ | |
float location = slot; | |
for (int i = 0; i < 12; i++) { | |
int random = rand() % 10; | |
if (random < 5){ | |
location -= 0.5; | |
} |
This file contains hidden or 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
#include <stdio.h> | |
#include <time.h> | |
int main(int argc, const char * argv[]) | |
{ | |
time_t now; | |
time(&now); | |
printf("%s", ctime(&now)); | |
for (unsigned long i = 1; i < 16000000000000; i++) { |
This file contains hidden or 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
<snippet> | |
<content><![CDATA[ | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>${1:Your awesome title here...}</title> | |
<link rel="stylesheet" href="css/style.css"> | |
<!--[if IE]> | |
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> |
NewerOlder