Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

doing free site for family friend

Name: Anonymous 2012-06-01 0:44

And they're being really cheeky and getting me to do loads of crap. Redirect to meatspin on them? I control the server and site. >:(

Name: Anonymous 2012-06-01 0:45

nimp.org redirect. HEY EVERYBODY IM LOOKING AT GAY PORNO!!!!

Name: Anonymous 2012-06-01 1:26

>>2
Oh the memories~.

Name: Anonymous 2012-06-01 11:13

>>3
lol

Name: !L33tUKZj5I 2012-06-01 11:32

Whenever you do something for someone for free, they will view it as worthless.
Learn from this, and don't make the same mistake again.

Name: Anonymous 2012-06-01 11:44

>>5
Especially true when it comes to designing websites, or pretty much anything to do with computers.

Name: !L33tUKZj5I 2012-06-01 12:17

>>6
"L33tUK, get here! My computer has a virus because you installed firefox and ran a virus scan on it six months ago! It's all your fault!"

I tell people now I only do tech support for Linux.

Name: Anonymous 2012-06-01 12:23

>>5
Haha, this is true.

Name: 4CT !3lWjo8kf8k 2012-06-01 12:34

linux, ha.

Name: Tablecat 2012-06-01 12:41

>>7
"L33tUK, get here! My website has a cloudflare because you spammed and ran a denial of service on it 48 hours ago! It's all your fault!"

Name: !L33tUKZj5I 2012-06-01 14:04

Name: Anonymous 2012-06-01 14:18

>>11
John Lennon - Jealous Guy .mp3

Name: Anonymous 2012-06-01 19:32

Just a bunch of kids pressing F5 at the same time. Fine if that's what you're into but surely there's more worthy targets out there?

Name: !L33tUKZj5I 2012-06-01 20:28

>>13
Try doing this to take a website down, and show us. I would be very amused if it worked.

Name: Anonymous 2012-06-01 21:28

>>7
True. I'm editing like 50 large file size pics for them, gotta crop and post thumbnails, links to the larger sized photo, titles of all products in the html..... *pours coffee* -_-

Name: !L33tUKZj5I 2012-06-01 22:28

>>15
I am very much in my cups tonight, but I'd imagine that if you learned to use the linux command convert
http://linux.about.com/od/commands/l/blcmdl1_convert.htm

and used a little awk to write a loop involving feeding the filenames in and relevent thumbnails, you could automate it all.
http://www.math.utah.edu/docs/info/gawk_6.html

If I were you, I'd spend the an hour or two going over that ad learning something, instead of resizing the images by hand.

I am drunk, and high, but I've come up with a little of the script for you.

ls *.jpg| awk '{print "-size 120x120 "$1"-resize 120x120 +profile i/'*/' "$1"_small.jpg"}';

this takes all the jpgs in that directory, and gives the commands you need to feed into the convert program for each one.

now go learn how to parse commands from files to get it to do it all at once for you...

http://www.math.utah.edu/docs/info/gawk_6.html

Name: !L33tUKZj5I 2012-06-01 22:30

you can probably knock something up to generate all the html links too. Go read UNIX for Dummies, it's a great book.

Name: BobCasual !!y2Gakp6LQK7cw6m 2012-06-01 22:32

l33tUk you sound like you need some friends or maybe.... dare i say... a female?

Name: !L33tUKZj5I 2012-06-01 22:35

ERROR in that program, shoulda been

ls *.jpg| awk '{print "-size 120x120 "$1" -resize 120x120 +profile i/'*/' "$1"_small.jpg"}';
Sorry.

Name: !L33tUKZj5I 2012-06-01 22:36

>>18
I have plenty of friends, and a loving female companion. What do you have against shell programming?

Name: !L33tUKZj5I 2012-06-01 23:09

On a little further rumination, this popped into my head. Would automate all the resizing for you.

ls *.jpg| awk '{print "convert -size 120x120 "$1" -resize 120x120 +profile i/'*/' "$1"_small.jpg;"}';>converter.sh;chmod 777 converter.sh;./converter.sh

Name: !L33tUKZj5I 2012-06-01 23:13

Oh wait, gimme a minute.

Name: !L33tUKZj5I 2012-06-01 23:16

ls *.jpg| awk '{print "convert -size 120x120 "$1" -resize 120x120 +profile i/'*/' "$1"_small.jpg;"}'>converter.sh;./converter.sh

That works.

Name: Anonymous 2012-06-01 23:23

>>16
Thanks but I found a batch program to do it for me.
I wont be so picky this workload I'll just do a quick job for the feckers. :D

Name: !L33tUKZj5I 2012-06-01 23:37

>>24
Ah, good stuff :) as long as you don't have to do it all by hand.

I haven't made a batch file for a very long time. You know there is a UNIX command prompt emulator called Cygwin if you're stuck on windows?

Name: !L33tUKZj5I 2012-06-01 23:43

Just realised, addendum tot hat last thing, i didn't need to change file permissions while testing because the file already existed. So if using that script from scratch it would be.
ls *.jpg| awk '{print "convert -size 120x120 "$1" -resize 120x120 +profile i/'*/' "$1"_small.jpg;"}'>converter.sh;chmod 777 converter.sh;./converter.sh

Name: !L33tUKZj5I 2012-06-02 0:24

And I suppose for the sake of garbage collection,
ls *.jpg| awk '{print "convert -size 120x120 "$1" -resize 120x120 +profile i/'*/' "$1"_small.jpg;"}'>converter.sh;chmod 777 converter.sh;./converter.sh;rm converter.sh

Name: !L33tUKZj5I 2012-06-02 0:44

Just gone back to this again, and realised that any picture filenames that have a space in them, will throw an error.
Wonder how to deal with that. I am about to sleep now, probably, but will consider it in the morning.

Name: !L33tUKZj5I 2012-06-02 1:15

Ok, so this version strips out any spaces in filenames, and replaces them with underscores. There would be a way to put the files back with the spaces again after, but fuck it, deal with it.

This does mean that all files will be converted though.
echo "rename" `ls *\ *.jpg` `ls *\ *.jpg|grep '\ ' |sed 's/\'\ '/'\_'/g'`>renamer.sh;chmod 777 renamer.sh;./renamer.sh;ls *.jpg| awk '{print "convert -size 120x120 "$1" -resize 120x120 +profile i/'*/' "$1"_small.jpg;"}'>converter.sh;chmod 777 converter.sh;./converter.sh;rm converter.sh;rm renamer.sh

Name: !L33tUKZj5I 2012-06-02 1:47

Ok, for the sake of housekeeping, this puts back all filenames with spaces in them to their original state. All the thumbnails will have filenames with underscores in them though.

echo "rename" `ls *\ *.jpg|grep '\ ' |sed 's/\'\ '/'\_'/g'`" ""\""`ls *\ *.jpg`"""\"">renamer2.sh;chmod 777 renamer2.sh;echo "rename" `ls *\ *.jpg` `ls *\ *.jpg|grep '\ ' |sed 's/\'\ '/'\_'/g'`>renamer.sh;chmod 777 renamer.sh;./renamer.sh;ls *.jpg| awk '{print "convert -size 120x120 "$1" -resize 120x120 +profile i/'*/' "$1"_small.jpg;"}'>converter.sh;chmod 777 converter.sh;./converter.sh;rm converter.sh;rm renamer.sh;./renamer2.sh;rm renamer2.sh

I live a full life.

Name: !L33tUKZj5I 2012-06-02 2:50

I forgot to add ;'s to the end of each line in the shell scripts generated and used.
[m]
……………………………………..________
………………………………,.-‘”……………….“~.,
………………………..,.-”……………………………..“-.,
…………………….,/………………………………………..”:,
…………………,?………………………………………………\,
………………./…………………………………………………..,}
……………../………………………………………………,:`^`..}
……………/……………………………………………,:”………/
…………..?…..__…………………………………..:`………../
…………./__.(…..“~-,_…………………………,:`………./
………../(_….”~,_……..“~,_………………..,:`…….._/
……….{.._$;_……”=,_…….“-,_…….,.-~-,},.~”;/….}
………..((…..*~_…….”=-._……“;,,./`…./”…………../
…,,,___.\`~,……“~.,………………..`…..}…………../
…………(….`=-,,…….`……………………(……;_,,-”
…………/.`~,……`-………………………….\……/\
………….\`~.*-,……………………………….|,./…..\,__
,,_……….}.>-._\……………………………..|…………..`=~-,
…..`=~-,_\_……`\,……………………………\
……………….`=~-,,.\,………………………….\
…………………………..`:,,………………………`\…………..__
……………………………….`=-,……………….,%`>–==“
…………………………………._\……….._,-%…….`\
……………………………..,< `.._|_,-&``................`[/m]


This fixes it.

echo "rename" `ls *\ *.jpg|grep '\ ' |sed 's/\'\ '/'\_'/g'`" ""\""`ls *\ *.jpg`"""\""";">renamer2.sh;chmod 777 renamer2.sh;echo "rename" `ls *\ *.jpg` `ls *\ *.jpg|grep '\ ' |sed 's/\'\ '/'\_'/g'` ";" >renamer.sh;ls *.jpg| awk '{print "convert -size 120x120 "$1" -resize 120x120 +profile i/'*/' "$1"_small.jpg;"}'>converter.sh;chmod 777 converter.sh;./converter.sh;rm converter.sh;rm renamer.sh;./renamer2.sh;rm renamer2.sh

Name: Anonymous 2012-06-02 11:31

>>31
[m]

Lol, what a fucking faggot.

Name: Anonymous 2012-06-02 15:54

>>32
RUDE

Name: Anonymous 2012-06-02 17:27

>>33
Nigger faggot.

Name: Anonymous 2012-06-02 23:47

>>34
Still fifteen after all these years. Tsk.

Name: Anonymous 2012-06-03 4:49

>>35
Nigger.

Name: Anonymous 2012-06-09 15:45

>>36
Nigger.

Name: Anonymous 2012-06-26 6:01

>>37
Nigger.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List