michaelfox + linux 131
Zsh Tips, Tricks and Examples by zzapper
august 2011 by michaelfox
# start a "clean" version of zsh (without your startup files)
linux
zsh
osx
terminal
shell
august 2011 by michaelfox
My lateral .conkyrc by ~rent0n86
july 2011 by michaelfox
That's my lateral .conkyrc
Instructions:
1. Copy the conkyrc file in your home folder and rename it to .conkyrc
2. Copy the ip.sh file in the .scripts folder inside your home folder.
Then you can change system information, font, font color, disks' name and path and so on...
Temperatures are the hardest part: you've got to have lm-sensors installed, hddtemp installed and running as a daemon and maybe to change some characters in the .conkyrc file.
My .conkyrc is just a modification of CONKY-colors by helmuthdu: [link]
Also the ip.sh script comes from there.
Enjoy! Comments much appreciated!
conky
linux
customization
Instructions:
1. Copy the conkyrc file in your home folder and rename it to .conkyrc
2. Copy the ip.sh file in the .scripts folder inside your home folder.
Then you can change system information, font, font color, disks' name and path and so on...
Temperatures are the hardest part: you've got to have lm-sensors installed, hddtemp installed and running as a daemon and maybe to change some characters in the .conkyrc file.
My .conkyrc is just a modification of CONKY-colors by helmuthdu: [link]
Also the ip.sh script comes from there.
Enjoy! Comments much appreciated!
july 2011 by michaelfox
Cool, but obscure unix tools :: KKovacs
may 2011 by michaelfox
A little collection of cool unix terminal/console/curses tools
dstat & sar
slurm
vim & emacs
screen, dtach, tmux, byobu
multitail
tpp
xargs & parallel
duplicity & rsyncrypto
nethack & slash'em
lftp
ack
calcurse & remind + wyrd
newsbeuter & rsstail
powertop
htop & iotop
ttyrec & ipbt
rsync
mtr
socat & netpipes
iftop & iptraf
siege & tsung
ledger
taskwarrior
curl
rtorrent & aria2
ttytter & earthquake
vifm & ranger
cowsay & sl
cli
linux
terminal
tools
unix
★★★★★
dstat & sar
slurm
vim & emacs
screen, dtach, tmux, byobu
multitail
tpp
xargs & parallel
duplicity & rsyncrypto
nethack & slash'em
lftp
ack
calcurse & remind + wyrd
newsbeuter & rsstail
powertop
htop & iotop
ttyrec & ipbt
rsync
mtr
socat & netpipes
iftop & iptraf
siege & tsung
ledger
taskwarrior
curl
rtorrent & aria2
ttytter & earthquake
vifm & ranger
cowsay & sl
may 2011 by michaelfox
ddar: de-duplicating archiver
may 2011 by michaelfox
ddar is a free de-duplicating archiver for Unix. Save space, bandwidth and time by storing duplicate regions of data only once. Use ddar to:
Back up local data to a remote server, each time saving space, upload bandwidth and time by only transferring data not already present on the remote server. This is what cloud backup services like Tarsnap allow you to do already. Now you can use your own storage and internal bandwidth to achieve the same thing.
Back up remote data to a local disk, downloading and storing only changed data each time (the inverse of the above).
Back up local data to a local external disk, each time saving time and space by only writing data that was not present on the disk already. I have six gzipped tarballs of around 50 GiB each of my laptop stored on my external disk, but all together they are only using 64 GiB of storage.
Efficiently store any data that has redundancy. ddar will exploit redundancy across different files stored at any time.
backup
linux
Back up local data to a remote server, each time saving space, upload bandwidth and time by only transferring data not already present on the remote server. This is what cloud backup services like Tarsnap allow you to do already. Now you can use your own storage and internal bandwidth to achieve the same thing.
Back up remote data to a local disk, downloading and storing only changed data each time (the inverse of the above).
Back up local data to a local external disk, each time saving time and space by only writing data that was not present on the disk already. I have six gzipped tarballs of around 50 GiB each of my laptop stored on my external disk, but all together they are only using 64 GiB of storage.
Efficiently store any data that has redundancy. ddar will exploit redundancy across different files stored at any time.
may 2011 by michaelfox
Welcome - Synergy
april 2011 by michaelfox
Synergy is Free and Open Source Software that lets you easily share your mouse and keyboard between multiple computers, where each computer has it's own display. No special hardware is required, all you need is a local area network. Synergy is supported on Windows, Mac OS X and Linux.
Issues: Latest fixed
FAQs: User, Developer
News/updates: Blog, Twitter
Mailing lists: User, Developer
Nightly build: Console, Builders, Packages
Major features
Move your mouse easily between computers
Requires nothing other than existing ethernet
Copy and paste between your computers
No need to press any buttons (unlike KVM)
You can still use multiple monitors on the same computer
Lock the mouse to one screen
keyboard
linux
mouse
app
mac
utility
Issues: Latest fixed
FAQs: User, Developer
News/updates: Blog, Twitter
Mailing lists: User, Developer
Nightly build: Console, Builders, Packages
Major features
Move your mouse easily between computers
Requires nothing other than existing ethernet
Copy and paste between your computers
No need to press any buttons (unlike KVM)
You can still use multiple monitors on the same computer
Lock the mouse to one screen
april 2011 by michaelfox
Handling Filenames with Spaces in Bash | mac geekery
february 2011 by michaelfox
find ~ -name '* *' | while read FILE
do
echo $FILE rocks.
done
bash
linux
osx
scripting
shell
do
echo $FILE rocks.
done
february 2011 by michaelfox
Useful Linux commands for programmers? - Super User
december 2010 by michaelfox
am taking a test soon and I would like to know useful commands on Linux for a programmer. Some examples are string, strace, top, free, df, mount, cat, head, tail, whoami, touch. What are others?
I am a complete novice. Those are all the commands I know along with groupadd, useradd, chmod, chown, ls, rm, mkdir and echo. That is all I know.
bash
shell
commands
tools
resources
list
★
cli
development
linux
code
ssh
vim
man
find
I am a complete novice. Those are all the commands I know along with groupadd, useradd, chmod, chown, ls, rm, mkdir and echo. That is all I know.
december 2010 by michaelfox
Introduction to using vim for Rails development ... - GIANT ROBOTS SMASHING INTO OTHER GIANT ROBOTS
november 2010 by michaelfox
Introduction to using vim for Rails development
Someone recently asked us to do “vim on Rails” screencasts.
So, we’re responding with this experiment. Let us know if this is valuable and we’ll try to improve things like audio quality.
rails
screencast
ide
screencasts
tutorial
ruby
development
editor
vim
linux
howto
video
environment
tools
resources
reference
dotfiles
config
setup
Someone recently asked us to do “vim on Rails” screencasts.
So, we’re responding with this experiment. Let us know if this is valuable and we’ll try to improve things like audio quality.
november 2010 by michaelfox
Install Apache/PHP/MySQL on Snow Leopard
october 2010 by michaelfox
In /etc/apache2/httpd.conf, uncomment this line:
LoadModule php5_module libexec/apache2/libphp5.so
Restart Apache
sudo apachectl restart
Fix a warning appearing in phpinfo()
Create /etc/php.ini and make it writable
cd /etc
sudo cp php.ini.default php.ini
sudo chmod 666 php.ini
php
mac
osx
development
environment
server
testing
apache
mysql
linux
system
install
compile
LoadModule php5_module libexec/apache2/libphp5.so
Restart Apache
sudo apachectl restart
Fix a warning appearing in phpinfo()
Create /etc/php.ini and make it writable
cd /etc
sudo cp php.ini.default php.ini
sudo chmod 666 php.ini
october 2010 by michaelfox
Sean Coates blogs: php-5.2.5 on Leopard
october 2010 by michaelfox
development environment up and running (I did a clean install). After the jump, I'll outline the steps that I took to get a functioning Apache, PHP, MySQL installed. Sure, you could use the leopard-bundled Apache and PHP, but if you're like me, you generally upgrade PHP (and use weird extensions) a lot more often than Apple will upgrade it.
Built on Rasmus' birthday. How appropriate (-:
First, a couple things should be noted: I'm still without local SSL support on Apache. I've been in touch with the maintainer of apache2 on macports (who, coincidentally, is probably familiar to many of you due to his past work on the PHP project: James Cox), but I still don't have a solution. See this bug report for info. The second thing is that my colleague/client/boss/friend (wow.. that sounds like a dangerous combination!) Marco helped me out quite a bit with the initial leopard-friendly incantations to make things build.
php
mac
osx
development
environment
server
testing
apache
mysql
linux
system
install
compile
Built on Rasmus' birthday. How appropriate (-:
First, a couple things should be noted: I'm still without local SSL support on Apache. I've been in touch with the maintainer of apache2 on macports (who, coincidentally, is probably familiar to many of you due to his past work on the PHP project: James Cox), but I still don't have a solution. See this bug report for info. The second thing is that my colleague/client/boss/friend (wow.. that sounds like a dangerous combination!) Marco helped me out quite a bit with the initial leopard-friendly incantations to make things build.
october 2010 by michaelfox
HOWTO: Setup PHP, Apache and MySQL development environment on OS X Snow Leopard
october 2010 by michaelfox
UPDATED: Updated to use PHP 5.3.1 and with easier instructions for fixing PHP’s iconv linking problem via Apple’s iconv.patch file.
Although Mac OS X Snow Leopard (10.6) finally comes with current versions of open source software developers use, the default setup is not enough for our needs so we’ve compiled this easy to follow guide to setting up a PHP development environment including the following:
PHP 5.3
Apache 2.2
MySQL 5.1
As I mentioned, we needed to add a few things to the PHP install that Apple left out:
GeoIP
libjpeg
libpng
IMAP
libmcrypt
gettext
php
mac
osx
development
environment
server
testing
apache
mysql
linux
system
install
compile
Although Mac OS X Snow Leopard (10.6) finally comes with current versions of open source software developers use, the default setup is not enough for our needs so we’ve compiled this easy to follow guide to setting up a PHP development environment including the following:
PHP 5.3
Apache 2.2
MySQL 5.1
As I mentioned, we needed to add a few things to the PHP install that Apple left out:
GeoIP
libjpeg
libpng
IMAP
libmcrypt
gettext
october 2010 by michaelfox
GNU Autoconf, Automake and Libtool
may 2010 by michaelfox
New Riders graciously indulged our principles, and published this book under the terms of the Open Publication License (with none of the options exercised). Consequently the content of the book is truly free, and you can download the html of the onlne version for reading offline, either as a zip archive (860k) or a gzipped tar archive (352k).
The full texinfo source for the book is available via anonymous cvs:
$ cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/autobook login
Password: anoncvs
$ cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/autobook co autobook
If you like this book, then please consider buying a bound and printed copy, so that the authors can continue to write free documentation, and to support the GNU Project (almost 10% of the total royalties from sales of the book are donated to the Free Software Foundation, who maintain the tools discussed in the book).
gnu
make
libtool
autoconf
linux
reference
book
download
ebooks
The full texinfo source for the book is available via anonymous cvs:
$ cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/autobook login
Password: anoncvs
$ cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/autobook co autobook
If you like this book, then please consider buying a bound and printed copy, so that the authors can continue to write free documentation, and to support the GNU Project (almost 10% of the total royalties from sales of the book are donated to the Free Software Foundation, who maintain the tools discussed in the book).
may 2010 by michaelfox
related tags
*todo ⊕ admin ⊕ antipatterns ⊕ apache ⊕ app ⊕ apple ⊕ apps ⊕ apt ⊕ article ⊕ asterisk ⊕ audio ⊕ autoconf ⊕ backup ⊕ bash ⊕ benchmarking ⊕ beryl ⊕ bestpractices ⊕ blog ⊕ book ⊕ boot ⊕ boxee ⊕ builds ⊕ cheatsheet ⊕ cli ⊕ clipboard ⊕ clustering ⊕ code ⊕ codec ⊕ collection ⊕ command ⊕ commandline ⊕ commands ⊕ community ⊕ compile ⊕ compiz ⊕ config ⊕ configuration ⊕ conky ⊕ cron ⊕ crontab ⊕ curl ⊕ custimazation ⊕ customization ⊕ debian ⊕ debugging ⊕ desktop ⊕ dev ⊕ development ⊕ dialin ⊕ directory ⊕ distributedcomputing ⊕ distro ⊕ divx ⊕ diy ⊕ documentation ⊕ dotfiles ⊕ dotmac ⊕ download ⊕ duplication ⊕ dvd ⊕ dvdrip ⊕ ebooks ⊕ editor ⊕ email ⊕ environment ⊕ etc ⊕ fhs ⊕ filesystem ⊕ find ⊕ firewall ⊕ font ⊕ format ⊕ forum ⊕ forums ⊕ framework ⊕ games ⊕ generator ⊕ git ⊕ github ⊕ gmail ⊕ gnome ⊕ gnu ⊕ graphics ⊕ guide ⊕ hacks ⊕ help ⊕ hierarchy ⊕ history ⊕ homeautomation ⊕ hosting ⊕ howto ⊕ htaccess ⊕ htpc ⊕ ide ⊕ images ⊕ inspiration ⊕ inspiration:dotfiles ⊕ install ⊕ interface ⊕ irc ⊕ ISP ⊕ iterm ⊕ javascript ⊕ jobs ⊕ kernel ⊕ keyboard ⊕ lamp ⊕ layout ⊕ ldap ⊕ library ⊕ libtool ⊕ linux ⊖ linuxequivelant ⊕ list ⊕ log ⊕ logging ⊕ mac ⊕ macosx ⊕ make ⊕ man ⊕ management ⊕ markdown ⊕ md ⊕ media ⊕ mediacenter ⊕ mobileme ⊕ mod_rewrite ⊕ monitoring ⊕ mouse ⊕ music ⊕ mysql ⊕ mythtv ⊕ NAS ⊕ nautilus ⊕ netbeans ⊕ network ⊕ networking ⊕ opensource ⊕ organization ⊕ organizer ⊕ os ⊕ osx ⊕ packgin ⊕ paperless ⊕ patterns ⊕ performance ⊕ permissions ⊕ photo ⊕ photography ⊕ php ⊕ player ⊕ postfix ⊕ printing ⊕ productivity ⊕ profile ⊕ profiling ⊕ programming ⊕ prompt ⊕ pvr ⊕ qemu ⊕ rails ⊕ reference ⊕ regiestry ⊕ resources ⊕ revo ⊕ ruby ⊕ schedule ⊕ screencast ⊕ screencasts ⊕ scripting ⊕ scripts ⊕ security ⊕ server ⊕ setup ⊕ shell ⊕ slackware ⊕ snippets ⊕ software ⊕ ssh ⊕ ssl ⊕ standard ⊕ storage ⊕ study ⊕ sysadmin ⊕ system ⊕ teaching ⊕ terminal ⊕ testing ⊕ tips ⊕ tmux ⊕ tools ⊕ top ⊕ traveltech ⊕ trick ⊕ troubleshooting ⊕ turnkey ⊕ tutorial ⊕ tutorials ⊕ tv ⊕ ubuntu ⊕ ubuntuserver ⊕ ultimatebuild ⊕ unix ⊕ utility ⊕ video ⊕ videolan ⊕ vim ⊕ virtual ⊕ virtualbox ⊕ virtualization ⊕ visual ⊕ vlc ⊕ vm ⊕ vmware ⊕ voip ⊕ vpn ⊕ web ⊕ webdav ⊕ webdev ⊕ website ⊕ wiki ⊕ window ⊕ windows ⊕ xbmc ⊕ xdebug ⊕ xterm ⊕ xvid ⊕ zend ⊕ zend.server ⊕ zend.serverce ⊕ zsce ⊕ zsh ⊕ ★ ⊕ ★★★★★ ⊕Copy this bookmark: