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
Started GET "/" for 127.0.0.1 at 2013-08-26 09:44:56 +0300 | |
Processing by DashboardController#show as HTML | |
Rendered events/_event_last_push.html.haml (0.2ms) | |
Rendered dashboard/_activities.html.haml (12.7ms) | |
Rendered dashboard/_projects.html.haml (49.6ms) | |
Rendered dashboard/_groups.html.haml (10.0ms) | |
Rendered shared/_promo.html.haml (0.4ms) | |
Rendered dashboard/_sidebar.html.haml (64.2ms) | |
Rendered dashboard/show.html.haml within layouts/application (78.7ms) | |
Rendered layouts/_head.html.haml (5.4ms) |
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
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 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
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 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
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 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
class Coordinate(object): | |
def __init__(self,x,y): | |
self.x = x | |
self.y = y | |
def getX(self): | |
# Getter method for a Coordinate object's x coordinate. | |
# Getter methods are better practice than just accessing an attribute directly | |
return self.x |
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
#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 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/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 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
--- _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 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
# 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 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 | |
########################## | |
## Check if run as root ## | |
########################## | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root" 1>&2 | |
exit 1 | |
fi |