Skip to content

Instantly share code, notes, and snippets.

View maxfierke's full-sized avatar
🌋
NoMethodError: undefined method `status' for #<ProfileInfo:0x00007fc2ffae9f38>

Max Fierke maxfierke

🌋
NoMethodError: undefined method `status' for #<ProfileInfo:0x00007fc2ffae9f38>
View GitHub Profile
@maxfierke
maxfierke / bryan-is-a-repo-ninja.txt
Created December 5, 2012 02:54
Bryan's multi-repo Android setup
<bhundven> copy current functionality for now
<bhundven> then add new features afterwards
<bhundven> reposwitch: http://pastebin.com/Tx3zUPbG
<bhundven> reposync: http://pastebin.com/hnpugSMM
<bhundven> it's kind of a hack
<bhundven> so
<bhundven> first
<bhundven> sync aosp mirror
<bhundven> mkdir -p ~/android/aosp-mirror
<bhundven> cd $_
@maxfierke
maxfierke / bleufear.colors
Created March 24, 2013 22:48
BleuFear KDE 4 color scheme. Not incredibly refined, but it matches pretty well with the GTK theme.
[ColorEffects:Disabled]
Color=0,0,0
ColorAmount=-0.8
ColorEffect=0
ContrastAmount=0.5
ContrastEffect=1
IntensityAmount=0.25
IntensityEffect=2
[ColorEffects:Inactive]
@maxfierke
maxfierke / gist:10739526
Created April 15, 2014 15:00
keybase.md

Keybase proof

I hereby claim:

  • I am maxfierke on github.
  • I am m4xm4n (https://keybase.io/m4xm4n) on keybase.
  • I have a public key whose fingerprint is EFDF C1DB 0209 4716 43EF 8D6C 5D3C 9BA9 5C4A B78D

To claim this, I am signing this object:

# The blog post that started it all: https://neocities.org/blog/the-fcc-is-now-rate-limited
#
# Current known FCC address ranges:
# https://news.ycombinator.com/item?id=7716915
#
# Confirm/locate FCC IP ranges with this: http://whois.arin.net/rest/net/NET-165-135-0-0-1/pft
#
# In your nginx.conf:
location / {
@maxfierke
maxfierke / docker-compose.yml
Created September 26, 2015 21:07
Docker-compose roles reusing same image
db:
image: postgres:9.4.1
ports:
- "5432:5432"
redis:
image: redis
worker:
build: .
command: bundle exec sidekiq
environment:
@maxfierke
maxfierke / 0001-AxDroid-Dell-Axim-x51v-patches.patch
Created November 9, 2015 04:50
Collection of Dell Axim X50/X51(v) related linux patches
From 6d9ae3523f12b1cf0e65ca493b8a2fb73fd31bf9 Mon Sep 17 00:00:00 2001
From: Ertan Deniz <ertan@ertan-desktop.local>
Date: Tue, 25 Aug 2009 20:04:07 +0300
Subject: [PATCH] AxDroid - Dell Axim x51v patches
---
Makefile | 6 +-
arch/arm/configs/aximx50_static_defconfig | 1638 ++++++++++++++++
arch/arm/mach-pxa/Kconfig | 2 +
arch/arm/mach-pxa/Makefile | 1 +
@maxfierke
maxfierke / README.md
Last active September 8, 2020 14:34
PM2 as a Windows Service under Local Service

PM2 as a Windows Service under Local Service

This is a PoC for running PM2 as a Windows Service under the Local Service account instead of the Local System account.

Prerequsites

  • Neither pm2 or pm2-windows-service installed yet. (The Powershell script will run npm i)
    • At the very least, you should run pm2-service-uninstall before running this script
  • npm and npm-cache global folders should be somewhere accessible to NT AUTHORITY\LocalService.
@maxfierke
maxfierke / controllers.application.js
Created May 16, 2017 02:06
injecting DS.Store into a helper
import Ember from 'ember';
const { inject } = Ember;
export default Ember.Controller.extend({
store: inject.service()
});
@maxfierke
maxfierke / controllers.application.js
Last active May 30, 2017 21:04
ember-procrastination demo
import Ember from 'ember';
import { someday } from 'ember-procrastination';
import { timeout } from 'ember-concurrency';
export default Ember.Controller.extend({
regenerateNumber: someday(function* () {
this.set('num', Math.random());
yield timeout(1000);
})
});
import Ember from 'ember';
import { task, timeout, all } from 'ember-concurrency';
import { retryable, DelayPolicy } from 'ember-concurrency-retryable';
import RSVP from 'rsvp';
const delayPolicy = new DelayPolicy({ delay: [100, 100] });
const originalEmberOnError = Ember.onerror;
let defers = [];