aly / lookingglass.py

0 likes
0 forks
1 files
Last active 1535433284
A Looking Glass implementation in Python3 and Flask. Vet code for security concerns before deploying, this isn't tested for vulnerabilities in any way
1 #!/usr/bin/env python3
2 from flask import Flask,request,make_response
3 from shlex import quote
4 from subprocess import check_output
5 import socket
6 from requests import post
7
8 app = Flask(__name__)
9
10 @app.route('/')

aly / gmusicplay.py

0 likes
0 forks
1 files
Last active 1522694835
Google Music player in the terminal woopwoop | Individual song playback implemented, album support coming soon?
1 #!/usr/bin/env python3
2 from gmusicapi import Mobileclient
3 import os
4 from json import load
5 import sys
6
7 def mkdir_p(path):
8 import errno
9 try:
10 os.makedirs(path)

aly / Date.ini

0 likes
0 forks
2 files
Last active 1517117780
Life Is Strange Rainmeter skins https://i.imgur.com/VXrhZ8S.jpg https://www.dafont.com/dudu-calligraphy.font https://blues-man.deviantart.com/art/Alright-For-Now-Wallpaper-601396118
1 [Rainmeter]
2 Group=LIS
3 DynamicWindowSize=1
4
5 [Metadata]
6 Name=LIS Date
7 Author=suudo
8 License=CC0
9
10 ;--------

aly / fixagent.sh

0 likes
0 forks
1 files
Last active 1516600162
A script to fix the Battle.Net Agent crashing constantly on OSX with no warning or error. The elevated instance of Agent dies suddenly, leaving the user-level version doing nothing, with the frozen download meter being the only indication to users
1 #!/bin/bash
2 while true; do
3 ps aux | grep Battle.net | grep Agent | grep root >/dev/null
4 if [[ "$?" -eq "1" ]]; then
5 echo "Fixing Agent at "`date +%H:%M:%S`
6 kill -9 `ps aux | grep Battle.net | grep Agent | grep $USER | awk '{print $2}'`
7 fi
8 sleep 5
9 done