Ben's Blog

ben

1201 Articles

life in the U.S. ben May 28, 2009

Shit I get in the mail #1

We’re gonna start easy with the most discusting idea a marketing genius ever had, I give you:

pizza_oreo

Last time I bought a pizza from Domino’s, they threw free cinamon sticks with it. Rather than be filled with the smell of delicious pizza, my car stunk cinamon like it’s Christmas at the gay ass mall.

Domino’s, inventing puke inducing recipes since 1960

I.T., unix / linux ben May 27, 2009

recursive name based delete

Here’s a neat little command that will let you delete specified files/directories recursively and based on their names.

Let’s do a dry run first to make sure that the command will go through the right files. Run:

[bash]<code class="plain plain">find <directory_to_start_the_recursion_in> -name <file_name</code>>[/bash]

Keep in mind that if you’re gonna have asterisks (*) in the <file_name> you need to escape them like so:

[bash]find /var/www -name *.jpg[/bash]

make sure that the result only lists the files/directories that you indeed want to obliterate. Then improve that last command by adding:

[bash]find <directory_to_start_the_recursion_in> -name <file_name> -exec rm -rf {} ;[/bash]

Since this is a pretty dangerous command even after a dry run, you can use -ok instead of -exec which will prompt you for approval everytime the command it executed.

[bash]find <directory_to_start_the_recursion_in> -name <file_name> -ok rm -rf {} ;[/bash]

This is of course not limited to rm 🙂

I.T., video games ben May 24, 2009

Killing Floor Review

Left4Dead is far from obsolete but lately I grew a little sick of playing the same maps over and over. The special zombies too are getting kinda old. This is when I came accross Killing Floor. Very little information is currently available about it on the web, a couple of videos on youtube and the official game site.

It’s currently one of the most sold game on Steam showing the strong liking that people are taking with coop massacring of zombies.

killing floor sales

Let’s go straight to the point: the games needs to be polished the fuck out. It’s very bulky, buggy & glitchy but it is built right. The game obviously got released too early and while it seems like the people in charge are proactive about fixing all of that, one can only hope that they’ll keep doing so until they have an acceptable product.

The gameplay is just weird, moving around doesn’t feel right.

The maps aren’t the best but they’re good enough.

The monsters you get to kill are pretty cool.

Graphics aren’t bad at all.

The AI’s not the best too and so repetitiveness becomes an issue early.

The music is really good.

Sound effects on the other hand are awkward.

but really this all needs to be patched like there’s no tomorrow.

I threw a quick video together since as I said earlier, only very little info can currently be found about this game:

It’s for sale for $20 on Steam, I’ve played for about 2 hours and don’t have much more in me. Not really worth it unless you don’t mind throwing money out the window. There used to be a time where games were released as finished products…

I.T., unix / linux ben May 21, 2009

recursive type based chmod

Here’s a cool little script that will recursively chmod, giving a permission based on whether it’s dealing with a file or a directory. This is very convenient when you want to add that +x to directories but not files.

[bash]find $1 -type f -exec chmod $2 {} ;
find $1 -type d -exec chmod $3 {} ;[/bash]

Go ahead and edit /usr/bin/chmod_script, copy paste these 2 lines in there, then issue a chmod 755 /usr/bin/chmod_script as root, that’s it!

Usage syntax is as follows:

[bash]chmod_script <directory_to_start_the_recursion_in> <permissions_for_files> <permissions_for+directories>[/bash]

so if I want to use it on /var/www do:

[code]chmod_script /var/www 644 755[/code]

Enjoy!

miscellaneous ben May 21, 2009

first!

Ca fait un bail que je vois passer le phenomene des blogs sans m’y interesser. Avec le changement complet d’Akrin je crois qu’il est temps de se mouiller les pieds. A moi le social networking, le web 2.0, et tout le tralala! Je vais vous podcaster la blogosphere comme si il n’y avait pas de lendemain.

Ca risque d’etre assez geeky faudra pas s’inquieter.

De quoi on va parler?

  • programming
  • vie aux states
  • video games
  • cats

That’s all folks

Posts pagination

← Previous 1 … 52 53

This blog is solar powered

Interactive

Handwriting Capture
Mandalagaba
IPv6 link-local to MAC converter
IPv6 MAC to link-local converter
Markov Text Generation
Markov Word Generation
Markov Music Generation
Duplogrifier
Flood Fill Algorithms
Homestead Metrics
RGB Playground
Web Games

Categories

  • aesthetics112
    • plots54
    • specular holography6
  • Books4
  • I.T.207
    • 3D modeling / printing21
    • AI7
    • all out geekery38
    • electronics29
    • homestead automation7
    • maniacal paranoia27
    • plotters49
    • unix / linux29
    • video games4
    • web development30
    • web games3
  • Lego / Duplo67
  • life in the U.S.42
  • miscellaneous204
  • nature encounters116
  • old vinyls3
  • organs2
  • self sustainability565
    • agriculture109
    • apiculture38
    • apple20
    • building132
    • canning3
    • crochet6
    • foraging6
    • hunting10
    • maple syrup47
    • poultry39
    • preserving3
    • solar power28
    • water23
    • wood85
  • trip to a new life6
Theme by Bloompixel. Proudly Powered by WordPress