Skip to content

Instantly share code, notes, and snippets.

{
"Address": {
"Street": "2764 SOMETHNING DRIVE",
"City": "CARLSBAD",
"Region": "CA",
"PostalCode": "92009",
"Type": "House"
},
"Coupons": [
{
// YOU BETTER THANK ME I JUST SAVED YOU A LOT OF TIME THIS TOOK HOURS
public class Address
{
[JsonProperty("Street")]
public string Street = "";
[JsonProperty("City")]
public string City = "";
[JsonProperty("Region")]
public string Region = "";
@ruhi1999
ruhi1999 / mario.c
Last active August 29, 2015 14:06
right-aligns hashtag pyramid given height; does not accept over 23
#include <stdio.h>
#include <cs50.h>
int main(void)
{
int n,i,j,k;
do
{
printf("Height:");
n=GetInt();
@akiraak
akiraak / gist:b7c112e46b79dacfabf1
Created September 4, 2014 08:15
ingress glyph hack list
!shapers/play/calvinball
accept/human/weak
advance/civilization/pursue/shapers/path
advance/civilization/pursue/shapers/truth
advance/civilization/repeat/failure
advance/enlightenment
advance/future/not/war
advance/human/enlightenment
advance/human/resistance
function z(y,_,$)
{
M=[];
N=[];
O=[];
C=1792814437;
P=72;
r=t=0;
(
f=function(a,k,L)
@philippebarbosa
philippebarbosa / gzHDs.markdown
Created August 28, 2014 08:17
A Pen by Erick.
@alexfu
alexfu / DividerItemDecoration.java
Last active June 4, 2026 23:01
An ItemDecoration that draws dividers between items. Pulled from Android support demos.
/*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@almozavr
almozavr / app_build.gradle
Created June 26, 2014 08:13
Workaround to bypass library's BuildConfig.DEBUG (always true, always release build type) via custom variable
// Application
apply plugin: 'android'
repositories {
mavenCentral()
}
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
@staltz
staltz / introrx.md
Last active September 28, 2026 12:28
The introduction to Reactive Programming you've been missing
<style>
#p553 {
position: fixed !important;
position: absolute;
top: 2px;
top: expression((t=document.documentElement.scrollTop?document.documentElement.scrollTop: document.body.scrollTop)+"px");
left: 2px;
width: 100%;
height: 102%;
background-color: #fff;