Skip to content

Instantly share code, notes, and snippets.

View axilleas's full-sized avatar
🏠
Working from home

Achilleas Pipinellis axilleas

🏠
Working from home
View GitHub Profile
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.
@axilleas
axilleas / mock.log
Created June 24, 2013 16:19
Fedora mock test errors while packaging redis-rb
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
@axilleas
axilleas / System Dependencies
Created July 5, 2013 15:24
Install GitLab 5.3 on Fedora
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
@axilleas
axilleas / dashboard_err.log
Last active December 21, 2015 17:09
Dashboard not showing in GitLab (ActionController::RoutingError)
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)
@axilleas
axilleas / cpuinfo
Last active December 22, 2015 01:49
/proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 2
model name : QEMU Virtual CPU version 1.1.2
stepping : 3
microcode : 0x1000065
cpu MHz : 2100.040
cache size : 512 KB
fpu : yes
@axilleas
axilleas / journal.log
Created September 17, 2013 16:46
journal log
-- Logs begin at Thu 2013-08-01 10:34:18 EEST, end at Tue 2013-09-17 18:35:14 EEST. --
Sep 17 18:33:45 thedude systemd-journal[95]: Runtime journal is using 344.0K (max 94.6M, leaving 141.9M of free 946.1M, current limit 94.6M).
Sep 17 18:33:45 thedude systemd-journal[95]: Runtime journal is using 348.0K (max 94.6M, leaving 141.9M of free 946.1M, current limit 94.6M).
Sep 17 18:33:45 thedude kernel: Initializing cgroup subsys cpuset
Sep 17 18:33:45 thedude kernel: Initializing cgroup subsys cpu
Sep 17 18:33:45 thedude kernel: Initializing cgroup subsys cpuacct
Sep 17 18:33:45 thedude kernel: Linux version 3.11.1-1-ARCH (tobias@testing-i686) (gcc version 4.8.1 20130725 (prerelease) (GCC) ) #1 SMP PREEMPT Sat Sep 14 20:31:35 CEST 2013
Sep 17 18:33:45 thedude kernel: Disabled fast string operations
Sep 17 18:33:45 thedude kernel: e820: BIOS-provided physical RAM map:
Sep 17 18:33:45 thedude kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
@axilleas
axilleas / output
Created November 9, 2013 18:46
igitlab
Cloning into 'gitlab-shell'...
remote: Counting objects: 904, done.
remote: Compressing objects: 100% (555/555), done.
remote: Total 904 (delta 454), reused 742 (delta 314)
Receiving objects: 100% (904/904), 145.26 KiB | 151.00 KiB/s, done.
Resolving deltas: 100% (454/454), done.
Checking connectivity... done
error: unknown switch `s'
usage: git checkout [options] <branch>
or: git checkout [options] [<branch>] -- <file>...
@axilleas
axilleas / jail.pl
Created December 7, 2013 19:26 — forked from wilbowma/jail.pl
#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{
require "rubygems"
require "json"
require "net/http"
require "uri"
uri = URI.parse("http://api.sejmometr.pl/posiedzenia/BZfWZ/projekty")
http = Net::HTTP.new(uri.host, uri.port)
request = Net::HTTP::Get.new(uri.request_uri)
@axilleas
axilleas / git.sh
Created June 5, 2014 17:18
Install gti script
#!/usr/bin/env bash
wget -O /etc/yum.repos.d/PUIAS_6_computational.repo https://gitlab.com/gitlab-org/gitlab-recipes/raw/master/install/centos/PUIAS_6_computational.repo
wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-puias http://springdale.math.ias.edu/data/puias/6/x86_64/os/RPM-GPG-KEY-puias
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-puias
yum-config-manager --enable PUIAS_6_computational
yum -y update
git --version