Skip to content

Instantly share code, notes, and snippets.

import java.util.ArrayList;
import java.util.List;
public class Result {
public String model;
public String systemVersion;
public String ipCarrier;
public String ipAddr;
public String ipLocation;
<integer name="custom_center_horizontal">1</integer>
<integer name="custom_left">3</integer>
<dimen name="custom_gravity">@integer/custom_center_horizontal</dimen>
<dimen name="custom_gravity">@integer/custom_left</dimen>
android:gravity:@dimen/custom_gravity
@zshbleaker
zshbleaker / say.sh
Created January 10, 2016 11:28
say command in OS X
say --voice="Agnes" Isn't it nice to have a computer that will talk to you?
say --voice="Albert" I have a frog in my throat. No, I mean a real frog!
say --voice="Alex" Most people recognize me by my voice.
say --voice="Alice" Salve, mi chiamo Alice e sono una voce italiana.
say --voice="Alva" Hej, jag heter Alva. Jag är en svensk röst.
say --voice="Amelie" Bonjour, je m ’ appelle Amelie. Je suis une voix canadienne.
say --voice="Anna" Hallo, ich heiße Anna und ich bin eine deutsche Stimme.
say --voice="Bad News" The light you see at the end of the tunnel is the headlamp of a fast approaching train.
say --voice="Bahh" Do not pull the wool over my eyes.
say --voice="Bells" Time flies when you are having fun.
@zshbleaker
zshbleaker / emoji.plist
Created November 20, 2015 04:23 — forked from xhacker/emoji.plist
/System/Library/LinguisticData/RequiredAssets_zh.bundle/AssetData/emoji.plist in OS X 10.11 Copyright (C) Apple Inc.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>0</key>
<dict>
<key>emoji</key>
<array>
<string>0⃣️</string>
</array>
@zshbleaker
zshbleaker / misaka.c
Last active August 29, 2015 14:21
misaka
/*[*/#include<stdio.h>//
#include<stdlib.h>//]++++[->++[->+>++++<<]<][(c)2013]
#ifndef e//[o
#include<string.h>//]![misaka.c,size=3808,crc=d0ec3b36][
#define e 0x1//
typedef struct{int d,b,o,P;char*q,*p;}f;int p,q,d,b,_=0//|
#include __FILE__//]>>>[->+>++<<]<[-<<+>>>++<]>>+MISAKA*IMOUTO
#undef e//[->[-<<+<+<+>>>>]<<<<<++[->>+>>>+<<<<<]>+>+++>+++[>]]b
#define e(c)/**/if((_!=__LINE__?(_=__LINE__):0)){c;}//[20002,+[-.+]
,O,i=0,Q=sizeof(f);static f*P;static FILE*t;static const char*o[]={//
@zshbleaker
zshbleaker / NotoEverywhere.css
Last active August 29, 2015 14:13
Make safe fonts displayed in NotoSans, including English and CJK.
@font-face { font-family: Microsoft Yahei; src: local('Noto Sans CJK SC Demilight');}
@font-face { font-family: Microsoft Yahei; src: local('Noto Sans CJK SC Regular'); font-weight: bold;}
@font-face { font-family: Arial; src: local('Noto Sans CJK SC Demilight');}
@font-face { font-family: Arial; src: local('Noto Sans CJK SC Regular'); font-weight: bold;}
@font-face { font-family: Helvetica Neue; src: local('Noto Sans CJK SC Demilight');}
@font-face { font-family: Helvetica Neue; src: local('Noto Sans CJK SC Regular'); font-weight: bold;}
@font-face { font-family: STHeiti; src: local('Noto Sans CJK SC Demilight');}