start new:
tmux
start new with session name:
tmux new -s myname
package com.foocoders.text; | |
import java.text.AttributedCharacterIterator; | |
import java.text.DateFormatSymbols; | |
import java.text.FieldPosition; | |
import java.text.NumberFormat; | |
import java.text.ParseException; | |
import java.text.ParsePosition; | |
import java.text.SimpleDateFormat; | |
import java.util.Calendar; |
/******************************************************************************* | |
* Description: | |
* | |
* Gulp file to push changes to remote servers (eg: staging/production) | |
* | |
* Usage: | |
* | |
* gulp deploy --target | |
* | |
* Examples: |
require "formula" | |
class UniversalBrewedPython < Requirement | |
satisfy { archs_for_command("python").universal? } | |
def message; <<-EOS.undent | |
A build of GDB using a brewed Python was requested, but Python is not | |
a universal build. | |
GDB requires Python to be built as a universal binary or it will fail |
{:user {:dependencies [[org.clojure/tools.namespace "0.2.3"] | |
[spyscope "0.1.3"] | |
[criterium "0.4.1"]] | |
:injections [(require '(clojure.tools.namespace repl find)) | |
; try/catch to workaround an issue where `lein repl` outside a project dir | |
; will not load reader literal definitions correctly: | |
(try (require 'spyscope.core) | |
(catch RuntimeException e))] | |
:plugins [[lein-pprint "1.1.1"] | |
[lein-beanstalk "0.2.6"] |
// installed Clojure packages: | |
// | |
// * BracketHighlighter | |
// * lispindent | |
// * SublimeREPL | |
// * sublime-paredit | |
{ | |
"word_separators": "/\\()\"',;!@$%^&|+=[]{}`~?", | |
"paredit_enabled": true, |
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.
Index:
# Ruby 1.9 using ruby-ni | |
# | |
# VERSION 0.0.1 | |
# | |
FROM base | |
MAINTAINER Ivan Acosta-Rubio "[email protected]" | |
ADD https://gist.github.com/ivanacostarubio/9309be8a79a94aafd02d/raw/8e84fac50a57a23f191eccf5e41bae4ecde80873/gistfile1.txt /etc/resolv.conf | |
# Installing basic stuf: wget, git, ruby |
var closure = require('google-closure-compiler-js') | |
function closureCompilerPlugin(options = {}){ | |
return { | |
transformBundle(bundle){ | |
const compilation = Object.assign({}, options, { | |
jsCode: options.jsCode ? options.jsCode.concat({ src: bundle }) : [{ src: bundle }] | |
}); | |
const transformed = closure.compile(compilation); |
/*! webpack.config.js | Build JS, CSS,.. client assets and StyleGuide */ | |
'use strict'; | |
var webpack = require('webpack'); | |
var ExtractTextWP = require('extract-text-webpack-plugin'); | |
var HtmlWP = require('html-webpack-plugin'); | |
var path = require('path'); | |
var moment = require('moment'); |