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
#openSuSE 11.1, kde 4.2.1 phonon, alsa, mpd, vlc, mplayer | |
#md.conf http://gist.github.com/74213 , vlc, mplayer works with defaults | |
pcm.!default { | |
type plug | |
slave.pcm "dmixer" | |
} | |
pcm.dsp0 { | |
type plug | |
slave.pcm "dmixer" | |
} |
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
#openSuSE 11.1, kde 4.2.1 phonon, alsa, mpd, vlc, mplayer | |
#final version | |
audio_output { | |
type "alsa" | |
name "Sound Card" | |
device "default" | |
} |
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
###[esd] | |
# autospawning is not recommended, since it can't really be done | |
# right. If you want your login session to be using a sound daemon, | |
# you should start it from the session controller, not some random | |
# app inside. | |
###auto_spawn=0 | |
###spawn_options=-terminate -nobeeps -as 2 | |
###spawn_wait_ms=100 | |
# default options are used in spawned and non-spawned mode | |
###default_options=-as 2 |
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
# ?GCONF_PATH?/gstreamer/0.10/default/ | |
<?xml version="1.0"?> | |
<gconf> | |
<entry name="audiosrc" mtime="1236018067" type="string"> | |
<stringvalue>alsasrc device="hw:0,1"</stringvalue> | |
</entry> | |
<entry name="videosrc" mtime="1236018139" type="string"> | |
<stringvalue>v4lsrc</stringvalue> | |
</entry> | |
<entry name="videosink" mtime="1236018113" type="string"> |
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
#Import table data from standard(development) database | |
def self.import(adapter = "sqlite3", database = 'db/standard.sqlite3') | |
self.establish_connection(:adapter => adapter,:database => database) | |
standard = self.find(:all) | |
self.remove_connection | |
my = self.find(:all) | |
[my,standard] | |
end |
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
make -f objs/Makefile | |
make[1]: Entering directory `/tmp/kfl62-passenger-standalone-31124/nginx-0.7.67' | |
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ | |
-o objs/src/core/nginx.o \ | |
src/core/nginx.c | |
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ |
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
I found a way to install the ubuntu-netbook-remix-i386.img file into VirtualBox. Here are the steps. | |
1. Run the command to create a bootable VDI image (without quotes): | |
“VBoxManage convertfromraw ubuntu-netbook-remix-i386.img ubuntu-netbook-remix-i386-live.vdi” | |
2. Run the command to create a new empty VDI image where to install the image with 8GB space: | |
“VBoxManage createhd -filename ubuntu-netbook-remix-i386.vdi -size 8000″ | |
Note: you can use -register option at the end of this command or register this VDI file from the VirtualBox later. | |
3. Create a new VM using the ubuntu-netbook-remix-i386-live.vdi (use the existing vdi option) | |
4. Attach the ubuntu-netbook-remix-i386.vdi as a Primary Slave | |
5. Start the VM (boot) | |
6. Install |
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
#workflow for staicmatic | |
cd ~/work/electrowerk_static | |
# start webserver | |
staticmatic preview . | |
# work on src/ haml ors sass files | |
# start chrome/firefox any browser and point to http://locahost:3000 | |
# check what you done, if you like it | |
Ctrl C # in terminal where you started the webserver | |
staicmatic build . | |
# builds generated files in site/ directory |
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
git clone git://github.com/mvidner/ruby-dbus.git | |
cd ruby-dbus | |
rake gem | |
# choose your install method rvm gem install|gem install|sudo gem install | |
rvm gem install pkg/ruby-dbus-version.gem |
OlderNewer