Skip to content

Instantly share code, notes, and snippets.

@yosiat
yosiat / servo - "make check"
Created July 23, 2012 16:56
servo "make check" failure snippt for issue reporting
ake tools
make -C config tools
make[3]: Nothing to be done for `tools'.
make -C editline tools
make[3]: Nothing to be done for `tools'.
make -C shell tools
make[3]: Nothing to be done for `tools'.
make -C jsapi-tests tools
make[3]: Nothing to be done for `tools'.
make -C tests tools
@yosiat
yosiat / Homebrew config.log
Created August 12, 2012 19:35
homebrew failure of installing libnet
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by libnet configure 1.1.6, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/libnet/1.1.6
## --------- ##
## Platform. ##
// When the document is ready to be manipulated..
$(document).ready(function(){
// connect to sokcet io
var socket = io.connect('http://localhost:1337');
var $box = $("#box");
$box.draggable({
drag: function(){
socket.emit("box_moved", {
offsetTop : this.offsetTop,
class ImportWorker
include Sidekiq::Worker
include Sidekiq::Status::Worker
def get_command
# This command just returns the "git-tf clone .." command, getting from config file the paramters
# and concating all
command
end
@yosiat
yosiat / seedfu-errors
Created April 27, 2013 11:12
seedfu gitlab
[2013-04-27T11:04:50+00:00] INFO: Processing execute[gitlab-development-setup] action run (gitlab::vagrant line 190)
[2013-04-27T11:05:28+00:00] INFO: execute[gitlab-development-setup] ran successfully
[2013-04-27T11:05:28+00:00] INFO: Processing execute[gitlab-development-seed] action run (gitlab::vagrant line 198)
================================================================================
Error executing action `run` on resource 'execute[gitlab-development-seed]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
➜ test git:(master) git svn clone http://protobuf.googlecode.com/svn/ test --stdlayout -Ttags/
.. GIT SVN RESULTS ..
➜ test git:(master) git tag -l
➜ test git:(master) git branch -a
* master
remotes/maven-plugin
remotes/maven-plugin@94
remotes/tags/2.0.2
remotes/tags/2.0.2@60
remotes/tags/2.0.3
@yosiat
yosiat / overloading.js
Created August 4, 2013 19:01
overloading
function one_arity(first_arg) {
console.log("one_arity: " + first_arg);
}
function two_arity(first_arg, second_arg) {
console.log("two_arity: " + first_arg, second_arg);
}
function caller() {
@yosiat
yosiat / superclass.js
Last active December 20, 2015 15:08
superclass
// Removed toJSON, just for beautifying :)
/* CONSTRUCTOR -> */ function expression() {
};
Object.defineProperty(expression.prototype, "_type",
{
get : function(){
@yosiat
yosiat / replace_poc.js
Created December 3, 2013 20:44
crossfilter replace POC
function replace(newData) {
var nindex = crossfilter_range(newData.length);
// Update indexes.
removeDataListeners.forEach(function(l) {
l(nindex);
});
// Remove all matching records from groups.
@yosiat
yosiat / gist:8248304
Created January 3, 2014 22:57
XamarinCrashReport
Process: XamarinStudio [12766]
Path: /Applications/Xamarin Studio.app/Contents/MacOS/XamarinStudio
Identifier: com.xamarin.monodevelop
Version: 4.2.2.2 (4.2.2.2)
Code Type: X86 (Native)
Parent Process: launchd [241]
Responsible: XamarinStudio [12766]
User ID: 501
Date/Time: 2014-01-04 00:53:58.540 +0200