Skip to content

Instantly share code, notes, and snippets.

View m0nkey's full-sized avatar

Jesse Heady m0nkey

View GitHub Profile
@m0nkey
m0nkey / operator_with_ligatures.md
Created August 31, 2018 19:05 — forked from renatorib/operator_with_ligatures.md
Using Operator Mono with Fira Code ligatures in Atom.

Using Operator Mono with Fira Code ligatures in Atom.

  1. Open your Atom's Stylesheet
    image

  2. Put this css

atom-text-editor {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
@m0nkey
m0nkey / styles.less
Created August 31, 2018 19:04 — forked from brandondurham/styles.less
Using Operator Mono in Atom
/**
* Using Operator Mono in Atom
*
* 1. Open up Atom Preferences.
* 2. Click the “Open Config Folder” button.
* 3. In the new window’s tree view on the left you should see a file called “styles.less”. Open that up.
* 4. Copy and paste the CSS below into that file. As long as you have Operator Mono SSm installed you should be golden!
* 5. Tweak away.
*
* Theme from the screenshot (http://cdn.typography.com/assets/images/blog/operator_ide2.png):
@m0nkey
m0nkey / OpTicDi3seL-Mixer-panel.html
Created August 18, 2018 17:07
OpTicDi3seL Mixer panel
<p style="text-align:center;">
<img src="https://c1.staticflickr.com/2/1776/29144637647_d23924a55a_z.jpg" style="width: 384px" alt="About Me" />&nbsp;&nbsp;
<img src="https://c1.staticflickr.com/2/1799/30213889088_0b716c970d_z.jpg" style="width: 384px" alt="Twitter" />
</p>
<p style="text-align:center;">
<img src="https://c1.staticflickr.com/2/1839/43363523204_f16e2c74d7_z.jpg" style="width: 384px" alt="Turtle Beach discount code" />&nbsp;&nbsp;
<img src="https://c1.staticflickr.com/2/1814/43363523324_03f5a661cd_z.jpg" style="width: 384px" alt="Send a Tip" />
</p>
<p style="text-align:center;">
<img src="https://c1.staticflickr.com/2/1819/43363523574_1deb3f95bc_z.jpg" style="width: 384px" alt="Subscribe" />&nbsp;&nbsp;
@m0nkey
m0nkey / gist:6704791
Created September 25, 2013 19:29
LESS file watch and compile
module.exports = function (grunt) {
grunt.initConfig({
less: {
development: {
options: {
paths: ["media/web/common/premium/less"],
yuicompress: false
},
files: {
"media/web/common/premium/css/master.css": "media/web/common/premium/less/master.less",
# This is a template .gitignore file for git-managed WordPress projects.
#
# Fact: you don't want WordPress core files, or your server-specific
# configuration files etc., in your project's repository. You just don't.
#
# Solution: stick this file up your repository root (which it assumes is
# also the WordPress root directory) and add exceptions for any plugins,
# themes, and other directories that should be under version control.
#
# See the comments below for more info on how to add exceptions for your
@m0nkey
m0nkey / gist:5146397
Last active December 14, 2015 20:49 — forked from anonymous/gist:5146379
4 media/web/common/javascript/jquery-1.7.1.min.js
38 media/web/common/javascript/cmg-utility.js
11 media/web/common/javascript/jquery.cookie.min.js
830 media/web/common/javascript/writeCapture.js
139 media/web/common/javascript/jquery.writeCapture.js
396 media/web/common/javascript/mustache.js
478 media/web/common/javascript/marimo.js
691 media/web/common/javascript/widgets.js
70 media/web/common/javascript/features/lib/features.js
439 media/web/common/javascript/janrain/lib/janrain.js
@m0nkey
m0nkey / mobiletools.sh
Created October 29, 2012 21:24 — forked from RichardBronosky/mobiletools.sh
rbronosky's mobile tools
# available at http://j.mp/rbromotools
# quick use:
## curl -sLO http://j.mp/rbromotools; source rbromotools
## mcurl http://www.palmbeachpost.com
# header only curls
hcurl() { echo "cURLing ${@: -1}"; curl -sL -o /dev/null -D /dev/stdout -b /tmp/cookies.txt -c /tmp/cookies.txt "${@}" | grep -Ei '^(.?$|(HTTP|Server|Set-Cookie|Location)[:/])'; echo; }
# mobile (Android) header only curls
mcurl() { hcurl -A "Mozilla/5.0 (Linux; Android 2.3) AppleWebKit/533.1 (like Gecko) Version/4.0 Mobile Safari/533.1" "${@}"; }
@m0nkey
m0nkey / velocity-2012-notes.txt
Created July 5, 2012 21:13
Velocity 2012 notes
Velocity Conference 2012
DAY 1, Monday
@m0nkey
m0nkey / smacss-notes.txt
Created May 22, 2012 15:16
SMACSS notes May 18
SMACSS May 18
Part 1
- Don't use .button.large ... no subclassing for size or color definitions, try to use .button-large and sibling classes instead
- Naming convention clarifies intent (you should be able to read semantic HTML or CSS and know what it does)
- Create an internal style guide that the team refers to (!) - relates to docs efforts ongoing
State: active and default states; .tab and .is-tab-active (indication that JS will be used) - isolate JS classes so that you only have to make changes to the CSS
- is- prefix indicates likelihood of JS dependency
@m0nkey
m0nkey / augment.css
Created May 21, 2012 16:49 — forked from rjrodger/augment.css
Phonegap 3D compass
#main {
margin: 0px;
width: 480px;
height: 300px;
}