Skip to content

Instantly share code, notes, and snippets.

@gdumitrescu
gdumitrescu / repos
Last active November 14, 2017 21:14
repos
[
{
"userName": "concourse",
"repo": "archive-resource"
},
{
"userName": "concourse",
"repo": "atc"
},
{
@gdumitrescu
gdumitrescu / keybase.md
Created August 20, 2016 05:17
keybase.md

Keybase proof

I hereby claim:

  • I am gdumitrescu on github.
  • I am gdumitrescu (https://keybase.io/gdumitrescu) on keybase.
  • I have a public key whose fingerprint is 9991 755F 1EDC 58A2 4C0E 2C82 4ED2 E8BB 986E 1893

To claim this, I am signing this object:

@gdumitrescu
gdumitrescu / publish-docker-image.sh
Created March 8, 2016 19:41
publish docker image to dockerhub with a provided name
#!/usr/bin/env bash
# get docker image name from input
docker_image=$1
# remove local docker image
docker rmi $docker_image
# build new docker image
docker build .
@gdumitrescu
gdumitrescu / SassMeister-input-HTML.html
Created November 26, 2015 22:35
Generated by SassMeister.com.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<div class="circle-container">
<div class="circle-container-box">
<div class="circle-content">
<div class="circle-text">here comes the dynamic text kjhei</div>
@gdumitrescu
gdumitrescu / golang.sh
Created September 24, 2015 07:10
golang tools setup
#!/usr/bin/env bash
// dependencies
go get github.com/tools/godep
// go get github.com/constabulary/gb/...
// testing
go get github.com/onsi/ginkgo/ginkgo
go get github.com/onsi/gomega
@gdumitrescu
gdumitrescu / install-atom-packages.sh
Last active November 29, 2017 11:13
Install Atom Packages
#!/usr/bin/env bash
apm install angularjs
apm install api-blueprint-preview
apm install apiary-highlighter
apm install atom-beautify
apm install atom-jasmine
apm install atom-prettify
apm install atom-ternjs
apm install autocomplete
@gdumitrescu
gdumitrescu / RRC.sublime-snippet
Created June 19, 2015 17:34
RRC.sublime-snippet
<snippet>
<content><![CDATA[
React.renderComponent(<$1/>, document.body);
]]></content>
<tabTrigger>rrc</tabTrigger>
<!-- <scope>source.js</scope> -->
<description>React.renderComponent</description>
</snippet>
@gdumitrescu
gdumitrescu / RCC.sublime-snippet
Created June 19, 2015 17:33
RCC.sublime-snippet
<snippet>
<content><![CDATA[
var React = require('react');
var $1 = React.createClass({
mixins: [],
getInitialState: function() {
return {
@gdumitrescu
gdumitrescu / JSX.sublime-snippet
Last active August 29, 2015 14:22
JSX.sublime-snippet
<snippet>
<content><![CDATA[
/** @jsx React.DOM */
'use strict';
]]></content>
<tabTrigger>jsx</tabTrigger>
<!-- <scope>source.js</scope> -->
<description>@jsx React.DOM</description>
</snippet>
@gdumitrescu
gdumitrescu / app.js
Created January 22, 2015 07:14
AngularJS 1.3 performance optimizations - http://blog.thoughtram.io/
'use strict';
angular
.module('app', [])
.config(function($httpProvider) {
// deferring the resolution of XHR calls to the next tick
$httpProvider.useApplyAsync(true);
})
.config(['$compileProvider', function($compileProvider) {
// disable debug info and .reloadWithDebugInfo() method