Skip to content

Instantly share code, notes, and snippets.

View ronindesign's full-sized avatar

Tim Turner ronindesign

View GitHub Profile
@ronindesign
ronindesign / Mac OS X 10_5_ Windows Ctrl.xml
Created September 7, 2018 03:20 — forked from fljot/Mac OS X 10_5_ Windows Ctrl.xml
AutoHotkey mappings to emulate OSX keyboard shortcuts on Windows
<!-- put this to IDEA keymaps config folder. For v13 it is <userdir>\.IntelliJIdea13\config\keymaps\ -->
<?xml version="1.0" encoding="UTF-8"?>
<keymap version="1" name="Mac OS X 10.5+ Windows Ctrl" parent="Mac OS X 10.5+">
<action id="$Copy">
<keyboard-shortcut first-keystroke="meta C" />
<keyboard-shortcut first-keystroke="meta INSERT" />
<keyboard-shortcut first-keystroke="control C" />
<keyboard-shortcut first-keystroke="control INSERT" />
</action>
<action id="$Cut">
@ronindesign
ronindesign / language-choice-by-peter-norvig.md
Last active May 2, 2018 19:05
Peter Norvig on language choice

In terms of programming-in-the-large, at Google and elsewhere, I think that language choice is not as important as all the other choices: if you have the right overall architecture, the right team of programmers, the right development process that allows for rapid development with continuous improvement, then many languages will work for you; if you don't have those things you're in trouble regardless of your language choice. -- Peter Norvig

Ref: https://news.ycombinator.com/item?id=1803815

@ronindesign
ronindesign / revert-a-faulty-merge.txt
Created April 11, 2018 16:56
GIT: Revert a faulty merge (Linus Torvalds)
REF: https://mirrors.edge.kernel.org/pub/software/scm/git/docs/howto/revert-a-faulty-merge.txt
Archive: April 11, 2018
Date: Fri, 19 Dec 2008 00:45:19 -0800
From: Linus Torvalds <torvalds@linux-foundation.org>, Junio C Hamano <gitster@pobox.com>
Subject: Re: Odd merge behaviour involving reverts
Abstract: Sometimes a branch that was already merged to the mainline
is later found to be faulty. Linus and Junio give guidance on
recovering from such a premature merge and continuing development
after the offending branch is fixed.
time type distance disposition
10.767 Suspect 364.966253229622 HANDLED BY OFFICER
9.383 Theft 655.532480744734 REPORT
7.433 NonViolent 418.959396534806 HANDLED BY OFFICER
7.083 Suspect 421.977374823697 UNABLE TO LOCATE
6.933 NonViolent 462.310209812741 REPORT
18.933 Theft 609.032939868237 HANDLED BY OFFICER
16.717 Suspect 389.345420404078 UNABLE TO LOCATE
13.017 Theft 291.593094160669 OTHER
1.683 Suspect 1266.2267703109 HANDLED BY OFFICER
@ronindesign
ronindesign / starbattle-teamspeak3-server-update.md
Created September 17, 2016 02:29
Star Battle TeamSpeak 3 - Upgrade and Migration

Star Battle TeamSpeak 3 - New Server Information

New Server Info

New IP Address: 168.235.79.195

Tempory/Test DNS: ts2.learnstarbattle.com (will become ts1.learnstarbattle.com after migration period)

Password: solofarmer

Why do I care and what do I need to do?

Keybase proof

I hereby claim:

  • I am ronindesign on github.
  • I am tturner (https://keybase.io/tturner) on keybase.
  • I have a public key whose fingerprint is 0F71 F733 BD32 7712 F256 121C A887 B2AE 172F D5C8

To claim this, I am signing this object:

object User "pagerduty" {
pager = "SERVICE_KEY_HERE"
groups = [ "icingaadmins" ]
display_name = "PagerDuty Notification User"
states = [ OK, Warning, Critical, Unknown ]
types = [ Problem, Recovery ]
}
object NotificationCommand "notify-service-by-pagerduty" {
import "plugin-notification-command"
vmap ]i <Esc>l[bv]w
omap ]i :normal v]i<CR>
class Test
{
private $obj;
const MAP = ['testKey' => 'test'];
function __construct() {
$this->obj = new \stdClass();
$this->obj->test = "testObject";
}
Cool Idea:
* MySAM Stats (stats)
- FitBit / Pedometor / HR Monitor Sync with MySAM. Compare / compete with friends based on steps per (game / season), avg steps / heartrate per game, highest overall steps in a single game for a season (top steps)
- Allows additional stats-based, competative metrics
- Social engagement: points for sharing / promoting your team (this in turn promotes the facility / company, and of course, DASH)
* DASH Events (pub-sub)
- Implement (even a basic) Event System
- Allows different parts of DASH to passively integrate (i.e. without direct call / forcing, non-blocking)
- Modules that are expected to react can all do so by subscribing to an event type and triggering when such an event is broadcasted, especially when considering it can be done asynchronously and with multithreading (e.g., http://reactphp.org/)