Skip to content

Instantly share code, notes, and snippets.

View wakinchan's full-sized avatar
👻
working

Yusuke KUROIWA wakinchan

👻
working
View GitHub Profile
@Sakurina
Sakurina / FCSB.mm
Created October 13, 2010 14:19
five-column springboard.
/*
* Five-Column SpringBoard (FCSB) by Yanik Magnan
* http://r-ch.net/iphone/
Copyright (c) 2008-2009, Yanik Magnan <kirbykirbykirby@gmail.com>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
@r-plus
r-plus / Tweak.xm
Created March 5, 2011 14:58
get active tab URL method of mobilesafari.
@interface UIApplication (SafariActiveURL)
- (id)activeURL;
//maybe return NSString class
@end
//...
id activeURL = [[UIApplication sharedApplication] activeURL];
{
// Delay in ms until autocompletion pops up after . or :: or ->
// Set to 0 to disable
"popup_delay": 100,
// Delay in ms until recompiling the file after the buffer is modified
// Set to 0 to disable
"recompile_delay": 1000,
// Whether or not to hide the clang output panel when it's empty
@kirb
kirb / .htaccess
Last active November 16, 2020 22:39
Self-hosted Cydia repo download counter
# Use the Apache rewrite engine to redirect downloads to our script.
RewriteEngine On
RewriteBase /
RewriteRule ^repo/((Packages|Release)(.*)?)$ /repo/counter.php?filename=$1 [L,QSA]
RewriteRule ^repo/downloads/(.*)\.deb$ /repo/counter.php?filename=$1 [L,QSA]
@kirb
kirb / README.md
Last active October 18, 2022 03:26
Install Theos on Linux

Please don't use this. It's old and didn't really even work in the first place. Just keeping it around for historical value.

@BlackKetchupTea512
BlackKetchupTea512 / sublimetext_default_settings.md
Created September 4, 2012 12:11
Sublime Text 2 のDefault設定ファイルについて

追記

この記事は古いです...。はてなブログの方に完全版を置いてあります。→ http://blue-ham-cake1024.hatenablog.com/entry/2012/09/07/Sublime_Text_2_のDefault設定ファイルを眺める


はてなブログは調子が悪いようなので。

この記事ではDefault設定ファイルにどのような記述がされているか、その記述にどんな意味があるかを一つ一つ見ていきます。実際に設定をカスタマイズしてみたい方は、メニューのPreferencesタブの"Settings - User"からUser設定ファイルを開いてそこでいろいろ試してみましょう。

@r-plus
r-plus / InstaBanner.h
Created November 14, 2012 14:27
libinstabanner header file
@interface InstaBanner : NSObject
// Must necessary argument: bundleidentifier
// If title is nil, automatically set to displayName of bundleidentifier.
+ (void)showBannerWithBundleIdentifier:(NSString *)bundleidentifier title:(NSString *)title message:(NSString *)message;
@end
// Usage
// [InstaBanner showBannerWithBundleIdentifier:[NSBundle mainBundle].bundleIdentifier title:nil message:@"test"];
@r-plus
r-plus / theos_install_kill.patch
Created May 21, 2013 14:29
THEOS_INSTALL_KILL patch.
diff --git a/makefiles/master/tweak.mk b/makefiles/master/tweak.mk
index 9b0025a..eaf67c0 100644
--- a/makefiles/master/tweak.mk
+++ b/makefiles/master/tweak.mk
@@ -4,6 +4,10 @@ ifeq ($(_THEOS_RULES_LOADED),)
include $(THEOS_MAKE_PATH)/rules.mk
endif
+ifeq ($(THEOS_INSTALL_KILL),)
+ THEOS_INSTALL_KILL:=SpringBoard
@d3m3vilurr
d3m3vilurr / feedly_api.md
Last active March 30, 2024 08:21
Unofficial Feedly API Document

IDs

  • user_id - user/:uid
  • feed_id - feed/:feed_uri
  • category_id - :user_id/category/:category (special category: global.all, global.uncategorized)
  • tag_id - :user_id/tag/:tag (special tag: global.saved)

APIs

http://cloud.feedly.com/:version/:api

@chibicode
chibicode / Sublime Textの検索窓に日本語を入力する方法.md
Created July 26, 2014 03:27
Sublime Textの検索窓に日本語を入力する方法

Sublime Textの検索窓に日本語を入力するとEnterを押すなり文字が消えてしまうのですが、無理やり解決する方法を見つけました。ググってもこちらのバグレポートしか見つからなかったので報告です。

わたしの環境はMac OS XのSublime Text 3 (Build 3059)ですが、この解決方法はSublime Text 2 (Build 2220)にも対応しています。Windowsの場合は不明です。

ステップ1: Sublime Text 3の場合のみ: Default (OSX).sublime-keymapを編集可能にする

このステップはSublime Text 3の場合のみ必要です。Sublime Text 2の場合はステップ2に行って下さい。