Skip to content

Instantly share code, notes, and snippets.

Mike Morici himedlooff

Block or report user

Report or block himedlooff

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Preferences.sublime-settings
{
"caret_style": "wide",
"color_scheme": "Packages/User/SublimeLinter/base16-eighties.dark (SL).tmTheme",
"create_window_at_startup": false,
"detect_indentation": false,
"draw_white_space": "all",
"find_selected_text": true,
"font_face": "Input Mono",
"font_size": 14.0,
"highlight_line": true,
View padded-container.less
/* topdoc
name: Padded container
family: cfgov-misc
notes:
- ".padded-container is meant to contain anything you want with consistent
padding. It uses a margin collapsing trick in CSS to achieve this
consistency which this is why .line-container_body is needed. The only
caveat to this consistency is if you place something inside of it that has
a bottom-margin that is larger than the .padded-container padding."
patterns:
View namik-emoji-ascii.js
var n = [
':namik_smile::namik_smile::namik_smile:',
':namik_smile::spacer::namik_smile:',
':namik_smile::spacer::namik_smile:',
];
var a = [
':namik_smile::namik_smile::namik_smile:',
':namik_smile::spacer::namik_smile:',
':namik_smile::namik_smile::namik_smile::namik_smile:',
];
View Grunt-tasks-diagram.xml
<?xml version="1.0" encoding="UTF-8"?>
<mxGraphModel dx="3239" dy="2042" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="826" style="default-style2" math="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="192" value="" style="edgeStyle=elbowEdgeStyle;entryX=0.5;entryY=0;exitX=0.5;exitY=1;strokeColor=#FFB366;elbow=vertical" parent="1" source="95" target="129" edge="1"><mxGeometry width="100" height="100" relative="1" as="geometry"><mxPoint x="-500" y="970" as="sourcePoint"/><mxPoint x="-400" y="870" as="targetPoint"/><Array as="points"><mxPoint x="-410" y="620"/></Array></mxGeometry></mxCell><mxCell id="176" value="" style="edgeStyle=none;exitX=0.5;exitY=1;entryX=0.5;entryY=0;strokeColor=#FFB366" parent="1" source="152" target="108" edge="1"><mxGeometry width="100" height="100" relative="1" as="geometry"><mxPoint x="-420" y="-594.5" as="sourcePoint"/><mxPoint x="-420" y="-415.5" as="targetPoint"/></mxGeometry></mxCell><mxCell
@himedlooff
himedlooff / github-copy-file-path.js
Last active Oct 21, 2015
Paste this into your console to enable click-to-copy on GitHub.com file paths
View github-copy-file-path.js
(function(){
$('.file-info[title], .file-info [title]')
.css('cursor', 'pointer')
.click(function() {
var range = document.createRange();
$(this).html($(this).attr('title'));
range.selectNode(this);
window.getSelection().addRange(range);
try {
var successful = document.execCommand('copy');
View svg-regex.md
 id="[a-z(-|_)]*"
\n[\s]*
View inline-style-editor.html
<html>
<head style="display: block; width: 50%; height: 100%; float: left;">
<meta charset="UTF-8">
<title>Live CSS</title>
<style>
* {
box-sizing: border-box;
}
#style {
@himedlooff
himedlooff / prefixing-scss.md
Last active Mar 9, 2018
Regex for finding SCSS variables and class declarations and prepending them with a prefix in Sublime Text
View prefixing-scss.md

SCSS

Field Value
Find \$([a-z\-_]+)
Where -*.js,-*.woff,-*.woff2
Replace $newprefix-$1

Should match these:

View show-hidden-files.md

Show hidden files on OSX

defaults write com.apple.finder AppleShowAllFiles true
killall Finder
You can’t perform that action at this time.