Skip to content

Instantly share code, notes, and snippets.

View arran4's full-sized avatar

Arran Ubels arran4

View GitHub Profile
@arran4
arran4 / gist:5713541
Created June 5, 2013 12:30
Do I want to? I do gain disk space from it...
arran@arran-lenovo 3334% sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
arran@JungSooRi 6713% ./script.sh
Creating file system
Generating mysql dump
real 0m15.524s
user 0m14.769s
sys 0m0.280s
Generating tar
tar: Removing leading `/' from member names
@arran4
arran4 / dcgui
Created June 9, 2013 01:02
Some of my /tmp working scripts from 04.
#!/bin/bash
#cvs updater of dcgui 0.3.0 cvs release
cd /tmp
rm -rf dclib dcgui
cvs -z3 -d:pserver:anonymous@cvs.dcgui.berlios.de:/cvsroot/dcgui co -r dc-0_3_0 dclib
cvs -z3 -d:pserver:anonymous@cvs.dcgui.berlios.de:/cvsroot/dcgui co -r dc-0_3_0 dcgui
cd dclib
export WANT_AUTOCONF_2_5=1
@arran4
arran4 / gist:5737211
Created June 9, 2013 01:18
Some computer "stats" script I found. It COULD be mine from high school...
#!/usr/bin/perl -w
print compstats();
print "\n";
sub cpustats
{
my (@cpuinfo, $processors, $output, @linesplit);
$processors = 0;
$output = "";
@arran4
arran4 / gist:5737469
Created June 9, 2013 03:11
It isn't really. It's just old.
arran@arran-lenovo 4998% ls -l bestuptime
-r--r--r-- 1 arran arran 71 Jun 1 2004 bestuptime
/home/arran/Dropbox/backups/2006-06-04/backup
arran@arran-lenovo 4999% cat bestuptime
17:28:57 up 94 days, 4:54, 3 users, load average: 1.05, 1.04, 1.06
│ Required firmware files may be missing │
│ │
│ This system is currently running Linux 2.6.32-5-amd64 and you are installing Linux 3.2.0-4-amd64. In the new version some of the drivers │
│ used on this system may require additional firmware files: │
│ │
│ radeon: radeon/R520_cp.bin, radeon/RS600_cp.bin, radeon/RS690_cp.bin, radeon/R420_cp.bin, radeon/R300_cp.bin, radeon/R200_cp.bin, │
│ radeon/R100_cp.bin, radeon/RV710_me.bin, radeon/RV710_pfp.bin, radeon/RV730_me.bin, radeon/RV730_pfp.bin, radeon/RV770_me
@arran4
arran4 / steam
Created June 11, 2013 11:30
Wasn't expecting that to be that easy...
arran@arran-lenovo 5966% sudo pacman -S steam
[sudo] password for arran:
resolving dependencies...
looking for inter-conflicts...
Packages (2): zenity-3.8.0-1 steam-1.0.0.39-2
Total Download Size: 5.54 MiB
Total Installed Size: 9.83 MiB
/home/arran
arran@JungSooRi 6944% sudo hdparm -I /dev/sda
/dev/sda:
ATA device, with non-removable media
Model Number: ST31500341AS
Serial Number: 9VS1HHCN
Firmware Revision: CC1H
Transport: Serial
/home/arran
arran@arran-lenovo 6026% telnet homeemail.arran4.com 25
Trying 27.54.88.34...
Connected to homeemail.arran4.com.
Escape character is '^]'.
220-webcloud48.au.syrahost.com ESMTP Exim 4.80.1 #2 Sat, 15 Jun 2013 11:52:59 +0800
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
helo arran4.homeip.net
250 webcloud48.au.syrahost.com Hello cpe-120-149-56-174.oirx3.vic.bigpond.net.au [120.149.56.174]
arran@JungSooRi 6971% sudo apt-get install fusionforge-min
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package fusionforge-min
/home/arran/public_html/sevzi/pixra
arran@JungSooRi 6972% sudo apt-get install fusionforge-minimal
Reading package lists... Done
Building dependency tree
Reading state information... Done