Skip to content

Instantly share code, notes, and snippets.

View puglyfe's full-sized avatar
🍕

Charley Pugmire puglyfe

🍕
View GitHub Profile
@puglyfe
puglyfe / stylis+4.0.3.patch
Created November 23, 2020 15:09
Patchfile to make stylis v4.0.3 compatible with emotion 11
diff --git a/node_modules/stylis/dist/stylis.cjs.map b/node_modules/stylis/dist/stylis.cjs.map
deleted file mode 100644
index ba82d54..0000000
--- a/node_modules/stylis/dist/stylis.cjs.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"stylis.cjs","sources":["../src/Enum.js","../src/Utility.js","../src/Tokenizer.js","../src/Parser.js","../src/Prefixer.js","../src/Serializer.js","../src/Middleware.js"],"sourcesContent":["export var MS = '-ms-'\nexport var MOZ = '-moz-'\nexport var WEBKIT = '-webkit-'\n\nexport var COMMENT = 'comm'\nexport var RULESET = 'rule'\nexport var DECLARATION = 'decl'\n\nexport var PAGE = '@page'\nexport var MEDIA = '@media'\nexport var IMPORT = '@import'\nexport var CHARSET = '@charset'\nexport var VIEWPORT = '@viewport'\nexport var SUPPORTS = '@supports'\nexport var DOCUMENT = '@document'\nexport var NAMESPACE = '@namespace'\nexport var KEYFRAMES = '@keyframes'\nexport var FONT_FACE = '@font-face'\nexport var COUNTER_STYLE = '@counter-style'\nexport var FONT_FEATURE_VALUES = '@font
@puglyfe
puglyfe / .zshrc
Last active April 3, 2018 16:03
create a folder and cd to it in one command
# Use: mkcd my-directory
function mkcd() {
if [ -n "$1" ]; then
mkdir "$1" && cd $_
else
echo "Must specify a directory to create"
fi
}
@puglyfe
puglyfe / big-text-directive.js
Last active August 29, 2015 14:15
Angular directive for BigText.js
// View Big Text on GitHub - https://github.com/zachleat/BigText
app.directive('bigText', function() {
return {
restrict: 'A',
link: function(scope, element, attr) {
return element.bigtext({
maxfontsize: attr.maxSize,
minfontsize: attr.minSize,
childSelector: attr.childSelector