Skip to content

Instantly share code, notes, and snippets.

View catc's full-sized avatar
🤔

catalin catc

🤔
View GitHub Profile
@catc
catc / A.markdown
Last active August 29, 2015 14:07 — forked from larrybotha/A.markdown

Sublime Text Monokai Sidebar Theme

A theme for the sidebar in Sublime Text to match the workspace of the Monokai theme.

This theme only modifies the sidebar to better match the Monokai theme, without modifying any of the styling elsewhere defined by Monokai.

File location: Packages/User

For a theme that extends beyond just the sidebar, visit https://gist.github.com/umpirsky/5842174

@catc
catc / string-formatter.js
Created March 3, 2016 13:55
A helper that exposes Ember.String methods as a template helper
import Ember from 'ember';
const { String: EmberString, Helper: { helper } } = Ember;
/**
* Exposes Ember.String functions as template helpers
*
* @method stringFormatter
* @param {String} str
* @param {String} strMethod
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
state: 'one',
actions: {
changeState: function(val){
this.set('state', val);

What I Wish I'd Known About Equity Before Joining A Unicorn

Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.

This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would

@catc
catc / SCSS.md
Created July 13, 2017 23:47 — forked from jareware/SCSS.md
Advanced SCSS, or, 16 cool things you may not have known your stylesheets could do

⇐ back to the gist-blog at jrw.fi

Advanced SCSS

Or, 16 cool things you may not have known your stylesheets could do. I'd rather have kept it to a nice round number like 10, but they just kept coming. Sorry.

I've been using SCSS/SASS for most of my styling work since 2009, and I'm a huge fan of Compass (by the great @chriseppstein). It really helped many of us through the darkest cross-browser crap. Even though browsers are increasingly playing nice with CSS, another problem has become very topical: managing the complexity in stylesheets as our in-browser apps get larger and larger. SCSS is an indispensable tool for dealing with this.

This isn't an introduction to the language by a long shot; many things probably won't make sense unless you have some SCSS under your belt already. That said, if you're not yet comfy with the basics, check out the aweso