- http://wiki.qemu-project.org/Documentation/GettingStartedDevelopers
- https://lists.gnu.org/archive/html/qemu-devel/2017-02/msg07818.html
This file contains hidden or 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
# Export a specific `[email protected]` key in an encrypted (i.e. password-protected) file `mykey.sec.asc` | |
gpg --armor --export-secret-keys [email protected] | gpg --armor --symmetric --output mykey.sec.asc | |
# Import the key in `mykey.sec.asc`. `gpg` will ask for the password used when exporting. | |
gpg --no-use-agent --output - mykey.sec.asc | gpg --import |
This file contains hidden or 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
scripts/get_maintainer.pl *.patch | cut -f1 -d'(' | sed 's/ $//' | sed 's/\(.*\)/--cc=\\"\1\\"/' | xargs |
This file contains hidden or 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
sudo apt-get install libmoose-perl libtemplate-perl libmoosex-types-path-class-perl libdatetime-perl libdatetime-format-w3cdtf-perl libtemplate-plugin-html-strip-perl libdata-guid-perl |
This file contains hidden or 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/bash | |
set -e | |
PREFIX=$HOME | |
CURL_=curl-7.32.0 | |
CURL=${CURL_}.tar.bz2 | |
if [[ ! -d $CURL_ ]]; then | |
wget http://curl.haxx.se/download/$CURL |
This file contains hidden or 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
chiliproject@cay2:~$ RAILS_ENV=production rake db:migrate_plugins --trace | |
** Invoke db:migrate_plugins (first_time) | |
** Invoke db:migrate:plugins (first_time) | |
** Invoke environment (first_time) | |
** Execute environment | |
rake aborted! | |
no such file to load -- lockfile | |
/usr/local/rvm/gems/ruby-1.8.7-p352/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:184:in `require' | |
/usr/local/rvm/gems/ruby-1.8.7-p352/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:184:in `require' | |
/var/www/chiliproject/vendor/plugins/redmine-gitolite/lib/gitolite-redmine.rb:1 |
This file contains hidden or 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
root@cay2:/var/www/chiliproject# RAILS_ENV=production rake db:migrate:plugins --trace | |
** Invoke db:migrate:plugins (first_time) | |
** Invoke environment (first_time) | |
** Execute environment | |
rake aborted! | |
no such file to load -- lockfile | |
/usr/local/rvm/gems/ruby-1.8.7-p352/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:184:in `require' | |
/usr/local/rvm/gems/ruby-1.8.7-p352/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:184:in `require' | |
/var/www/chiliproject/vendor/plugins/redmine-gitolite/lib/gitolite-redmine.rb:1 | |
/usr/local/rvm/gems/ruby-1.8.7-p352/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:184:in `require' |
This file contains hidden or 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
/* | |
* bitslice.c | |
* build with gcc -Wall. | |
* | |
* simple macros to extract u{8,16,32}'s from variables. | |
*/ | |
#include <stdint.h> | |
#include <stdio.h> | |
#define __shift(n, log) ((n) << (log)) |