Skip to content

Instantly share code, notes, and snippets.

Vít Ondruch voxik

  • Czech Republic
Block or report user

Report or block voxik

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View KeyValueTree.c
/* KeyValueTree.c generated by valac 0.37.90, the Vala compiler
* generated from KeyValueTree.vala, do not modify */
/*
* Copyright 2014 Jiří Janoušek <janousek.jiri@gmail.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
View gist:8fa0593faec15225ecb0
#!/usr/bin/ruby
#
# This scipt is designed to work with mock 1.2.0+
require 'uri'
require 'shellwords'
class Mock
attr_reader :root
View gist:5186924
--- fedora-18-x86_64/root/tmp/mysql-ruby-2.8.2/Makefile
+++ fedora-rawhide-x86_64/root/tmp/mysql-ruby-2.8.2/Makefile
@@ -5,29 +5,44 @@
V = 0
Q1 = $(V:1=)
Q = $(Q1:0=@)
-n=$(NULLCMD)
-ECHO1 = $(V:1=@$n)
+ECHO1 = $(V:1=@:)
ECHO = $(ECHO1:0=@echo)
View gist:5162950
--- /var/lib/mock/fedora-rawhide-x86_64/root/builddir/build/BUILD/mysql-ruby-2.8.2/Makefile
+++ /var/lib/mock/fedora-18-x86_64/root/builddir/build/BUILD/mysql-ruby-2.8.2/Makefile
@@ -5,41 +5,26 @@
V = 1
Q1 = $(V:1=)
Q = $(Q1:0=@)
-ECHO1 = $(V:1=@:)
+n=$(NULLCMD)
+ECHO1 = $(V:1=@$n)
ECHO = $(ECHO1:0=@echo)
View gist:5016136
# ruby -rrbconfig -e "RbConfig::CONFIG.each {|c| p c}"
["DESTDIR", ""]
["MAJOR", "2"]
["MINOR", "0"]
["TEENY", "0"]
["PATCHLEVEL", "-1"]
["INSTALL", "/usr/bin/install -c"]
["EXEEXT", ""]
["prefix", ""]
["ruby_install_name", "ruby"]
View gist:3994484
$ make -j4 'COPY=cp -p' Q=
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -mtune=generic -fPIC -m64
XCFLAGS = -include ruby/config.h -include ruby/missing.h -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -I. -I.ext/include/x86_64-linux -I./include -I.
DLDFLAGS = -Wl,-soname,libruby.so.2.0 -fstack-protector -m64
SOLIBS = -lpthread -lrt -ldl -lcrypt -lm
compiling main.c
View gist:3957425
make -j16 'COPY=cp -p' Q=
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -m32
XCFLAGS = -include ruby/config.h -include ruby/missing.h -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -I. -I.ext/include/powerpc-linux -I./include -I.
DLDFLAGS = -Wl,-soname,libruby.so.1.9 -m32
SOLIBS = -lpthread -lrt -ldl -lcrypt -lm
compiling main.c
View gem-nice-install.gemspec
# -*- encoding: utf-8 -*-
gemspec = Gem::Specification.new do |s|
s.name = "gem-nice-install"
s.version = "0.1.0"
s.summary = "A RubyGems plugin that improves gem installation user experience."
s.description = <<-EOF
A RubyGems plugin that improves gem installation user experience. If binary extension build fails,
it tries to install its development dependencies.
View gist:3871355
# for i in $(find ./spec -name *_spec.rb); do echo ${i}; done
./spec/autotest/discover_spec.rb
./spec/autotest/failed_results_re_spec.rb
./spec/autotest/rspec_spec.rb
./spec/command_line/order_spec.rb
./spec/rspec/core/command_line_spec.rb
./spec/rspec/core/configuration_options_spec.rb
./spec/rspec/core/configuration_spec.rb
./spec/rspec/core/deprecations_spec.rb
./spec/rspec/core/drb_command_line_spec.rb
View gist:3553248
+ ./build.sh all gtk2
NOTE: miscellaneous options file not found - using defaults
TBaseCompilerOptions.MakeOptionsString UnitOutputDirectory="lib/$(TargetCPU)-$(TargetOS)" CurOutputDir="/builddir/build/BUILD/doublecmd-0.5.5/components/chsdet/lib/x86_64-linux/"
TLazPackageGraph.CheckIfPackageNeedsCompilation No state file for chsdet 0.0
[TExternalToolList.Run] CmdLine="/usr/bin/fpc -B -MObjFPC -Scghi -Cro -O1 -g -gl -vewnhi -l -Fu/builddir/build/BUILD/doublecmd-0.5.5/components/chsdet/src -Fu/builddir/build/BUILD/doublecmd-0.5.5/components/chsdet/src/sbseq -Fu/usr/lib64/lazarus/packager/units/x86_64-linux -Fu/builddir/build/BUILD/doublecmd-0.5.5/components/chsdet/ -Fu. -FU/builddir/build/BUILD/doublecmd-0.5.5/components/chsdet/lib/x86_64-linux/ chsdet.pas" WorkDir="/builddir/build/BUILD/doublecmd-0.5.5/components/chsdet/"
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.6.0 [2012/05/14] for x86_64
Copyright (c) 1993-2011 by Florian K
You can’t perform that action at this time.