Skip to content

Instantly share code, notes, and snippets.

Julian Uy uyjulian

View GitHub Profile
View libarchive_port_attempt.diff
diff -burN libarchive-3.4.3.orig/configure.ac libarchive-3.4.3/configure.ac
--- libarchive-3.4.3.orig/configure.ac 2020-05-19 20:09:29.000000000 -0500
+++ libarchive-3.4.3/configure.ac 2020-07-07 01:02:44.173341266 -0500
@@ -284,7 +284,7 @@
[AC_DEFINE_UNQUOTED([HAVE_WORKING_FS_IOC_GETFLAGS], [1],
[Define to 1 if you have a working FS_IOC_GETFLAGS])])
-AC_CHECK_HEADERS([locale.h membership.h paths.h poll.h pthread.h pwd.h])
+AC_CHECK_HEADERS([locale.h membership.h paths.h poll.h pwd.h])
AC_CHECK_HEADERS([readpassphrase.h signal.h spawn.h])
View tp_stub_parse.py
import re
import sys
import json
funcname_match = re.compile('^static char funcname\\[\\] = "(.*)";$')
typedef_match = re.compile('^typedef (.*)\\(__stdcall \\* __functype\\)\\((.*)\\);$')
funccall_match = re.compile('^r?e?t?u?r?n? ?\\(\\(__functype\\)\\((TVPImportFuncPtr.*)\\)\\)\\((.*)\\);$')
outarr = []
View tp_stub_clean.py
import re
import sys
import json
importptr_match = re.compile('^if\\(!TVPImportFuncPtr(.*)\\)$')
externimportptr_match = re.compile('^extern void \\* TVPImportFuncPtr(.*);$')
outarr = []
View tp_stub_cleaned.h
/*
TVP2 ( T Visual Presenter 2 ) A script authoring tool
Copyright (C) 2000-2009 W.Dee <dee@kikyou.info> and contributors
See details of license at "license.txt"
*/
/* This file is always generated by makestub.pl . */
/* Modification by hand will be lost. */
#ifndef __TP_STUB_H__
View tp_stub_parsed.json
[
{
"funcname": "void tTJSVariantString::AddRef()",
"typedef_ret": "void",
"typedef_args": [
"tTJSVariantString *"
],
"funccall_lval": "TVPImportFuncPtr8dc9cef84191f79b38403a2070952fd4",
"funccall_args": [
"this"
View 体験版.ks
@call target=*tladata
*page0|
@clall
@bg time=100 rule=crossfade storage=black
@stopaction
@wait canskip=0 time=2000
@playstop time=0 nowait=1
@sestop time=0 nowait=1
@clall
@se delay=1000 storage=se05088b volume=70 loop=0
View 1-1.ks
*page0|
@bg time=100 rule=crossfade storage=black
@stopaction
@invisibleframe
@clall
@sestop time=0 nowait=1
@playstop time=0 nowait=1
@bg storage=black
@fg storage=ev05b15赤い人(オブジェ) center=935 vcenter=271 index=3000 type=16 zoomx=200 effect=monoff1313 xblur=6
@fg storage=ev青子汎用05私服a(オブジェ_小)a1 center=391 vcenter=301 index=1700 opacity=0 effect=monoffffff xblur=30 yblur=10 zoom=10
View quicknscrsplit.py
import re
import sys
x = re.compile('^\\*s([\\d]*)$')
lns = []
idn = None
View onscripter_list.txt
./onscripter-20050520.tar.gz 20050520 1116555172
./onscripter-20050523.tar.gz 20050523 1116844506
./onscripter-20050524.tar.gz 20050524 1116965978
./onscripter-20050602.tar.gz 20050602 1117712252
./onscripter-20050701.tar.gz 20050701 1120238261
./onscripter-20050716.tar.gz 20050716 1121546664
./onscripter-20050717.tar.gz 20050717 1121639706
./onscripter-20050719.tar.gz 20050719 1121772118
./onscripter-20050818.tar.gz 20050818 1124341403
./onscripter-20050819.tar.gz 20050819 1124457432
View onscripter_repo.txt
^\[(.*?)\]\(https://onscripter.osdn.jp/(.*?)\) (\d*)$
rm -rf x; mkdir x; pushd x; tar -xf ../$2; cp -r */* ../y; popd; pushd y; git add .; git -c commit.gpgsign=false commit -m "ONScripter $1" --author="Ogapee <ogapee@yahoo.kp at aqua.dti2.ne.jp>" --date="$3 +0900"; git rm -r ./*; popd;
You can’t perform that action at this time.