Skip to content

Instantly share code, notes, and snippets.

@efonte
efonte / script.py
Created October 18, 2019 17:57
Disco Elysium texts
import re
strings = set()
with open('texts.txt', mode='r', encoding='utf-8') as file_input:
content = file_input.read()
regExStr = r'^\s*\d string title = "(?:tooltip\d+|Name|Dialogue Text)"\n\s*\d string value = "((?!(START|input|\w+\(\)|\!\(\w+\(\)\))).+)"$'
compiled = re.compile(regExStr, re.MULTILINE)
matched = compiled.finditer(content)
@efonte
efonte / 0-SystemConfiguration.ps1
Last active June 25, 2018 12:43
Windows 10 Post-Install Boxstarter Script
#The command to run, built from the raw link of this gist
#START http://boxstarter.org/package/url?https://gist.github.com/F0NT3/7aed5a5f92bb65091548b3623b0b5d17/raw/51b8fdd0a8ad8bfdbae47dbe036bff16b1a795d4/0-SystemConfiguration.ps1
#########################################
# Set Execution Policy #
#########################################
# Boxstarter options
$Boxstarter.RebootOk=$true # Allow reboots?
$Boxstarter.NoPassword=$false # Is this a machine with no login password?
@efonte
efonte / prueba
Last active March 12, 2018 14:25
[Unit]
Description=The WildFly Application Server
After=syslog.target network.target
Before=nginx.service
[Service]
Environment=LAUNCH_JBOSS_IN_BACKGROUND=1
EnvironmentFile=/etc/default/wildfly
User=wildfly
LimitNOFILE=102642

cat

For pupil: all binary can be downloaded http://pan.baidu.com/s/1hqH2Pko

For programmer:

VERSION PLATFORM OFFSET ORIGINAL CRACKED
3086 Linux x64 0xd763 85 39
3086 Linux x86 0xd192 85 39
// ==UserScript==
// @name Redirector
// @namespace http://userscripts.org/users/colt365
// @description Redirect on some sites
// @include http://share-links.biz/*
// @include http://*yufan520.com/*
// @include http://*yunfile.com/*
// @include http://9ez.me/*
// @include http://article.woshao.com/*
// @include http://*.rapeit.net*