Skip to content

Instantly share code, notes, and snippets.

View mdrx-io's full-sized avatar

Mike Lewis mdrx-io

View GitHub Profile
@mdrx-io
mdrx-io / config
Created October 12, 2014 01:05
Solarized-Dark Terminator config
[global_config]
title_transmit_bg_color = "#000000"
handle_size = 2
title_inactive_bg_color = "#000000"
[keybindings]
hide_window = <Shift><Control>a
[profiles]
[[default]]
scrollbar_position = hidden
palette = "#073642:#dc322f:#859900:#b58900:#268bd2:#d33682:#2aa198:#eee8d5:#002b36:#cb4b16:#586e75:#657b83:#839496:#6c71c4:#93a1a1:#fdf6e3"
@mdrx-io
mdrx-io / test-bashrc
Last active November 3, 2016 20:39
remote-bashrc-test
export HELLO="cool"
@mdrx-io
mdrx-io / prompt.sh
Created January 28, 2017 18:56
Bash prompt
# Crunchex's Bash Prompt
# Reset
Color_Off='\[\e[0m\]' # Text Reset
# Colors will work nice when used with "Solarized" palette.
# Nothing new here
White='\[\e[0;37m\]' # White
BPurple='\[\e[1;35m\]' # Purple
Green='\[\e[0;32m\]' # Green
Blue='\[\e[0;34m\]' # Blue
@mdrx-io
mdrx-io / snippets.cson
Created December 14, 2017 04:59
react-redux-snippets
# Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to console.log:
#
@mdrx-io
mdrx-io / .tmux.conf
Created March 7, 2018 15:49
tmux.conf
set-option -g default-shell "/bin/bash"
#set-option -g mouse on
unbind-key C-b
set -g prefix `
bind-key ` send-prefix
bind-key e setw synchronize-panes on
bind-key E setw synchronize-panes off
@mdrx-io
mdrx-io / app.py
Created March 30, 2018 23:16
ros-in-qt-example
#!/usr/bin/env python
import sys
from threading import Thread
from PyQt5.QtCore import QThread, pyqtSignal
from PyQt5.QtWidgets import (
QApplication,
QDialog,
QDialogButtonBox,
@mdrx-io
mdrx-io / standalone-import-jsx.html
Last active December 4, 2019 18:43
A working example of a standalone HTML file using es-react and htm to (mostly) solve the dual script type "module" + "text/babel" problem.
<html>
<head>
</head>
<body>
<div id="root" />
<script type="module">
import { React, ReactDOM } from 'https://unpkg.com/es-react@16.11.0'
import htm from 'https://unpkg.com/htm?module'
const { createElement, useState } = React