Discover gists
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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"> | |
<array> | |
<dict> | |
<key>AudioList</key> | |
<array> | |
<dict> | |
<key>AudioBitrate</key> | |
<string>160</string> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/zsh | |
readonly TMP="$(mktemp /tmp/areavision.XXXXXX)" | |
curl --location-trusted -k --silent "http://arenavision.in/schedule" --output "${TMP}" | |
function schedule() { | |
awk -v RS='</tr>' -v F='<td>' '{gsub(/<[^<>]*>/,"");print $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14}' "${TMP}" | |
} | |
function play() { | |
/usr/local/bin/ace.sh "$(xmllint http://arenavision.in/av"$1" --html --xpath "string(//p[@class='auto-style1']/a/@href)" 2> /dev/null)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import url(https://fonts.googleapis.com/css?family=Raleway:200,400,600); | |
body, html { background: #191919; margin:0; } | |
html { font: 14px/1.4 Raleway, 'Helvetica Neue', Helvetica, sans-serif; color: #cb4b16; font-weight: 400; } | |
h2 { font-weight: 200; font-size: 45px; margin: 20px 35px; } | |
div.list { background: #111; padding: 20px 35px; } | |
div.foot { color: #777; margin-top: 15px; padding: 20px 35px; } | |
td { padding: 0 20px; line-height: 21px; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Draw a triangle on Windows using OpenGL 1.1 | |
// $ gcc -mwindows -o triangle triangle.c -lopengl32 | |
// This is free and unencumbered software released into the public domain. | |
#define WIN32_LEAN_AND_MEAN | |
#include <windows.h> | |
#include <GL/gl.h> | |
#define countof(a) (int)(sizeof(a) / (sizeof(*(a)))) | |
static LRESULT CALLBACK handler(HWND h, UINT msg, WPARAM wparam, LPARAM lparam) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<!-- /etc/fonts/fonts.conf file to configure system font access --> | |
<fontconfig> | |
<!-- | |
DO NOT EDIT THIS FILE. | |
IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED. | |
LOCAL CHANGES BELONG IN 'local.conf'. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# script to show gmail inbox notifications | |
# ------------------------------------------------------------------------------# | |
# 1. Edit Line 12: USERNAME:PASSWORD@mail.google.com/mail/feed/atom \ # | |
# 2. Choose which notification you would like by commenting out line 15 or 16 # | |
# 3. Edit icon path & Download Gmail icon: https://transfer.sh/RXLDF/gmail2.png # # | |
# 4. Include it into user crontab table with crontab -e # | |
# I.E */15 * * * * /home/user/.scripts/gmail-notify.sh # every 15 minutes # | |
# # | |
# ------------------------------------------------------------------------------# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
msg=$( ~/.bin/osnews.sh ) | |
/usr/local/bin/texnut -status="💻 $msg " | |
sleep 2 | |
twitter set "💻 $msg" | |
sleep 2 | |
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" |
NewerOlder