This file contains hidden or 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/sh | |
# Usage: | |
# sh /path/to/adjust_brightness.sh [up|down|<an integer between 0-100>] | |
# Requires the change of ownership of the baclight file to the user | |
# Run this once to change the ownership: | |
# "sudo chown $(whoami):$(whoami) /sys/class/backlight/intel_backlight/brightness" |
This file contains hidden or 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/sh | |
# Usage: | |
# ./resize-workspace.sh [expand|shrink] | |
command=$1 | |
vsize=$(dconf read /org/compiz/profiles/unity/plugins/core/vsize) | |
hsize=$(dconf read /org/compiz/profiles/unity/plugins/core/hsize) | |
total=$((hsize * vsize)) |
This file contains hidden or 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/env python | |
# -*- coding: utf-8 -*- | |
# I am using this to monitor my cpu's temperature in the top bar of my os | |
# I have tested the script on Ubuntu 15.10 with Python 2.7.10 | |
# Update: I used to require acpi but then found a simpler way | |
import sys,time,re,commands,os | |
from gi.repository import Gtk, GLib |
This file contains hidden or 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
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>KUSIS GPA Calculator</title> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-1.11.2.min.js"></script> | |
<script type="text/javascript"> | |
var cues = { | |
"Course Description Term Grade Units Status Incl GPA":'Chrome', | |
"Course Description Term Grade Units Status Incl GPA":'Firefox', |