Skip to content

Instantly share code, notes, and snippets.

View ablakely's full-sized avatar
:atom:
Working from home

Aaron Blakely ablakely

:atom:
Working from home
View GitHub Profile
@ablakely
ablakely / hexchatnp.pl
Last active June 13, 2022 06:22
HexChat Spotify Script
# Spotify-DBus
# Written by Aaron Blakely <aaron@ephasic.org>
# Date: 2/13/2016
# Updated for new HexChat Perl API: 6/05/2019
# Updated for spotify control: 6/22/2022
#
# Usage:
# /np - Prints current track info to current window in /me action.
# /nplink - Prints current track URL into current window.
# /spotify <np|link|play|prev|next|stop> - Controls spotify
@ablakely
ablakely / README.md
Last active September 3, 2022 03:01
thinklight

thinklight

Controls the ThinkLight on IBM/Lenovo ThinkPads

Usage

On

thinklight on

@ablakely
ablakely / i3sensorbar.pl
Created December 27, 2019 04:25
i3status lm-sensor script
#!/usr/bin/perl -w
# cpu temp/fan speed script for i3status
#
# Hardware: Lenovo ThinkPad w520
# Written by Aaron Blakely <aaron@ephasic.org>
# Date: 12/24/2019
# Version: v1.0
#
# Dependencies: lm-sensors
@ablakely
ablakely / README.md
Last active January 25, 2023 18:39
i3wm theme: Vaporwave

i3wm theme: Vaporwave

screenshot


Written by Aaron Blakely

@ablakely
ablakely / .bash_profile
Last active January 8, 2020 23:08
OS X Tiger .bash_profile
# ablakely's .bash_profile
# System: LampG4 (iMac G4)
# OS: 10.4.11
if [ "$TERM" == "rxvt-unicode-256color" ]; then
# hello 2020
export TERM=xterm-color
fi
@ablakely
ablakely / local.bbsndev.automount.plist
Last active February 6, 2020 08:00
Launchd sshfs automount
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple/DTD PLIST 1.0//EN" "http"//www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AbandonProcessGroup</key>
<true/>
<key>Label</key>
<string>local.automount.sshfs</string>
<key>ProgramArguments</key>
<array>
@ablakely
ablakely / README.md
Created February 13, 2020 01:29
hexchat-clear theme

Hexchat Clear Tint Theme

screenshot

@ablakely
ablakely / mac-sysinfo.pl
Last active February 17, 2020 04:47
Mac Sysinfo Perl Script
#!/usr/bin/perl -w
#
# mac-sysinfo.pl: system_profiler parser script - written for IRC bot brag script
#
# Tested hardware/software
# iMac G4 - OS X 10.4.11
# Mac Pro(1,1) - OS X 10.11.6
#
# Written by Aaron Blakely <aaron@ephasic.org>
@ablakely
ablakely / sysinfo.pl
Created February 13, 2020 18:52
Sysinfo for *NIX
#!/usr/bin/perl -w
#
# Copyright (c) 2002, 2003 David Rudie
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
@ablakely
ablakely / ballon.bat
Last active June 18, 2022 07:23
perl scp screengrab script
@echo off
if "%~1"=="" call :printhelp & exit /b 1
setlocal
if "%~2"=="" (set Icon=Information) else (set Icon=%2)
powershell -Command "[void] [System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms'); $objNotifyIcon=New-Object System.Windows.Forms.NotifyIcon; $objNotifyIcon.BalloonTipText='%~1'; $objNotifyIcon.Icon=[system.drawing.systemicons]::%Icon%; $objNotifyIcon.BalloonTipTitle='%~3'; $objNotifyIcon.BalloonTipIcon='None'; $objNotifyIcon.Visible=$True; $objNotifyIcon.ShowBalloonTip(5000);"
endlocal
goto :eof