Author Archive for imp

10
Feb

Limiting apt-get download speed

create file /etc/apt/apt.conf.d/76download with content:

Acquire
{
Queue-mode "access";
http
{
Dl-Limit "25";
};
};

That limits apt-get to 25KB/s

06
Apr

GIMP corner shadows

To achieve that “bent paper shadow” look, follow this short tutorial.

Make a new image with white background, size 600×600px

Make two transparent layers

Make a 400×400px square at position x=100 y=100 (ie. centered)

Save selection to path

At “New Layer” fill that selection with black, on “New Layer#1″ with white

Deselect

Select “New Layer”

Motion Blur, Zoom, Blur Center x=300 y=300, Length 10

Lens distortion, Edge -30, Zoom -5

Gaussian blur 5px to 7px

Selection from path

Rounded rectangle Radius 100%

Grow 20px

Feather 40px

Delete

Selection from path

Delete

Opacity 50%

Voila!

28
Dec

Fellow geeks, help needed

I need s p a m, as much as possible, sent to office@paste.rs
If you can include it on your weblogs and such in plaintext form, it would be great! If you are using reCAPTCHA, you have to use nohide BBtag. And no, it’s not a real “office” mail, it’s just used for spam filter testing.

Thanks!

And again: office@paste.rs

10
Dec

I’m just an old chunk of coal, but I’m gonna be a diamond some day

A good ol’ from Ubuntu *and* Debian bugs:

Dimitrios Symeonidis wrote on 2008-10-14: (permalink)

this bug will soon celebrate it’s 3rd birthday. it’s marked as confirmed, high importance, and reported upstream (debian). are we going to do something about it, or are we just waiting for debian to resolve this?

(Emphasis added for extra lulz)

04
Dec

Thou shalt not make nukes

From Sun Web Learning Center license:

CUSTOMER ACKNOWLEDGES THAT COURSEWARE IS NOT DESIGNED OR INTENDED FOR USE IN THE DESIGN, CONSTRUCTION,OPERATION OR MAINTENANCE OF ANY NUCLEAR FACILITY. SUN DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY OF FITNESS FOR SUCH USES.

Aww… But… But I really wanted to run Solaris in my nuclear weapons plant! :(

23
Jun

Veggie dry sausage-like cream cheese spread

By experimenting with a couple of ingredients, I have made a cream cheese spread that, at least to my senses, resembles the Serbian dry sausage taste a lot. Weird!

Recipe:

3 tbsp cream cheese (”A la kajmak” or similar)
3 tbsp yogurt
4 leaves of fresh basil
2 cloves of garlic
salt

Put the cream cheese and yogurt in a cup, cut basil and garlic into very small pieces and add them to the mixture. Stir well. Add salt to taste and spread over some nice wholemeal bread.

Enjoy!

04
Mar

XP Performance Edition: srpski keyboard layout HOWTO

Performance Edition Windows XP je uprošćena verzija XP-a koja ima poizbacivane gomile drajvera i nepotrebnih gluposti, ali nažalost izbačena je i podrška za srpski keyboard layout, ćirilični i latinični. Kako ispraviti? Lako.

1. Prekopirati sa regularnog XP-a (možda bi i w2k poslužio?) fajlove kbdycc.dll i kbdycl.dll iz C:\WINDOWS\system32 foldera
2. Uneti u registry:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\0000081a]
“Layout Text”=”Serbian (Latin)”
“Layout Display Name”=”@%SystemRoot%\\system32\\input.dll,-5038″
“Layout File”=”KBDYCL.DLL”

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00000c1a]
“Layout Text”=”Serbian (Cyrillic)”
“Layout Display Name”=”@%SystemRoot%\\system32\\input.dll,-5057″
“Layout File”=”KBDYCC.DLL”

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\Locale]
“0000081a”=”2″
“00000c1a”=”5″

Disclaimer: ovo radite na sopstvenu odgovornost. Javite ako i kod vas radi.

23
Jan

SoX, yeah!

ls -1 *.wav | while read FILE; do sox "$FILE" -r 22050 "NOVO/$FILE" compand 0.001,0.15 -28,-inf,-24,-24 -0.3 0 0 resample -qs; done
22
Nov

Remove comments and empty lines sed one-liner

sed -e 's/#.*//' -e 's/[ ^I]*$//’ -e ‘/^$/ d’

…so I don’t have to think of it again.

10
Nov

Deluge Torrent and Etch Backports

Simply wonderful.

I don’t have to get it from testing and “break” my stable box with mixed trees!




Mail