Skip to content

Instantly share code, notes, and snippets.

View underyx's full-sized avatar
🦊
Yay!

Bence Nagy underyx

🦊
Yay!
View GitHub Profile
#!/usr/bin/env python3
print('testy')
# Translations template for PROJECT.
# Copyright (C) 2014 ORGANIZATION
# This file is distributed under the same license as the PROJECT project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2014.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"

Keybase proof

I hereby claim:

  • I am underyx on github.
  • I am underyx (https://keybase.io/underyx) on keybase.
  • I have a public key whose fingerprint is B07D 23CA 602F 5C5A D147 C2DD E45A 2B0E B35D 2590

To claim this, I am signing this object:

@underyx
underyx / CFGchooser
Last active December 20, 2015 14:29
#include <sourcemod>
public Plugin:myinfo =
{
name = "---",
author = "---",
description = "---",
version = "---",
url = "---"
};
import sys, re
open(sys.argv[2], 'w').write("|".join([re.sub("[/\t].+","",line) for line in open(sys.argv[1]).read().splitlines()]))
# This Python file uses the following encoding: utf8
import sys
import re
def oooParser(filename):
text = [re.sub("[/\t].+","",line) for line in open(filename).read().splitlines()]
return text
def androidWriter(filename,outtext):
outfile = open(filename, 'w')