Skip to content

Instantly share code, notes, and snippets.

View drocarmo's full-sized avatar

Pedro Carmo drocarmo

View GitHub Profile
@roddds
roddds / gist:a1f42bae598028ac7809
Last active December 8, 2020 22:46 — forked from raddevon/gist:67935d320ee9b726d19d
Adobe tries to strong-arm me into keeping Creative Cloud

To everyone who got here through Twitter or Facebook or Hacker News or whatever: THIS IS NOT ME.

The "Me" in this transcript is @raddevon, who shared his story first on reddit.


List of incompetent jackasses who can't check a source if their lives depended on it:

@daneden
daneden / Instructions.md
Created December 1, 2015 00:25
Remap Caps Lock to Emoji on Mac

How to remap the caps lock key to the emoji selector on Mac

  1. Go to System Preferences -> Keyboard -> Modifier Keys...
  2. Change “Caps Lock” to “No action”
  3. Install Seil
  4. Change the Caps Lock key in Seil to keyCode 80 (F19)
  5. Install Karabiner
  6. Open Karabiner and go to Misc & Uninstall -> Open private.xml
  7. Copy the contents of this gist's example to the XML file and save
  8. In Karabiner, go to Change Keys -> Reload XML
@mathowie
mathowie / twitter-stylish.css
Last active November 11, 2015 07:24
Swap Twitter Hearts for Emoji
/* Install the Stylish extension for your browser, then add this code
as a new Style. Make sure it applies to the domain 'twitter.com' */
/* Tweet any improvements or comments to @mcnees. */
/* Hide the heart for un-Faved tweets. */
.ProfileTweet-actionButton .HeartAnimationContainer {
visibility: hidden;
}
@elirousso
elirousso / gist:3d5892eaa5d3b15dd901
Last active December 4, 2020 03:56
Dark Minimal Slack Theme
#Paste in Preferences > Sidebar Theme > Click thing at the bottom to expose the input and copy pasta this guy in there
#111111,#111111,#333333,#FFFFFF,#444444,#FFFFFF,#FFFFFF,#FF0000
@daneden
daneden / Readme.md
Last active April 12, 2016 04:09
Aspirational Dropbox SCSS Guidelines (Draft)
/* objects/_card.scss */
.card {
padding: round($u-baseline / 2);
background-color: #fff;
border: 1px solid rgba(color(black), .1);
box-shadow: 0 1px 2px rgba(color(black), .1);
border-radius: 3px;
}
@bobbygrace
bobbygrace / trello-css-guide.md
Last active December 10, 2024 21:04
Trello CSS Guide

Hello, visitors! If you want an updated version of this styleguide in repo form with tons of real-life examples… check out Trellisheets! https://github.com/trello/trellisheets


Trello CSS Guide

“I perfectly understand our CSS. I never have any issues with cascading rules. I never have to use !important or inline styles. Even though somebody else wrote this bit of CSS, I know exactly how it works and how to extend it. Fixes are easy! I have a hard time breaking our CSS. I know exactly where to put new CSS. We use all of our CSS and it’s pretty small overall. When I delete a template, I know the exact corresponding CSS file and I can delete it all at once. Nothing gets left behind.”

You often hear updog saying stuff like this. Who’s updog? Not much, who is up with you?

@thefoxis
thefoxis / jsfest-slides.md
Last active September 22, 2015 23:24
Slides from JavaScript Fest individual events in Oakland, 7th-13th Dec, 2014.
@koenbok
koenbok / qc-framer.js
Created May 14, 2014 15:04
QC Spring Value Converter
var QcValueConverter = {
tensionFromQcValue: function(qcValue) {
return (qcValue - 30.0) * 3.62 + 194.0;
},
qcValueFromTension: function(tension) {
return (tension - 194.0) / 3.62 + 30.0;
},
frictionFromQcValue: function(qcValue) {
@shayhowe
shayhowe / SassMeister-input.sass
Created April 23, 2014 18:56
Generated by SassMeister.com.
// ----
// Sass (v3.3.5)
// Compass (v1.0.0.alpha.18)
// ----
@each $merchant in king-kone, alley-cat-comics, robert-jeffrey, berry-austin, dogaholics, barriques, rotofugi, chicago-bagel-authority
.merchant-#{$merchant}
background-image: url("#{$merchant}.jpg")