Skip to content

Instantly share code, notes, and snippets.

View noirscape's full-sized avatar
🎸
I think I can I think I can I think I can I think I can I think I can

noirscape noirscape

🎸
I think I can I think I can I think I can I think I can I think I can
View GitHub Profile

A simple IRC log script

Just wget the file below, set the variables nick,channel and server and run it (config doesn't need to be changed). Output is send to stdout. You probably want to send it to a file. To do so, I recommend one of these structures:

If you don't want to see the output in a terminal:

irclogscript.sh >> logs.txt

If you do want to see the output in a terminal:

@noirscape
noirscape / restructure.sh
Last active September 3, 2016 17:44
Restructure a httrack website
#!/bin/bash
# Restructurer for httrack mirror.
# Also works on wget mirrors that you want to be organized.
read -rp "Enter path to current mirror: " existingmirror
read -rp "Enter path to output directory: " outdir
read -rp 'Add any flags you want to the mirror (usually you will want one of the -N flags). By default, the mirror will add the "--disable-security-limits" and "-A1000000000000" flags to speed up the download, so you cant enter those (script will fail if you do!): ' flags
cd $existingmirror
# If index.html does not exist, then we generate one using tree
if [[ -f index.html ]]; then
@noirscape
noirscape / banner_icon.sh
Last active January 25, 2023 10:18
CIA extraction scripts
#!/bin/bash
# Simple banner creation script
# Created by ev1l0rd
# Requirements: bannertool and a folder called 'banner_input', in which the following files exist: banner.png , icon.png , audio.wav
# banner.png must be 256x128
# icon.png must be 48x48
# audio.wav must be shorter than 3 seconds
# Catching additional input
read -rp "Enter the title of your injection: " title
@noirscape
noirscape / i3-gaps-tumblr
Last active August 13, 2016 14:34 — forked from tjb0607/i3-gaps-tumblr
i3-gaps theme for tumblr - Modified for easier usage
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>{title}</title>
<link rel="shortcut icon" href="{Favicon}">
<link rel="stylesheet" type="text/css" href="http://static.tumblr.com/bwey4ra/4Hynod13t/i3-numix-tumblr.css">
<meta name="viewport" content="width=600px"/>
<!-- Meta editable variables -->
<meta name="text:Lunix username" content="untitled"/>
@noirscape
noirscape / terraria.pol
Last active February 27, 2016 16:26
Terraria - PlayOnLinux
#!/bin/bash
# Date : 2015-11-04
# Last revision : 2015-11-04
# Wine version used : 1.7.47
# Distribution used to test : LUbuntu 15.04
# Author : Ev1l0rd
# Issues : Multiplayer currently broken
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"