Skip to content

Instantly share code, notes, and snippets.

View Baril27's full-sized avatar

Eric Baril Baril27

View GitHub Profile
@Baril27
Baril27 / ClipboardActionTransformations.xml
Last active December 15, 2020 19:35
Remote Desktop Clipboard Action Transformations
<?xml version="1.0" encoding="utf-8" ?>
<!-- https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key/Key_Values -->
<!-- transformation for clipboard actions (cut copy paste) -->
<!-- layout specific -->
<layouts>
<!-- Dvorak X C V are not on same physical position as on US keyboard. -->
<layout name="com.apple.keylayout.Dvorak">
<transformations>
<!-- Command+X to Control+X -->
<transform>
@Baril27
Baril27 / A Web App Notifier
Created September 25, 2018 15:46 — forked from sdennler/A Sad Web App Notifier
Bring the necessary Desktop Notification to Outlook Web App.
Bring the necessary Desktop Notification to Outlook Web App.
@Baril27
Baril27 / benchmark_ruby_string_symbol.rb
Created March 29, 2016 19:09
Benchmark ruby string vs. symbol comparison
require 'benchmark'
foo = 'paypal'
Benchmark.bm do |x|
x.report("string:") { foo == 'paypal' }
x.report("symbol:") { foo.to_sym == :paypal }
end
@Baril27
Baril27 / style.scss
Created November 12, 2014 00:06 — forked from daz/style.scss
// Autocomplete // --------------------------------------------------
.ui-autocomplete {
position: absolute;
top: 100%;
left: 0;
z-index: 1000;
float: left;
display: none;
min-width: 160px;
_width: 160px;
# xcode-build-bump.sh
# @desc Auto-increment the build number every time the project is run.
# @usage
# 1. Select: your Target in Xcode
# 2. Select: Build Phases Tab
# 3. Select: Add Build Phase -> Add Run Script
# 4. Paste code below in to new "Run Script" section
# 5. Drag the "Run Script" below "Link Binaries With Libraries"
# 6. Insure that your starting build number is set to a whole integer and not a float (e.g. 1, not 1.0)
@Baril27
Baril27 / p
Created April 4, 2012 02:21
p
<p></p>
@Baril27
Baril27 / a
Created April 4, 2012 02:12
a
<a></a>