Skip to content

Instantly share code, notes, and snippets.

View andresn's full-sized avatar

Andres Narvaez andresn

  • Self
  • Riverside, CA
View GitHub Profile
#!/bin/sh
##
# Install autoconf, automake and libtool smoothly on Mac OS X.
# Newer versions of these libraries are available and may work better on OS X
#
# This script is originally from http://jsdelfino.blogspot.com.au/2012/08/autoconf-and-automake-on-mac-os-x.html
#
export build=~/devtools # or wherever you'd like to build
# After
[
{
"settings": [ "master" ],
"appPort":421,
"mojitsDirs": ["mojits", "node_modules/mojito-shaker/mojits"],
"routesFiles": [ "routes.json" ],
"cacheViewTemplates" : false,
"viewLevelCache" : {
//=============================================================================
// MuseScore
// Music Composition & Notation
//
// Note Names Plugin
//
// Copyright (C) 2012 Werner Schweer
// Copyright (C) 2013 Joachim Schmitz
//
// This program is free software; you can redistribute it and/or modify
58% 731/905 build modules
fs.js:427
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: UNKNOWN, unknown error '/Users/andresn/.babel.json'
at Object.fs.openSync (fs.js:427:18)
at Object.fs.writeFileSync (fs.js:966:15)
at save (/Users/andresn/dev14/shangrila/node_modules/babel-core/lib/api/register/cache.js:35:19)
at process._tickDomainCallback (node.js:459:13)
at Function.Module.runMain (module.js:499:11)
tdv2-stream-items-core.js 583 kB 53, 25 [emitted] tdv2-stream-items-core
tdv2-stream-lib.js 1.23 kB 54, 26 [emitted] tdv2-stream-lib
common.js 15 MB 55 [emitted] common.js
ERROR in ./~/td-beacon/plugins/beaconPlugin.js
Module build failed: Error: UNKNOWN, open '/Users/andresn/dev14/shangrila/node_modules/td-beacon/plugins/beaconPlugin.js'
@ ./~/td-beacon/index.js 3:18-58
ERROR in ./~/he/he.js
Module build failed: Error: UNKNOWN, open '/Users/andresn/dev14/shangrila/node_modules/he/he.js'
@andresn
andresn / baseConverter.js
Created February 24, 2016 03:08 — forked from faisalman/baseConverter.js
Convert From/To Binary/Decimal/Hexadecimal in JavaScript
/**
* Convert From/To Binary/Decimal/Hexadecimal in JavaScript
* https://gist.github.com/faisalman
*
* Copyright 2012-2015, Faisalman <fyzlman@gmail.com>
* Licensed under The MIT License
* http://www.opensource.org/licenses/mit-license
*/
(function(){
this.TABLE.push(
{
beginningHealth: beginningHealth,
beginningHealthPerSprint: beginningHealthPerSprint,
'this.healthIntervals': this.healthIntervals,
'% elapsed of interval': ( this.elapsedDistanceSinceLastSprint / this.flightUntil ),
healthDiscount: healthDiscount,
endHealth: this.health,
endHealthPerSprint: this.healthPerSprint
export default class SplashScreen extends Component {
constructor (props) {
super(props);
this.state = {
cleanUp: false
};
this.cleanUpAndNavigate = this.cleanUpAndNavigate.bind(this);
}
navigateTo(name, page, data, hideNavigationBar) {
@andresn
andresn / gist:1f35d718da9fc57542bb399460f2efd0
Created July 5, 2016 19:40
[React Native][Getting Started] error: ignoring return value of function declared with warn_unused_result attribute
Found Xcode project AwesomeProject.xcodeproj
Launching iPhone 6 (10.0)...
Building using "xcodebuild -project AwesomeProject.xcodeproj -scheme AwesomeProject -destination id=2DE46585-1211-49CB-B5E2-AC3AF7777C3C -derivedDataPath build"
User defaults from command line:
IDEDerivedDataPathOverride = /Users/andresn/dev/AwesomeProject/ios/build
=== BUILD TARGET RCTLinking OF PROJECT RCTLinking WITH CONFIGURATION Debug ===
Check dependencies