Skip to content

Instantly share code, notes, and snippets.

@gdumitrescu
gdumitrescu / index.html
Created October 17, 2014 05:36
Format Date by language code // source http://jsbin.com/hezefewuwotu/5
<!DOCTYPE html>
<html ng-app="app">
<head>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular.min.js"></script>
<meta charset="utf-8">
<title>Format Date by language code</title>
</head>
<body>
<div ng-controller="MainCtrl">
<p>{{dates|formatDate:lng}}</p>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
(function IIFE() {
@gdumitrescu
gdumitrescu / SassMeister-input-HTML.html
Created September 22, 2014 08:38
Generated by SassMeister.com.
<picture>
<source
media="(min-width: 650px)"
srcset="http://lorempixel.com/650/200/technics">
<source
media="(min-width: 480px)"
srcset="http://lorempixel.com/480/150/technics">
<img src="http://lorempixel.com/400/150/technics">
</picture>
@gdumitrescu
gdumitrescu / SassMeister-input-HTML.html
Created September 15, 2014 03:15
Generated by SassMeister.com.
<div class="home-screen">
<header class="home-screen-header">
<span class="home-screen-title">page title</span>
</header>
<div class="home-screen-content"></div>
<footer class="home-screen-footer">
<span class="home-screen-copyright">&copy; Copyright</span>
</footer>
</div>
@gdumitrescu
gdumitrescu / SassMeister-input-HTML.html
Created September 10, 2014 14:49
Generated by SassMeister.com.
<div></div>
@gdumitrescu
gdumitrescu / _placeholders.sass
Created December 5, 2013 19:46
Collection of placeholders - dependencies: compass-placeholders (1.0.0.rc.4)
// Collection of placeholders
%bold
@extend %font-weight-bold
%capitalize
@extend %text-transform-capitalize
%centered
margin: 0 auto
@gdumitrescu
gdumitrescu / 10-commandments-of-egoless-programming.md
Created June 26, 2013 07:13
The Ten Commandments of Egoless Programming (Source: On Being A Senior Engineer)

The Ten Commandments of Egoless Programming

  1. Understand and accept that you will make mistakes.
  2. You are not your code.
  3. No matter how much "karate" you know, someone else will always know more.
  4. Don't rewrite code without consultation.
  5. Treat people who know less than you with respect, deference, and patience.
  6. The only constant in the world is change. Be open to it and accept it with a smile.
  7. The only true authority stems from knowledge, not from position.
  8. Fight for what you believe, but gracefully accept defeat.
@gdumitrescu
gdumitrescu / to-do-every-workday.md
Created June 26, 2013 06:45
10 Things To Do Every Workday (Source: LinkedIn)
  • Read something related to my industry.
  • Read something related to business development.
  • Send two emails to touch base with old colleagues.
  • Empty my private client inbox by responding to all career coaching questions within one business day.
  • Check in with each team member on their progress.
  • Have a short non-work related conversation with every employee.
  • Review my top three goals for my company that are focused on its growth.
  • Identify and execute one task to support each of my top three goals.
  • Post five valuable pieces of content on all my major social media accounts.
  • Take a full minute to appreciate what I have and how far I’ve come.
@gdumitrescu
gdumitrescu / testem.json
Created June 24, 2013 06:15
Testem config file
{
"framework": [
"jasmine"
],
"launch_in_dev": [
"PhantomJS"
],
"launch_in_ci": [
"PhantomJS"
],
@gdumitrescu
gdumitrescu / compass.rb
Last active December 18, 2015 19:09
compass config file
require 'sass'
require 'compass'
# Require any additional compass plugins here.
# Get the directory that this configuration file exists in
dir_src = File.dirname(__FILE__)
# Set this to the root of your project when deployed:
http_path = "/"