This configuration is not maintained anymore. You should think twice before using it, Breaking change and security issue will likely eventually happens as any abandonned project.
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
/* BIN2ISO (C) 2000 by DeXT | |
This is a very simple utility to convert a BIN image | |
(either RAW/2352 or Mode2/2336 format) to standard ISO format (2048 b/s). | |
Structure of images are as follows: | |
Mode 1 (2352): Sync (12), Address (3), Mode (1), Data (2048), ECC (288) | |
Mode 2 (2352): Sync (12), Address (3), Mode (1), Subheader (8), Data (2048), ECC (280) | |
Mode 2 (2336): Subheader (8), Data (2048), ECC (280) | |
Mode 2 / 2336 is the same as Mode 2 / 2352 but without header (sync+addr+mode) |
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
Add-Type -AssemblyName System.Windows.Forms | |
while ($true) | |
{ | |
$Pos = [System.Windows.Forms.Cursor]::Position | |
$x = ($pos.X % 500) + 1 | |
$y = ($pos.Y % 500) + 1 | |
[System.Windows.Forms.Cursor]::Position = New-Object System.Drawing.Point($x, $y) | |
Start-Sleep -Seconds 10 | |
} |
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/bash | |
#no PATH, no way to accidently run any programs | |
PATH='' | |
#useful variables | |
term_height=0 | |
term_width=0 | |
term_scroll_height=0 | |
status_line_row=0 |
As seen here: http://blog.z3bra.org/2014/01/images-in-terminal.html
Install packages w3m and some terminal emulator which supports images (urxvt, terminator, termite).
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
if [[ -z "$TMUX" ]] && [ "$SSH_CONNECTION" != "" ]; then | |
tmux attach-session -t "$USER" || tmux new-session -s "$USER" | |
fi |
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
# /secure passphrase A-PASSWORD | |
# ---- Defaults ---- | |
/set irc.server_default.username "tracphil" | |
/set irc.server_default.nicks "tracphil, tracphil_" | |
/set irc.server_default.sasl_mechanism dh-blowfish | |
# ---- IRC Servers ---- | |
# Nick and auth settings for freenode | |
/server add freenode chat.freenode.net |
Calibre is a powerful cross-platform, open source, ebook manager and editing platform. Its calibre-server component can be used to publish an e-book library on a local network. While you can launch calibre-server as a desktop application, it can also be run as a daemon on a headless Linux server.
This tutorial on setting up calibre-server using Ubuntu 14.04 is very good, but dated.
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/bash -x | |
# https://gbatemp.net/download/batch-cia-3ds-decryptor.35098/ | |
# adapted from the .bat file in this zip | |
# requires wine | |
# intended for e.g Homebrew.Game.Title/asdf.rar, produces Homebrew.Game.Title.3ds as decrypted output | |
_PWD=$(pwd) | |
DECRYPTPATH=/root | |
cd "$1" | |
unrar -o+ x $(find . -name *.rar | head -n1) | |
echo | wine $DECRYPTPATH/decrypt.exe *.3ds |
OlderNewer