aly / waitfor

0 likes
0 forks
1 files
Last active 1444608553
Script that waits for the specified process to start before returning
1 #!/bin/bash
2 until ps aux | grep -v grep | grep -v "waitfor" | grep "$1" > /dev/null
3 do
4 sleep 0.1
5 done

aly / getplex.py

0 likes
0 forks
1 files
Last active 1443733079
Gets plex streaming urls. Pipe into cast.py (https://gist.github.com/blha303/8b100c205b8c35b3c8ce) for best results. List episodes and movies from plex by omitting titles (i.e getplex.py -m "" or getplex.py -s "Bla")
1 #!/usr/bin/env python2.7
2 # Now with Plex auth support! Check getplex.py -h
3 from __future__ import print_function
4 from plexapi.server import PlexServer
5 from plexapi.myplex import MyPlexUser
6 from plexapi.exceptions import NotFound
7
8 from urlparse import urlparse
9 from getpass import getpass
10 from socket import gethostbyname

aly / config.php

0 likes
0 forks
3 files
Last active 1440822169
Multiple server support for github.com/delan/lookout http://stats.blha303.biz
1 <?php
2 $servers = array("http://stats.home.blha303.biz", "http://stats.web.blha303.biz", "http://stats.ipv6.b303.me", "http://stats.irc.b303.me");

aly / gistfile1.txt

0 likes
0 forks
1 files
Last active 1440822005
netctl config for polytechnic west (australia) wifi (needs student ID and password) | modified https://aur.archlinux.org/packages/netctl-eduroam/
1 Connection='wireless'
2 Interface=wlp2s0 # or your wireless interface name
3 Security='wpa-configsection'
4 Description='tafe'
5 IP='dhcp'
6 TimeoutWPA=30
7 WPAConfigSection=(
8 'ssid="PWAStudent"'
9 'key_mgmt=WPA-EAP'
10 'eap=PEAP'