Skip to content

Instantly share code, notes, and snippets.

View laiso's full-sized avatar
☀️

laiso laiso

☀️
View GitHub Profile
@laiso
laiso / XCDFakeCarrier.m
Last active December 31, 2015 05:49 — forked from 0xced/XCDFakeCarrier.m
iPhoneをSAMSUNG製品っぽくするtips http://d.hatena.ne.jp/laiso+iphone/20131213 のやつ
// https://gist.github.com/0xced/3035167
// Copyright (c) 2012-2013 Cédric Luthi / @0xced. All rights reserved.
//
#if TARGET_IPHONE_SIMULATOR
static const char *fakeCarrier = "🇰🇷GALAXY🇰🇷";
#import <objc/runtime.h>
@laiso
laiso / rec_radiko.sh
Last active October 5, 2015 08:38 — forked from saiten/rec_radiko.sh
Radikoを録音したものをPodcast配信してスマートフォンで聴く環境を作った - laiso http://laiso.hatenablog.com/entry/2012/05/24/205547
#!/bin/sh
playerurl=http://radiko.jp/player/swf/player_3.0.0.01.swf
playerfile=./player.swf
keyfile=./authkey.jpg
if [ $# -eq 1 ]; then
channel=$1
output=./$1.flv
rectime=''
@laiso
laiso / tw3.py
Created August 23, 2011 03:07 — forked from yoshiori/tw3.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import time, random, urllib, urllib2, cgi, hmac, hashlib, commands, simplejson
from pit import Pit
class MyTwitter(object):
request_token_url = 'http://twitter.com/oauth/request_token'
>>
Hi,
We apologize, but the only way we will be able to verify ownership of this account is if you reply to this email with an attached color image of your government-issued photo identification confirming your full name and date of birth. Rest assured that we will permanently delete your ID from our servers once we have used it to verify the authenticity of your account.
Please note that we will not be able to process your request unless you send in proper identification. We apologize for any inconvenience this may cause.
Thanks,
<<
#!/usr/bin/python
#-*- encoding:utf-8 -*-
"""
require : simplejson
simplejson - Project Hosting on Google Code http://code.google.com/p/simplejson/
oauthのコンシューマIDとアクセストークンは自分で取得してください
$ python tw_stream.py <抽出ユーザー名>