Skip to content

Instantly share code, notes, and snippets.

__module_name__ = 'flashlight.py'
__module_version__ = '0.0.0'
__module_description__ = 'Flash lights on notify'
__module_author__ = 'Compu'
print '\0034',__module_name__, __module_version__,'has been loaded\003'
import sys
sys.path.append("/home/compu/.config/hexchat/addons")
import lightify
#!/usr/bin/python
#
# Copyright 2014 Mikael Magnusson
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#!/usr/bin/python
#
# Copyright 2014 Mikael Magnusson
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
12:31:20 T:139855212861440 NOTICE: special://profile/ is mapped to: special://masterprofile/
12:31:20 T:139855212861440 NOTICE: -----------------------------------------------------------------------
12:31:20 T:139855212861440 NOTICE: Starting Kodi (16.0 Git:a5f3a99). Platform: Linux x86 64-bit
12:31:20 T:139855212861440 NOTICE: Using Release Kodi x64 build
12:31:20 T:139855212861440 NOTICE: Kodi compiled Feb 20 2016 by GCC 4.8.4 for Linux x86 64-bit version 3.13.11 (199947)
12:31:20 T:139855212861440 NOTICE: Running on Ubuntu 14.04.4 LTS, kernel: Linux x86 64-bit version 3.19.0-51-generic
12:31:20 T:139855212861440 NOTICE: FFmpeg statically linked, version: 2.8.6-kodi-2.8.6-Jarvis-16.0
12:31:20 T:139855212861440 NOTICE: Host CPU: Intel(R) Pentium(R) D CPU 3.00GHz, 2 cores available
12:31:20 T:139855212861440 NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
12:31:20 T:139855212861440 NOTICE: special://xbmcbin/ is mapped to: /usr/lib/kodi
@ask-compu
ask-compu / spoti.py
Last active February 26, 2019 20:36
from __future__ import print_function
import hexchat
import dbus
import re
__module_name__ = 'Spoti.py'
__module_version__ = '0.0.3'
__module_description__ = 'Spotify controller'
__module_author__ = 'Scout @ irc.geekshed.net/codecrew'
@ask-compu
ask-compu / .conkyrc google now pink fixed
Last active January 21, 2017 21:01
Conky Google Now Fixed
# Conky Google Now style #
# Conky settings #
background no
update_interval 1
double_buffer yes
no_buffers yes
# Window specifications #
own_window yes
#!/usr/bin/env python
'''
head.py - Phenny HTTP Metadata Utilities
Copyright 2008, Sean B. Palmer, inamidst.com
Licensed under the Eiffel Forum License 2.
http://inamidst.com/phenny/
Modified by Jordan Kinsley <[email protected]>
'''
from __future__ import print_function
import hexchat
import dbus
import re
__module_name__ = 'Spoti.py'
__module_version__ = '0.0.3'
__module_description__ = 'Spotify controller'
__module_author__ = 'Scout @ irc.geekshed.net/codecrew'
--[[
Simple BigReactors Reactor Control program
Usage:
Reactor producing RF:
bigreactors-control [-s] [turnOn [, turnOff] ]
-s makes the program not print anything to the screen; will automatically enable this option if there is no screen and GPU available
Optional arguments are turnOn and turnOff, allowing you to specify when to turn the reactor on and when to turn it off. Default values are 0.1 and 0.9
If you have turbines connected to the computer and the reactor is in steam-producing mode, it will automatically detect that.
In turbine mode, it will try to keep the turbines at a certain speed.
bigreactors-control [-s] [-b] [desiredSpeed [, acceptedSpeed] ]
@ask-compu
ask-compu / putty.sh
Last active June 18, 2017 16:31
Putty Replacement Script
PS3=$'Welcome to the PuTTY replacement script.\nPick an Option: '
options=("80s Apple II BBS" "Server" "Raspberry Pi" "Quit")
select opt in "${options[@]}"
do
case $opt in
"80s Apple II BBS")
./apple.sh
break
;;
"Server")