This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
retab! | |
" ------------------------------------------------------------------------------ | |
" automatically turn tabs to spaces before saving, then back | |
" ------------------------------------------------------------------------------ | |
au BufWritePre * :set expandtab | |
au BufWritePre * :retab! | |
au BufWritePost * :set noexpandtab! | |
au BufWritePost * :retab! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ -x $(which openbox) ] | |
then | |
if $(pidof dwm >/dev/null) | |
then | |
kill $(pidof dwm) | |
fi | |
if $(pidof openbox >/dev/null) | |
then | |
kill $(pidof openbox) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function! JumpToString(string) | |
for l:buffer_number in range(1,bufnr("$")) | |
if buflisted(l:buffer_number) | |
if join(getbufline(l:buffer_number,1,"$")) =~ a:string | |
exec "b . " . l:buffer_number | |
endif | |
endif | |
endfor | |
endfunction |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# download the software with "wget" | |
wget http://arduino.googlecode.com/files/arduino-1.0-linux.tgz | |
# the software comes compressed, decompress it | |
tar xvf arduino-1.0-linux.tgz | |
# move into the directory it creates | |
cd arduino-1.0 | |
# run the IDE | |
./arduino |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Bedrock Linux 1.0alpha2 /etc/fstab | |
# | |
# Things which should be mounted at boot go here. Additionally, things which | |
# should be mounted to share between clients should be placed here. | |
# | |
# It is recommended to make the core Bedrock accessible as a client as well, so | |
# that it can be accessed from within other clients. This is the only item | |
# described herein which should be mounted at boot. To do so, uncomment the | |
# following line (optionally changing /var/chroot/bedrock to where you would | |
# like to place the bedrock client). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Bedrock Linux 1.0alpha2 /opt/bedrock/etc/brclients.conf | |
# | |
# Client-specific configuration items go here. | |
# | |
# To begin setting configuration options for a client, place the name you would | |
# like to give the client in square brackets. For example: | |
#[squeeze] | |
# Each non-commented non-black line following will be a configuration option | |
# for bedrock, until the next [client name] is found. Every client should have | |
# a line specifying the path to where the client is stored on disk. For example: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brl echo $( tar xf busybox-1.20.2.tar.bz2 ; echo $? ) | |
brl: running commands in bedrock | |
0 | |
brl: running commands in squeeze | |
0 | |
brl: running commands in sid | |
0 | |
brl: running commands in arch | |
0 | |
brl: running commands in precise |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__ __ __ | |
\ \_________\ \____________\ \___ | |
\ _ \ _\ _ \ _\ __ \ __\ / | |
\___/\__/\__/ \_\ \___/\__/\_\_\ | |
\ \ _ ________ __ | |
\ \( )/ \ \ \ \ / | |
\_\\_\_\_\__/_\_\ | |
vs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Bedrock Linux 1.0alpha2 /etc/fstab | |
# | |
# Things which should be mounted at boot go here. Additionally, things which | |
# should be mounted to share between clients should be placed here. | |
# | |
# It is recommended to make the core Bedrock accessible as a client as well, so | |
# that it can be accessed from within other clients. This is the only item | |
# described herein which should be mounted at boot. To do so, uncomment the | |
# following line (optionally changing /var/chroot/bedrock to where you would | |
# like to place the bedrock client). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Bedrock Linux 1.0alpha2 /opt/bedrock/etc/brclients.conf | |
# | |
# Client-specific configuration items go here. | |
# | |
# To begin setting configuration options for a client, place the name you would | |
# like to give the client in square brackets. For example: | |
#[squeeze] | |
# Each non-commented non-black line following will be a configuration option | |
# for bedrock, until the next [client name] is found. Every client should have | |
# a line specifying the path to where the client is stored on disk. For example: |
OlderNewer