Reputation
798
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
3 6
Newest
 Nice Answer
Impact
~52k people reached

Aug
24
awarded  Nice Answer
Aug
12
comment Fake online website when offline
Note: some browsers may need an actual http header instead of just "catting" the file (though none of mine did). If you have a browser that doesn't accept/fix this bad behavior, you can use stat to get the file size and use it to printf a proper header.
Aug
10
comment Fake online website when offline
@DanielF I added some inline comments. Let me know if it makes sense, it's probably one of the hackiest hacks I've written. I only wrote it out of necessity because I kept getting browser stalls waiting for one busy resource. I should mention I was using puppy Linux when I wrote it, so some lines may need to be run sudo.
Aug
10
revised Fake online website when offline
Document
Aug
10
answered Fake online website when offline
Mar
12
awarded  Yearling
Jul
31
answered How to batch compress images with Imagemagick or similar command or program in Linux
May
12
comment Pull root image from remote linux
you can use dropbear for ssh or even busybox's nc the same way
Mar
12
awarded  Yearling
Dec
27
comment How to get source code of currently installed Linux or do I even need it?
You are asking the wrong question. You should create a metapackage that will install the prerequisites + your modifications and skip all the problems above while offering your "really cool mods" and not further fracturing the community.
Dec
27
comment Google drive web page halts when loading
You have your notification areas turned off so its hard to tell. Typically this is when you will see "waiting for ..." where ... is some resource that gets miscached in your router or ISP. A typical offender is pagead2.google.com, google-analytics.com or platform.twitter.com or some CDN hosted javascript resource. I hacked together something for myself here: murga-linux.com/puppy/viewtopic.php?t=82639
Aug
14
comment rm -rf return codes
@Nirk, my assumption was that it was simply for debugging, not app inclusion to use the output, if that is the case I could only recommend patching the source (as per my comment in Matt Joyce's answer) since the exit codes provide nothing useful with -f ticked
Aug
14
comment rm -rf return codes
the failure messages you are looking for are in the actual remove file code ...for busybox you could patch git.busybox.net/busybox/tree/libbb/remove_file.c ... for each if (!(flags & FILEUTILS_FORCE)) { add an else{printf("same error message as perror");} I am sure other implementations would be similar, but if not the busybox version could be built on its own and included.
Aug
14
comment rm -rf return codes
@Nirk - that seems utterly useless, logical behavior would be to change "Error" to "Warning" if both -f and -v are passed, but the busybox implementation is the same (easy to patch though)
Aug
14
comment rm -rf return codes
try rm -rfv ... Its called verbose for a reason.
Mar
12
awarded  Yearling
Feb
21
comment Ubuntu environment setting for GUI session (or making the same with terminal)
/etc/profile too
Feb
21
comment Do laptops with the same specs but different sizes have the same performance?
if the resolution is the same, size won't matter
Nov
29
comment How can I fix a computer that is infested with malware and is extremely unresponsive?
I didnt keep a database but yes, it was based on real world usage by a variety of users. It ranged from no noticeable change to over 50% for users that tried out a lot of garbage software. The 10-20% was an estimate of ~1 standard deviation, but feel free to commission a study if you need precise results.
Nov
29
comment How can I fix a computer that is infested with malware and is extremely unresponsive?
a remaster of Puppy linux + fprot and/or clamav is a nice tool to keep on your usb stick. The various antivirus solutions all tend to miss a subset others might find and vice versa and it will tend to fluctuate over time, so running 2 different checks is a good idea... (not actual values - just example) 90% detection + 90% detection ~= 99% detection ... and the law of diminishing returns-> 99% detection + 99% detection from ultra-uber-commercial-AV ~= 99.99%