Skip to content

Instantly share code, notes, and snippets.

Alan Andrade alan-andrade

Block or report user

Report or block alan-andrade

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
@alan-andrade
alan-andrade / config.md
Created Sep 7, 2018 — forked from 0XDE57/config.md
Firefox about:config privacy settings
View config.md

ABOUT

about:config settings to harden the Firefox browser. Privacy and performance enhancements.
To change these settings type 'about:config' in the url bar. Then search the setting you would like to change and modify the value. Some settings may break certain websites from functioning and rendering normally. Some settings may also make firefox unstable.

I am not liable for any damages/loss of data.

Not all these changes are necessary and will be dependent upon your usage and hardware. Do some research on settings if you don't understand what they do. These settings are best combined with your standard privacy extensions (HTTPS Everywhere, NoScript/Request Policy, uBlock origin, agent spoofing, Privacy Badger etc), and all plugins set to "Ask To Activate".

@alan-andrade
alan-andrade / Ohhh noes.txt
Created Oct 12, 2017 — forked from unixcharles/Ohhh noes.txt
OSX libxml2 error fix
View Ohhh noes.txt
Look like brew libxml2 and the one bundled with osx are fighting
/Users/unixcharles/.rvm/gems/ruby-1.8.7-p352/gems/libxml-ruby-1.1.4/lib/libxml_ruby.bundle: dlsym(0x7ffb44ee7880, Init_libxml_ruby): symbol not found - /Users/unixcharles/.rvm/gems/ruby-1.8.7-p352/gems/libxml-ruby-1.1.4/lib/libxml_ruby.bundle (LoadError)
from /Users/unixcharles/.rvm/gems/ruby-1.8.7-p352/gems/libxml-ruby-1.1.4/lib/libxml.rb:9
from /Users/unixcharles/.rvm/gems/ruby-1.8.7-p352/gems/bundler-1.0.15/lib/bundler/runtime.rb:68:in `require'
from /Users/unixcharles/.rvm/gems/ruby-1.8.7-p352/gems/bundler-1.0.15/lib/bundler/runtime.rb:68:in `require'
from /Users/unixcharles/.rvm/gems/ruby-1.8.7-p352/gems/bundler-1.0.15/lib/bundler/runtime.rb:66:in `each'
from /Users/unixcharles/.rvm/gems/ruby-1.8.7-p352/gems/bundler-1.0.15/lib/bundler/runtime.rb:66:in `require'
from /Users/unixcharles/.rvm/gems/ruby-1.8.7-p352/gems/bundler-1.0.15/lib/bundler/runtime.rb:55:in `each'
from /Users/unixcharles/.rvm/gems/ruby-1.8.7-p352/gems/bundler-1.0.1
@alan-andrade
alan-andrade / Ioc.md
Last active Jul 25, 2017
Inversion Of Control
View Ioc.md

The term Inversion of control started to be used when programming started to do UI applications.

print "What's your name?"
var name = READLINE()

The control relies on the user for the program to continue.

On UI, the code has to be always running and be ready to react when the user taps the screen.

View checklist.md
  • Aggregate total gameplays with new endpoint.
  • Empty look on lpi screen if nothing renders.
  • Last update label on calendar.
  • Position arrow under current day.
  • View layout fixes such as margin at the bottom of the page.
View gist:6b90afda1d1015f0b376aa51179cd94d
Elevation Bike Company (make sure they have bike)
Saturday Morning - :
View plan_script.rb
module Migrator
@plan_names = %w(
com.lumosity.mobile.onemonth
com.lumosity.mobileipad.onemonth
com.lumosity.mobile.oneyear
com.lumosity.mobile.recurring.oneyear.20_off
com.lumosity.mobile.recurring.oneyear.25_off
com.lumosity.mobile.recurring.oneyear.35_off
com.lumosity.mobile.recurring.oneyear.40_off
com.lumosity.mobileipad.oneyear
View djSetPicnic.md

Red Axes - The Watkins (as background, melodies, cheerful) Red Axes - Queen Spade (minimal, transitioner) Red Axes - Red River (melancholic melody, long notes) Red Axes - Kicks Out of you (Rough vocals, dry beat, groovy) Red Axes - Too Late To Samba (Techno ish, groove) Red Axes - Pil Sagol (deep light melodic)

Margot - Magico Disco (disco groove, good on its own, deep , nice beat drop)

Moscoman - Devoue (Manfredas Remix) (Strange melody, trippy)

View domainNaming.md

Hey Folks !

Since we switched to Crashalytics, we're getting interesting emails of some failures that are happening on our application. None of them are urgent, however, it'd be awesome to consolidate our naming strategy to identify faster the point of failure.

With the refactor, there was a big effort on restructuring the system and split it into subsystems. The project ended up in a great spot and it's now easier to rationalize. In order to move this effort further, I'd like to

@alan-andrade
alan-andrade / keys.js
Last active Dec 28, 2015
emberjs test
View keys.js
test('should contain properties declared in the extension', function () {
var beer = Ember.Object.extend({
type: 'ipa'
}).create();
var keys = Ember.keys(beer);
deepEqual(keys, ['type']);
});
View pacer.m
- (void) testStartPacer{
[self.pacer onStart:^{
STAssertTrue([self.pacer isRunning], @"Timer should be running after calling start method");
}]
[self.pacer start];
}
You can’t perform that action at this time.