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
Debian Fedora 19 | |
------------------------------------- | |
sudo sudo | |
build-essential groupinstall 'Development Tools' 'Development Libraries' | |
zlib1g-dev zlib-devel | |
libyaml-dev libyaml-devel | |
libssl-dev openssl-devel | |
libgdbm-dev gdbm-devel | |
libreadline-dev readline-devel | |
libncurses5-dev ncurses-devel |
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
DEBUG: Finished tests in 15.473510s, 31.3439 tests/s, 116.0693 assertions/s. | |
DEBUG: 1) Failure: | |
DEBUG: TestCommandsOnStrings#test_bitop [/builddir/build/BUILD/redis-3.0.4/usr/share/gems/gems/redis-3.0.4/test/commands_on_strings_test.rb:97]: | |
DEBUG: <"\x9E"> (UTF-8) expected but was | |
DEBUG: <"\x9E"> (US-ASCII). | |
DEBUG: 2) Failure: | |
DEBUG: TestDistributedCommandsRequiringClustering#test_bitop [/builddir/build/BUILD/redis-3.0.4/usr/share/gems/gems/redis-3.0.4/test/distributed_commands_requiring_clustering_test.rb:162]: | |
DEBUG: <"\x9E"> (UTF-8) expected but was | |
DEBUG: <"\x9E"> (US-ASCII). | |
DEBUG: 485 tests, 1796 assertions, 2 failures, 0 errors, 0 skips |
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
bundle install | |
Fetching gem metadata from https://rubygems.org/....... | |
Fetching gem metadata from https://rubygems.org/.. | |
Enter your password to install the bundled RubyGems to your system: | |
Using archive-tar-minitar (0.5.2) | |
Using bunny (0.7.9) | |
Using erubis (2.7.0) | |
Using highline (1.6.15) | |
Installing json (1.6.1) | |
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. |
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
#a/usr/bin/perl | |
# This script was hastily cobbled together for my own use. It can | |
# probably break your system. Use at your own risk. | |
$JAIL = "/srv/http"; | |
$USER = "http"; | |
$GROUP = "http"; | |
$WWW_DIR = "www"; | |
sub run{ |
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/env bash | |
# https://wiki.archlinux.org/index.php/GRUB2#Install_to_440-byte_MBR_boot_code_region | |
modprobe dm-mod | |
grub-install --target=i386-pc --recheck --debug /dev/sda | |
cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo |
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
--- _django.org 2012-06-16 23:48:07.256319726 +0900 | |
+++ .compfunc/_django 2012-06-16 23:55:32.556331127 +0900 | |
@@ -31,7 +31,6 @@ | |
"cleanup:remove old data from the database" | |
"compilemessages:compile .po files to .mo for use with gettext" | |
"createcachetable:creates table for SQL cache backend" | |
- "createsuperuser:create a superuser" | |
"dbshell:run command-line client for the current database" | |
"diffsettings:display differences between the current settings and Django defaults" | |
"dumpdata:output contents of database as a fixture" |
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
# Maintainer: Pierre Chapuis <catwell at archlinux dot us> | |
# NOTE: This package relies on Mplayer's configure script to detect what is | |
# useful on your system. Build it on the machine you will use it on. | |
# If some features don't work, install the related optdepends *before* | |
# building. | |
# Before reporting any bug, please download a fresh copy of the package from | |
# the AUR and build the package using makepkg (not Yaourt). | |
pkgname=mplayer-minimal-svn |
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
server { | |
listen YOUR_SERVER_IP:80; # e.g., listen 192.168.1.1:80; | |
server_name YOUR_SERVER_FQDN; # e.g., server_name source.example.com; | |
root /home/gitlab/gitlab/public; | |
# individual nginx logs for this gitlab vhost | |
access_log /var/log/nginx/gitlab_access.log; | |
error_log /var/log/nginx/gitlab_error.log; | |
location / { |
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
# thanks to http://www.andmarios.com/en/2012/06/gitlab-on-an-ubuntu-10-04-server-with-apache/ | |
<VirtualHost *:80> | |
ServerName arch.localdomain | |
DocumentRoot /home/gitlab/gitlab/public | |
ErrorLog /var/log/httpd/gitlab_error_log | |
CustomLog /var/log/http/gitlab_access_log combined | |
<Directory /home/gitlab/gitlab/public> | |
AllowOverride All |
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
In about:config add the following: | |
network.protocol-handler.expose.magnet | |
Set it's initial value to false. When you open a magnet link you will be prompted with a Launch Application dialogue. From there simply select your chosen torrent client. This technique can also be used with other protocols. |