Skip to content

Instantly share code, notes, and snippets.

View rodcisal's full-sized avatar

Rodrigo Cisternas Albornoz rodcisal

  • Paris
View GitHub Profile
Error: `/mnt/data/1/node_modules/fibers/bin/linux-x64-v8-3.28/fibers.node` is missing. Try reinstalling `node-fibers`?
at Object.<anonymous> (/mnt/data/1/node_modules/fibers/fibers.js:13:8)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/mnt/data/1/programs/server/boot.js:1:75)
at Module._compile (module.js:460:26)
@rodcisal
rodcisal / gist:f37795fbd80519b4dbcd
Created February 9, 2015 14:28
modulus deployment error
➜ achs-updated git:(master) ✗ modulus deploy
Welcome to Modulus
You are logged in as [email protected]
[?] Are you sure you want to use project achs? (yes) yes
Meteor project detected...
Input: /Users/rodrigocisternas/meteor/achs-updated
Output: /Users/rodrigocisternas/meteor/achs-updated/.demeteorized
Determining Meteor version...
Meteor version: 1.0.3.1
Bundling Meteor App...
@rodcisal
rodcisal / gist:bed7e776512e865e633c
Created February 9, 2015 14:59
trying to deploy to a new servo
that.yielded.Dispose();
^
../src/fibers.cc: In static member function 'static v8::Handle<v8::Value> Fiber::New(const int&)':
../src/fibers.cc:223:13: error: request for member 'Length' in 'args', which is of non-class type 'const int'
if (args.Length() != 1) {
^
../src/fibers.cc:9:45: error: 'New' is not a member of 'v8::String'
#define THROW(x, m) return ThrowException(x(String::New(m)))
^
../src/fibers.cc:224:5: note: in expansion of macro 'THROW'
@rodcisal
rodcisal / gist:2201952f0cd9d8affbdb
Created February 17, 2015 15:49
modulus deployment error (again)
➜ meteor modulus deploy
Welcome to Modulus
You are logged in as [email protected]
Please choose which project to use:
1) achs
2) achs-testing
[?] project 1
Selecting achs
Compressing project...
@rodcisal
rodcisal / meteor-react
Created June 28, 2015 18:23
meteor-react
var MyComponent = React.createClass({
mixins: [ReactMeteor.Mixin],
startMeteorSubscriptions: function() {
Meteor.subscribe("players");
},
// Make sure your component implements this method.
getMeteorState: function() {
return {
unbind r
bind r source-file ~/.tmux.conf
######################
### DESIGN CHANGES ###
######################
# panes
set -g pane-border-fg black
import React from "react";
export default class Table extends React.Component {
constructor() {
super();
this.state = { query: '', filteredData: undefined };
}
searching = () => {
-- This is v0.6 of the custom script for AlfredApp for iTerm 2.9+
-- Please see https://github.com/stuartcryan/custom-iterm-applescripts-for-alfred/
-- for the latest changes.
-- Please note, if you store the iTerm binary in any other location than the Applications Folder
-- please ensure you update the two locations below (in the format of : rather than / for folder dividers)
-- this gets around issues with AppleScript not handling things well if you have two iTerm binaries on your system... which can happen :D
on alfred_script(q)
if application "iTerm2" is running or application "iTerm" is running then
Client Version: version.Info{Major:"1", Minor:"4+", GitVersion:"v1.4.0-beta.10", GitCommit:"3aa6d31d3a213ba04b3252cc123ddef26d44cd0e", GitTreeState:"clean", BuildDate:"2016-09-22T05:09:51Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"darwin/amd64"}
panic: runtime error: index out of range
goroutine 1 [running]:
panic(0x20856e0, 0xc820012080)
/usr/local/go/src/runtime/panic.go:481 +0x3e6
k8s.io/kubernetes/pkg/client/typed/discovery.apiVersionsToAPIGroup(0xc82031e2d0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x33ad548, 0x0, 0x0, ...)
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/client/typed/discovery/discovery_client.go:101 +0x20e
k8s.io/kubernetes/pkg/client/typed/discovery.(*DiscoveryClient).ServerGroups(0xc820475bc0, 0xc82058b4c8, 0x0, 0x0)
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/client/typed/discovery/discovery_client.go:113 +0x1f6
@rodcisal
rodcisal / gist:198f5658e208660cb887b4d6cc605502
Created March 20, 2017 20:28
Regiones y comunas de Chile
{
"regiones": [
{
"region": "Arica y Parinacota",
"comunas": [
"Arica",
"Camarones",
"Putre",
"General Lagos"
]