Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

December 10 2010

How to Debug Bash Scripts | Ayman Hourieh

various techniques and tips for debugging Bash scripts.
Reposted byreturn13 return13

December 09 2010

December 02 2010

Reference Cards

reference cards provide a useful summary of certain scripting concepts. The foregoing text treats these matters in more depth, as well as giving usage examples.

October 28 2010

Securing SSH access with pam captcha - Michael Boman

Then I found pam_captcha, and it seems like my worries are over. pam_captcha is a ascii-art captcha system (you know, sometimes on the web you need to enter some text that are written, very often deformed, in an image) that utilities figlet (a text to ascii-art program) to make sure there is a human at the keyboard while going for keyboard interactive password authentication. A session can look like this:

October 26 2010

October 21 2010

sloshy's LinFreeze at master - GitHub

LinFreeze is a script you can use to "freeze" a user's home directory or any other directory so that file changes are not permanent. It does this by layering a tmpfs layer on top of the user's home folder (or the directory of your choosing), where all changes will be stored. Optionally, you may use a "static" directory to be layered on top of the directory containing temporary, read-only files and folders.
Tags: linux work kiosk

sourcefrog : Is swap space obsolete?

There was a thread on the CLUG list recently about whether it was still useful to have swap space, now that it's quite affordable to have a gigabyte or more of memory on a desktop machine. I think it is.

Some people have the idea that touching swap space at all is a sign that the machine is very overloaded, and so you ought to avoid it at all costs, by adding enough memory that the machine "never needs to swap". This may have been true on Unix ten years ago, and may still be true on some systems for all I know but it's not true for Linux.

September 29 2010

jcole’s weblog: Jeremy Cole’s take on life. » Blog Archive » The MySQL “swap insanity” problem and the effects of the NUMA architecture

When running MySQL on a large system (e.g., 64GB RAM and dual quad core CPUs) with a large InnoDB buffer pool (e.g., 48GB), over time, Linux decides to swap out potentially large amounts of memory, despite appearing1 to be under no real memory pressure. Monitoring reveals that at no time is the system in actual need of more memory than it has available; and memory isn’t leaking, mysqld‘s RSS is normal and stable.

Normally a tiny bit of swap usage could be OK (we’re really concerned about activity—swaps in and out), but in many cases, “real” useful memory is being swapped: primarily parts of InnoDB’s buffer pool. When it’s needed once again, a big performance hit is taken to swap it back in, causing random delays in random queries. This can cause overall unpredictable performance on production systems, and often once swapping starts, the system may enter a performance death-spiral.

September 18 2010

finkregh
# LOL!!1

alias wtf='dmesg'
alias onoz='cat /var/log/errors.log'
alias rtfm='man'

alias visible='echo'
alias invisible='cat'
alias moar='more'

alias icanhas='mkdir'
alias donotwant='rm'
alias dowant='cp'
alias gtfo='mv'

alias hai='cd'
alias plz='pwd'

alias inur='locate'

alias nomz='ps -aux'
alias nomnom='killall'

alias cya='reboot'
alias kthxbai='halt'
http://aur.archlinux.org/packages.php?ID=21727
Reposted bycmdrfletcherkrannixcoloredgrayscaleserapsychoblotterlebenididntorderthatNorkNorkphr33kaberinkulassobaNF-700Necrotexfooselmoonstermazzoomondkroeteknarfsixtussciphexstefreakblubberthetoothvroomjmtosseshgnmburgerauthmillenonthorbenjaweswoopodessa2LeuXcitizen428kannsdennwahrseinElbenfreundfadenboelsenwakadatenwolfG33KatWorkpenpenreturn13splitbrainnicapicellaablsicksinmikeybertstmi

September 13 2010

finkregh

Spielzeug für den kleinen Tux gibt es beinahe wie Sterne am Himmel. Allerdings ist das kein Grund einen neu entstandenen Stern zu ignorieren. Relativ frisch am Linuxspielehimmel ist Steel Storm, ein an die guten alten Zeiten erinnernder Top-Down Shooter. Die Beta der Episode 1 steht seit Kurzem zum Download bereit und ist für Lau erhältlich.
Anders sieht das für die zweite Episode aus, die bereits jetzt zum Preorder-Preis von 10 $ vorbestellt werden kann. Sobald einmal fertig, wird sich der Preis für Episode II auf 20$ verdoppeln.

Um das ganze etwas schmackhafter zu gestalten noch einige pikante Details zu dem Spiel an sich:

  • Deathmatch und kooperativer Spielmodus möglich
  • Erkundungs- sowie Spiel auf Zeit Modus
  • Punktegesteuerter Spielverlauf
  • Intelligente K.I. ohne jede Gnade
  • Horden an Gegnern, bereit von dir zerlegt zu werden
  • Eine Hundertschaft an zerstörbaren Gebäuden und Hindernissen
  • Gewaltige Landschaften die zurückerobert werden wollen
  • 6 Missionen in verschiedenen Schwierigkeiten, vom Anfänger bis zum Ultrazocker.
  • Erschaffen und Verändern von Missionen mittels des SandStorm-InGame-Echtzeit-Mehrbenutzer-Editors (wird als Patch veröffentlicht)
[...]
Steel Storm - 3D TopDown KickAss Action für Linux | HOLARSE - Spielen unter Linux
Tags: linux gaming

September 09 2010

Filenames in Shell

This little essay explains how to correctly process filenames in Bourne shells. I presume that you already know how to write Bourne shell scripts.

August 25 2010

finkregh

Es scheint, dass der Linuxspielemarkt, oder zumindest dessen Spielerschaft, für die "Großen" immer noch nicht genügend Anteile am Gesamtbild hält. Anders ist es nicht zu erklären, dass Valve sich jetzt den Gerüchten um eine Linuxversion des Steamclients annimmt und damit aufräumt.

Nach einem Interview von GameIndustry.biz mit Doug Lombardi, dem Vize-Präsidenten der Marketingabteilung von Valve, gibt es keine Linuxversion des Clients an der derzeit gearbeitet wird.

Somit bleiben Steam und diverse damit verbundene Spiele bis auf Weiteres ein Fall für Wine, CrossOver Games und Cedega.

Interessierte können sich das Interview nach einer Registrierung bei GameIndustry.biz, unter diesem Link ansehen.

 [IMHO]: Ich bin fast schon der Überzeugung, würde man den Linuxclient entwickeln und freigeben wären Linuxler vielleicht nicht die am stärksten vertretenen Benutzer. Dennoch, Sie wären präsent und ihre Anzahl nicht dermaßen gering wie von vielen Seiten behauptet wird. Ohne einen existierenden Linuxclient wird es immer extrem einfach sein zu behaupten, Linuxbetriebsysteme wären ein zu schwacher Anteil an der Gesamtmasse um davon profitieren zu können. Entsprechend wird es dann auch keinen Linuxclient geben um das Gegenteil zu beweisen. Ein Teufelskreis (frei nach TVKaiser)  [/IMHO]

Valve schiebt Gerüchten um Steam für Linux einen Riegel vor | HOLARSE - Spielen unter Linux
Tags: linux gaming

June 18 2010

April 13 2010

TechComparison - Linux Virtualization Wiki

This table compares the features and performance of the various virtualization technologies available for Linux. Hopefully this table also explains why many Linux distributions today ship Xen, even though UML,lguest and KVM are upstream.

February 19 2010

MuMuDVB | a DVB IPTV streaming free software

MuMuDVB (Multi Multicast DVB) is a program for streaming TV over a network originally based on dvbstream. MuMuDVB can redistribute a stream from a DVB source (digital satellite television, digital terrestrial television, or digital cable television) on a network, in multicast or in HTTP unicast. Its main feature is to take a whole transponder and put each channel on a different multicast group. MuMuDVB have a low memory and CPU footprint and is able to run on embedded platforms. RTSP streaming will be implemented in a near future.

January 17 2010

January 05 2010

isolate - Project Hosting on Google Code

The Problem All your Unix applications run with the full authority of the account that launched them: your browser can read your SSH private key, your mail reader can mine your browser history, your image converter can delete all your email, and so on. So it is not safe to listen to songs from untrustworthy sources: a maliciously-crafted MP3 could crack your music program and use its authority to send your SSH key to a maniac with an evil mustache. What's an "untrustworthy source"? The Internet would be one example... The Solution This utility, isolate, runs processes in a chroot-ed environment, with constrained resource limits, as a random UID, and with limited access to the X server. An isolated program ("isolatee") no longer has all the authority of your user account, but you can still enjoy its legitimate functionality. You can play even maliciously-crafted songs in an unsafely implemented music player, with greatly minimized risk to your other data.
Older posts are this way If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.

Don't be the product, buy the product!

Schweinderl