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 | |
for pkg in `pacman -Qq`; do | |
size=` | |
LC_ALL=C pacman -Qi $pkg | | |
grep '^Installed Size' | | |
awk -F '[[:space:]]+:[[:space:]]+' '{print $2}' | |
` | |
echo "$size - $pkg" | |
done | |
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
<script src="//code.jquery.com/jquery-2.2.1.min.js"></script> | |
<script src="//momentjs.com/downloads/moment.min.js"></script> | |
<script src="//ujafedny.org/assets/bower_components/moment/locale/*.js"></script> <!-- Your preferred locale instead of * --> | |
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet"> | |
<script> | |
var rq = '//mcapi.us/server/status?ip= '; // <---- Your Minecraft server IP here; add &port=<port> if you are using a different port | |
var error = 'unknown'; // of 25565. For instance: https://mcapi.us/server/status?ip=s.nerd.nu&port=25565 | |
var classes = { // more info in https://mcapi.us/ | |
error: "fa-question", | |
false: "fa-times", |