Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View Ghabry's full-sized avatar
😜

Gabriel Ghabry

😜
View GitHub Profile
@Ghabry
Ghabry / files.txt
Created July 6, 2020 17:41
RMN All Downloads
#1
#Lexico
https://rpgmaker.net/content/games/1/downloads/lexico-hi.zip
https://rpgmaker.net/content/games/1/downloads/lexico-lo.zip
#2
#Metroid Origins
#4
#Zero's Impossible Fortress
https://rpgmaker.net/content/games/4/downloads/zero_impossible-fortress__.zip
#6
@Ghabry
Ghabry / files.txt
Created July 6, 2020 17:41
RMN All Downloads
#1
#Lexico
https://rpgmaker.net/content/games/1/downloads/lexico-hi.zip
https://rpgmaker.net/content/games/1/downloads/lexico-lo.zip
#2
#Metroid Origins
#4
#Zero's Impossible Fortress
https://rpgmaker.net/content/games/4/downloads/zero_impossible-fortress__.zip
#6
let lp = {
name: 'test',
objective: {
direction: glpk.GLP_MAX,
name: 'r5',
vars: [
{ name: 'D', coef: -1.0 },
{ name: 'D_ext', coef: 1.0 }
]
},
@Ghabry
Ghabry / file.rb
Created February 12, 2019 21:42
easyrpg blog post generator
require "open-uri"
require "json"
j=JSON.parse(open('https://api.github.com/repos/easyrpg/player/issues?milestone=20&state=closed&per_page=100&page=2').read());
jj=JSON.parse(open('https://api.github.com/repos/easyrpg/player/issues?milestone=20&state=closed&per_page=100').read());
j = j + jj
j = j.sort { |x,y| x["number"] <=> y["number"] }
j.each { |x|
x["labels"] = (x["labels"].map { |y| y["name"] }.join("\n"))
}
@Ghabry
Ghabry / diff.diff
Last active June 5, 2018 00:31
xyzimage example
--- xyzcrush.cpp 2018-01-27 02:08:27.431825844 +0100
+++ xyzcrush_new.cpp 2018-01-27 02:03:22.000000000 +0100
@@ -25,6 +25,7 @@
# include <algorithm>
#endif
#include "zopfli/zlib_container.h"
+#include "../../include/xyzimage.h"
# ifdef __MINGW64_VERSION_MAJOR
int _dowildcard = -1; /* enable wildcard expansion for mingw-w64 */
// ==UserScript==
// @name HTML5 Audio for learnrussian.rt.com
// @namespace Replaces flash audio on learnrussian.rt.com with HTML5 audio
// @include http://learnrussian.rt.com/*
// @include https://learnrussian.rt.com/*
// ==/UserScript==
document.querySelectorAll("div[audio]").forEach(function(x) {
var audio = document.createElement("audio");
audio.setAttribute("controls", "");
@Ghabry
Ghabry / Map0100.po
Created June 7, 2017 16:25
RPG_RT Po example
msgid ""
msgstr ""
"Project-Id-Version: GAME_NAME 1.0\n"
"Language-Team: YOUR NAME <mail@your.address>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-CreatedBy: LcfTrans"
@Ghabry
Ghabry / Spieleanalyse
Last active May 24, 2017 16:22
to analyse
1. Ineluki MP3/TastenPatch
In Sound & Musik Dateien mit Endung .link.wav
Theoretisch müssten alle .link.wav-Spiele eine oldharmony.dll enthalten
2.
DynRPG: dynpatch.dll im Hauptverzeichnis
3.
DestinyPatch: Destiny.dll im Hauptverzeichnis
[
{
"file": "005c702a648cd31169f3ba8b67c66e347b27eb80.exe",
"code": "34eb9f7427363ed24a1ecd08265cdc2d5cf8ccaa",
"data": "5f4b48e2b5b0505f339a600911b51d0656ec72fb",
"icon": "b4f12bab7596ef33f67e4bb0ff54e29c0ac8b133",
"exfont": "24d09b52d64124c304d910ed9dfdaa61a7d65a75",
"logo1": "1682bdf82e7eaab53b7e3b6cfd60d5c09449b3b8",
"logo2": "",
"logo3": ""
@Ghabry
Ghabry / csv-to-json.py
Last active March 30, 2017 14:59
fields.csv to json
csv=open("fields.csv", "r")
lines = []
for line in csv:
lines.append(line.strip().split(',', 6))
csv.close()
from itertools import groupby