Controls the ThinkLight on IBM/Lenovo ThinkPads
thinklight on
# 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 |
#!/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's .bash_profile | |
# System: LampG4 (iMac G4) | |
# OS: 10.4.11 | |
if [ "$TERM" == "rxvt-unicode-256color" ]; then | |
# hello 2020 | |
export TERM=xterm-color | |
fi | |
<?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> |
#!/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> |
#!/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. |
@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 |