Skip to content

Instantly share code, notes, and snippets.

@devbug
devbug / Korean.isl
Created March 12, 2021 07:08
[임시] Korean.isl for Inno Setup 6.1.x
; *** Inno Setup version 6.1.0+ Korean messages ***
;
; ▒ 6.0.3+ Translator: SungDong Kim (acroedit@gmail.com)
; ▒ 5.5.3+ Translator: Domddol (domddol@gmail.com)
; ▒ Translation date: MAR 04, 2014
; ▒ Contributors: Hansoo KIM (iryna7@gmail.com), Woong-Jae An (a183393@hanmail.net)
; ▒ Storage: http://www.jrsoftware.org/files/istrans/
; ▒ 이 번역은 새로운 한국어 맞춤법 규칙을 준수합니다.
; Note: When translating this text, do not add periods (.) to the end of
; messages that didn't have them already, because on those messages Inno
@devbug
devbug / PRODUCE48_myPicksOnly.js
Last active July 28, 2018 00:21
Mnet PRODUCE48 홈페이지에 소소하게 '내 픽만 보기' 추가 (개발자 콘솔에 붙여넣기 ㄱㄱ)
myPicksOnly = function() {
var isMyPicksOnly = $('#myPick').is(":checked") || false;
if (!isMyPicksOnly) {
$('.sorting a.selected').click();
return;
}
var html = '';
picks = $('.tranieeList li.selected');
if (picks.length > 0) {
@devbug
devbug / offsets.c
Last active December 19, 2016 05:11 — forked from uroboro/offsets.c
Proper Indentation
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <sys/utsname.h>
#include "offsets.h"
// offsets from the main kernel 0xfeedfacf
uint64_t allproc_offset;
uint64_t kernproc_offset;
@devbug
devbug / backup_deb.sh
Created July 6, 2015 15:37
Back up deb file from installed package
#!/usr/bin/env bash
#ref: http://www.jailbreakqa.com/questions/117086/create-deb-from-installed-package-no-longer-available-in-cydia
package="$1"
if [ ! "$package" ]
then
echo "Usage: $0 package"
exit 1
@devbug
devbug / sysent.h
Created July 3, 2015 18:00
iOS sysent structures
typedef int32_t sy_call_t(struct extern_proc *, void *, int *);
typedef void sy_munge_t(const void *, void *);
//https://github.com/de7ec7ed/vertigo_applications/blob/493e4c6472fea33432d8f8c3a6819119e26c16f8/ios/krnldr/inc/kern.h
struct sysent50 { // system call table
int16_t sy_narg; // number of args
int8_t sy_resv; // reserved
int8_t sy_flags; // flags
sy_call_t *sy_call; // implementing function
sy_munge_t *sy_arg_munge32; // system call arguments munger for 32-bit process
@devbug
devbug / CCTogglesAgent.xm
Created November 25, 2014 19:05
app activation with bypassing passcode lock on iOS 7.x (CCToggles)
// ...
- (SBWorkspace *)sbWorkspace {
return g_sbWorkspace;
}
- (BOOL)launchApplication:(NSString *)identifier {
return [self launchApplication:identifier url:nil];
}
@devbug
devbug / crash001.md
Last active August 29, 2015 14:05
트윅으로 인한 크래쉬 발생 시 대처

트윅으로 인한 크래쉬 발생 시 대처

이 문서는 트윅으로 인한 크래쉬만 다룹니다.
내부 파일 변경 시 발생하는 무한 사과 등에 대해서는 다루지 않습니다.

만약 내부 파일 변경으로 인해 시스템이 멈췄으면 다 포기하고 아무 생각없이 DFU를 하시면 됩니다.
So easy.

@devbug
devbug / Tweak.xm
Created August 7, 2014 06:49
MSHookInterface example with THEOS
#import <UIKit/UIKit.h>
#import <substrate.h>
/**
*
* Aug 7 15:46:09 deVbugs-i5 SpringBoard[12620] <Warning>: @@@@@@@@@@@ <SpringBoard: 0x156d4330>!!!!!!!!!!!!!!!!!!!
*
@devbug
devbug / Makefile
Created July 29, 2014 04:27
StupidHanaNBank
include theos/makefiles/common.mk
TWEAK_NAME = StupidHanaNBank
StupidHanaNBank_FILES = Tweak.xm
StupidHanaNBank_FRAMEWORKS = Security
include $(THEOS_MAKE_PATH)/tweak.mk
after-install::
install.exec "killall -9 HanaNBank"