Skip to content

Instantly share code, notes, and snippets.

Avatar

Regi Ellis regiellis

View GitHub Profile
View wireless.fuse
{
Tools = ordered() {
WirelessLink1 = Fuse.Wireless {
CtrlWZoom = false,
ViewInfo = OperatorInfo { Pos = { 32.7218, 477.305 } },
Version = 110
}
},
ActiveTool = "WirelessLink1"
}
View gist:f57f3766f25fcea0e03e46fbd009d2ab
export PATH=~/.npm-global/bin:$PATH
# System-wide .bashrc file for interactive bash(1) shells.
# To enable the settings / commands in this file for login shells as well,
# this file has to be sourced in /etc/profile.
# If not running interactively, don't do anything
#[ -z "$PS1" ] && return
View win-per-app-scaling.xml
<!-- Press Windows Button + R, type “regedit”, and then click OK.
Navigate to the following registry subkey:
HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows > CurrentVersion > SideBySide
Right-click, select NEW > DWORD (32 bit) Value
Type PreferExternalManifest, and then press ENTER.
Right-click PreferExternalManifest, and then click Modify.
Enter Value Data 1 and select Decimal.
Click OK. Exit Registry Editor.
For reference, here is a link to a Microsoft support file on the topic: http://support.microsoft.com/kb/912949/en-usi -->
@regiellis
regiellis / ansible.cfg
Last active Aug 2, 2016
Ansible Config 2.2
View ansible.cfg
# config file for ansible -- http://ansible.com/
# ==============================================
# nearly all parameters can be overridden in ansible-playbook
# or with command line flags. ansible will read ANSIBLE_CONFIG,
# ansible.cfg in the current working directory, .ansible.cfg in
# the home directory or /etc/ansible/ansible.cfg, whichever it
# finds first
[defaults]
View .jshintrc
{
asi: false,
bitwise: false,
boss: true,
browser: false,
camelcase: false,
couch: false,
curly: false,
debug: true,
devel: false,
View .jshintrc
{
// Environments - these prevent warnings about the use of some global
// variables. e.g. 'browser' assumes a 'window' global is available, etc.
"browser": true,
"browserify": true,
"devel": true,
// Var names must be camelCase or UPPER_CASE
"camelcase": true,
// Loops and conditionals must have curly brackets
View Error
{
"error": {
"code": 500,
"message": "Internal Server Error",
"exception": [
{
"message": "An exception occurred while executing 'INSERT INTO preference (preference_id, physician_id, location_id, name, all_ages, calendar_id) VALUES (?, ?, ?, ?, ?, ?)' with params [\"bdb25048-e508-11e4-988a-a9828e43a571\", \"002e7d00-663f-11e4-bd49-3c15c2d9eaf0\", \"032b8e3a-65f9-11e4-bd49-3c15c2d9eaf0\", \"Preference for : Mahesh Bhambore @ Cardiovascular & Thoracic Surgical Specialists [Orlando] \", null, \"bdb23568-e508-11e4-988a-a9828e43a571\"]:\n\nSQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '032b8e3a-65f9-11e4-bd49-3c15c2d9eaf0-002e7d00-663f-11e4-bd49-3c1' for key 'ux_physician_location_id'",
"class": "Doctrine\\DBAL\\Exception\\UniqueConstraintViolationException",
"trace": [
{
View gist:ccb02176f5668904b075
{
"colors": {
"black": 16,
"white": 231,
"green": 2,
"darkestgreen": 22,
"darkgreen": 28,
"mediumgreen": 70,
"brightgreen": 148,
View Terminal Motions.md

###Terminal Motions

  • Meta-d to delete a word starting from the current cursor position
  • Ctrl-a to jump to start of the line
  • Ctrl-e to jump to end of the line
  • Ctrl-k to kill the line starting from the cursor position
  • Ctrl-y to paste text from the kill buffer
  • Ctrl-r to reverse search for commands you typed in the past from your history
  • Ctrl-s to forward search (works in zsh for me but not bash)
  • Ctrl-f to move forward by a char
View Framerjs Custom Devices
Framer.Device.Devices["my-device"] =
name: "My Device"
deviceType: "mobile"
deviceImage: "my-device.png"
deviceImageWidth: 472
deviceImageHeight: 806
screenWidth: 320
screenHeight: 400