This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dim wsh, enabled, antwort | |
Const PROXY_KEYNAME = "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyEnable" | |
Set wsh = WScript.CreateObject("WScript.Shell") | |
enabled = wsh.RegRead(PROXY_KEYNAME) | |
dialogText = "Die Proxynutzung ist " | |
If enabled = 0 Then | |
dialogText = dialogText & "deaktiviert." & vbCrLf & _ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// autofire.cfg: DosAmp's simple autofire script | |
/// core autofire functionality | |
alias +attack_af "alias do_af af; do_af" | |
alias -attack_af "alias do_af -attack" | |
// adapt "wait 4" for desired fire delay (in frames) | |
alias af "+attack; wait; -attack; wait 4; do_af" | |
/// autofire toggle switch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# /etc/cron.hourly/boinc-update: forces all BOINC projects to update regularly | |
RPC_AUTH_FILE=/var/lib/boinc-client/gui_rpc_auth.cfg | |
# sometimes: RPC_AUTH_FILE=/var/lib/boinc/gui_rpc_auth.cfg | |
# in Debian: RPC_AUTH_FILE=/etc/boinc-client/gui_rpc_auth.cfg | |
RPC_AUTH= | |
if [ -r $RPC_AUTH_FILE ] && [ -s $RPC_AUTH_FILE ]; then | |
RPC_AUTH=`cat $RPC_AUTH_FILE` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <windows.h> | |
#define MC_LAUNCHER_WINDOW_TITLE L"Minecraft Launcher" | |
#define MC_GAME_WINDOW_TITLE L"Minecraft" | |
#define TARGET_WIDTH 432 | |
#define TARGET_HEIGHT 240 | |
// method by Guy Lecky-Thompson | |
// http://www.suite101.com/content/client-area-size-with-movewindow-a17846 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cetz() { | |
LANG=C | |
# current year | |
YEAR=`date +%Y` | |
# current time stamp | |
NOW=`date +%s` | |
# transition day for Central European Summer Time | |
LAST_SUNDAY_OF_MARCH=`cal 3 $YEAR | sed '/^$/d' | tail -n 1 | cut -d ' ' -f 1` | |
# transition day for Central European Time |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set username=DosAmp | |
cd /D %appdata%\.minecraft | |
start javaw -Xms512m -Xmx1024m -cp bin/lwjgl.jar;bin/lwjgl_util.jar;bin/jinput.jar;bin/minecraft.jar -Djava.library.path="%appdata%\.minecraft\bin\natives" net.minecraft.client.Minecraft "%username%" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <errno.h> | |
/* pop culture test case: | |
./unhtml "Gangnam+Style+(%EA%B0%95%EB%82%A8%EC%8A%A4%ED%83%80%EC%9D%BC).mp4" | |
*/ | |
/* fix Windows macros */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <ctype.h> | |
#include <windows.h> | |
#include <tchar.h> | |
#if defined(_UNICODE) && !defined(UNICODE) | |
#define UNICODE | |
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$gpgid = "DEADBEEF" # recipient ID (hex/email) | |
# add full path to binaries if needed | |
$gpgcommand = "gpg2" | |
$7zcommand = "7z" | |
foreach ($file in $args) { | |
$source = Get-Item -ErrorAction:SilentlyContinue $file | |
if ($source) { | |
if (-not $source.PSIsContainer) { | |
# file encryption/decryption |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import fileinput | |
import re | |
import http.client | |
import html.parser | |
URI_PREFIX = '/store/apps/details?id=' | |
REGEXP_JAVA_PACKAGE = r"(?P<pkg>([a-z_][a-z0-9_]*(\.[a-z_][a-z0-9_]*)*))$" | |
REGEXP_PACKAGE_LIST = r"package:(?P<path>/.*\.apk)=" + REGEXP_JAVA_PACKAGE | |
#REQUEST_HEADERS = {'Accept-Language': 'en'} |
OlderNewer