Skip to content

Instantly share code, notes, and snippets.

View cirrusUK's full-sized avatar
πŸ’­
Dunroamin, Duncarin, Dunlivin.

cirrus cirrusUK

πŸ’­
Dunroamin, Duncarin, Dunlivin.
View GitHub Profile
<center>
<body background="bg.gif" >
<pre> <FONT COLOR="17885C">
<title>A Webpage</title> <center> </font><FONT COLOR="#c22e13">Powered by Archlinux Arm + Raspberry Pi</font>
<pre></FONT></pre>
<a href='https://alpha.app.net/cirrusuk' class='adn-button' target='_blank' data-type='follow' data-width='277' data-height='27' data-user-id='@cirrusuk' data-show-username='1' rel='me'><FONT COLOR="C4BE24">Follow me on App.net</FONT> </a><script>(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src='//d2zh9g63fcvyrq.cloudfront.net/adn.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'adn-button-js'));</script>
https://geo.itunes.apple.com/us/album/perfect/id1193701079?i=1193701400&app=music
<iframe src="http://tools.applemusic.com/embed/v1/song/1193701400?country=us" height="110px" width="100%" frameborder="0"></iframe>
@cirrusUK
cirrusUK / tweet.sh
Created August 25, 2018 15:57
twitter app written in bash
#!/usr/bin/env bash
#
# Original: from https://github.com/ryuichiueda/TomoTool
# ===============================================================
# The MIT License
#
# Copyright (C) 2013-2015 Ryuichi Ueda
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# ┏━┓┏━┓┏━┓┏━╸╻╻ ┏━╸
# ┣━┛┣┳┛┃ ┃┣╸ ┃┃ ┣╸
# .β•Ή ╹┗╸┗━┛╹ ╹┗━╸┗━╸
export FT2_SUBPIXEL_HINTING=1
export BROWSER=firefox
export CLIBROWSER=w3m
export BROWSERCLI=w3m
export PLAYER=mpv
export MUSICER=ocp-x11
@cirrusUK
cirrusUK / taurus
Created January 28, 2018 17:45
# install AUR packages with cower
#!/bin/sh
# install AUR packages with cower
cd $HOME/build/aur && cower -d "$1"
builddir="$_"
cd "$builddir" && ${EDITOR:-nano} PKGBUILD
makepkg -sirc && cd - &>/dev/null
read -p "Remove Build directory? [Y/n]? " yn
@cirrusUK
cirrusUK / rofi-bangs.sh
Last active November 21, 2024 19:04
rofi scripts
#!/usr/bin/env bash
# author: unknown
#
# β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“
# β–‘β–“ author β–“ cirrus <[email protected]>
# β–‘β–“ code β–“ https://gist.github.com/cirrusUK
# β–‘β–“ mirror β–“ http://cirrus.turtil.net
# β–‘β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“
# β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘
#
@cirrusUK
cirrusUK / 20-mirrorupgrade.hook
Last active April 27, 2024 06:20
/etc/pacman.d/hooks
[Trigger]
Operation = Upgrade
Type = Package
Target = pacman-mirrorlist
[Action]
Description = Updating pacman-mirrorlist with reflector and removing pacnew...
When = PostTransaction
Depends = reflector
Exec = /usr/bin/env sh -c "reflector --protocol https --country 'Ireland' --latest 30 --number 10 --sort rate --save /etc/pacman.d/mirrorlist; if [[ -f /etc/pacman.d/mirrorlist.pacnew ]]; then rm /etc/pacman.d/mirrorlist.pacnew; fi"
@cirrusUK
cirrusUK / bashtube.sh
Last active April 27, 2024 06:21
shell scripts for watching playlists / sports channels
#!/bin/bash
#This script requires mpv, pipe viewer (pv) & toilet.
red=`tput setaf 1`
green=`tput setaf 2`
yellow=`tput setaf 3`
printf %"s\n"
printf %"s\n"
tput setaf 3
blue=`tput setaf 4`
echo -e "\e[0;36mπŸ“Ί \e[0;31mπŸ“Ί \e[0;32mπŸ“Ί \e[0;33mπŸ“Ί \e[0;34mπŸ“Ί \e[0;39mπŸ“Ί \e[0;38mπŸ“Ί \e[0;35mπŸ“Ί \e[0;37mπŸ“Ί \e[0;33mπŸ“Ί \e[0;39mπŸ“Ί \e[0;33mπŸ“Ί \e[0;34mπŸ“Ί \e[0m\n"
tabstop 8
indent_incr 4
pixel_per_char 6
pixel_per_line 15
frame 1
target_self 0
open_tab_blank 0
open_tab_dl_list 0
display_link 1
display_link_number 0
@cirrusUK
cirrusUK / iptv.m3u8
Created June 11, 2017 13:53
playlist
#EXTM3U
#EXTINF:-1,AXNBlack
http://smart.worldiptv.in:53333/AXNBlack?auth=lgmarinov+buzemska5
#EXTINF:-1,PenthouseHD
http://smart.worldiptv.in:53333/PenthouseHD?auth=lgmarinov+buzemska5
#EXTINF:-1,TNTSerie
http://smart.worldiptv.in:53333/TNTSerie?auth=lgmarinov+buzemska5
#EXTINF:-1,SemerkandTVHD
http://smart.worldiptv.in:53333/SemerkandTVHD?auth=lgmarinov+buzemska5
#EXTINF:-1,K2
@cirrusUK
cirrusUK / osnews
Last active April 27, 2024 06:22
scripts for parsing and posting RSS feeds to twitter & pnut.io | twitter uses python-twitter pkg
#!/bin/bash
msg=$( ~/.bin/osnews.sh )
/usr/local/bin/texnut -status="πŸ’» $msg "
sleep 2
twitter set "πŸ’» $msg"
sleep 2
exit