This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
import argparse | |
import re | |
class InstrTraceBreakpoint(gdb.Breakpoint): | |
def __init__(self, location, nb_args, *args, **kwargs): | |
super(InstrTraceBreakpoint, self).__init__(location, gdb.BP_BREAKPOINT, internal=True) | |
self.silent = True | |
self.nb_args = nb_args | |
return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -eu | |
TIMESTAMP=`date '+%Y-%m-%d-%H:%M:%S'`; | |
perf buildid-cache --add /usr/local/lib/librfxencode.so.0 | |
perf buildid-cache --add /usr/local/lib/xrdp/libxrdp.so.0 | |
perf buildid-cache --add /usr/lib/xorg/modules/libxorgxrdp.so | |
perf buildid-cache --add `which xrdp` | |
perf probe --del 'sdt_librfxcodec:*' || true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configs | |
config defaultToCurrentScreen true | |
config nudgePercentOf screenSize | |
config resizePercentOf screenSize | |
config secondsBetweenRepeat 0.1 | |
config checkDefaultsOnLoad true | |
config focusCheckWidthMax 3000 | |
config keyboardLayout dvorak | |
config windowHintsShowIcons true | |
config windowHintsIgnoreHiddenWindows false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Tristan's Foot Pedals and Latency Tester Arduino Program | |
// Provides 5 buttons: left click, right click, scroll up, scroll down, latency test | |
// If you don't want all of these you can comment out the buttons you don't need. | |
#define BOUNCE_LOCK_OUT | |
#include <Bounce2.h> | |
#include "Keyboard.h" | |
const int scrollInterval = 80; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Packages/Merlin/sublime-text-merlin.py b/Packages/Merlin/sublime-text-merlin.py | |
--- a/Packages/Merlin/sublime-text-merlin.py | |
+++ b/Packages/Merlin/sublime-text-merlin.py | |
@@ -248,6 +248,57 @@ | |
else: | |
opened_view.run_command("insert_code", { "arg": sig }) | |
+class MerlinInfoPopup: | |
+ """ | |
+ Pop up a menu at a point describing an expression |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; This gist has been superseded by a Github repo, new activity will | |
;; happen at https://github.com/aspiers/etrace | |
;;; etrace.el --- Emacs Lisp Tracer -*- lexical-binding: t -*- | |
;; Released under the MIT license, Copyright Jane Street Group, LLC | |
;; This module modifies the instrumentation profiler included with | |
;; Emacs called "elp" to also record trace events for the beginning | |
;; and end of function calls, and provides a function to write out | |
;; those events in Chromium JSON trace format. | |
;; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"auto_complete_commit_on_tab": true, | |
"auto_complete_triggers": | |
[ | |
{ | |
"characters": "<", | |
"selector": "text.html" | |
}, | |
{ | |
"characters": ".", |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Used to send data from a VMWare VM running the EyeX software | |
// with a Steelseries Sentry to a Mac OSX host over UDP. | |
namespace MinimalGazeDataStream | |
{ | |
using EyeXFramework; | |
using System; | |
using System.Net; | |
using System.Net.Sockets; | |
using System.Text; | |
using Tobii.EyeX.Framework; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Step-By-Step Gaussian Elimination on Augmented Matrices | |
# By Tristan Hume | |
require "rational" | |
def reduce_down(mat) | |
# Use each row going down to cancel lower rows | |
# Each iteration of this loop is one step | |
rows = mat.length | |
(0..rows-2).each do |ri1| |
NewerOlder