This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// /stacks/cicd-pipelines.ts | |
// CDK app which creates a stack using a set of service definitions | |
import 'source-map-support/register'; | |
import { App } from '@aws-cdk/cdk'; | |
import { ServiceCicdPipelines } from '../lib/cicd/pipelines'; | |
import { deploymentTargetAccounts } from './config'; | |
import services from './services'; | |
const app = new App({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(setq clj-autotest-run-expectations | |
"(do | |
(require 'clojure.tools.namespace.repl) | |
(require 'expectations) | |
(reset! expectations/run-tests-on-shutdown false) | |
(let [all (->> (all-ns) | |
(mapcat (comp vals ns-interns))) | |
previously-ran-tests (filter (comp :expectations/run meta) all)] | |
(doseq [test previously-ran-tests] | |
(alter-meta! test dissoc :expectations/run :status))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module SinatraCanHazClass | |
extend ActiveSupport::Concern | |
def initialize(app) | |
@app = app | |
end | |
def method_missing(method_name, *args, &block) | |
@app.respond_to?(method_name) ? @app.__send__(method_name, *args, &block) : super | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE NETSCAPE-Bookmark-file-1> | |
<!-- This is an automatically generated file. | |
It will be read and overwritten. | |
DO NOT EDIT! --> | |
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> | |
<TITLE>Bookmarks</TITLE> | |
<H1>Bookmarks</H1> | |
<DL><p> | |
<DT><H3 ADD_DATE="1360313897" LAST_MODIFIED="1390476683" PERSONAL_TOOLBAR_FOLDER="true">Bookmarks Bar</H3> | |
<DL><p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Photo | |
attr_accessor :max_id_str | |
URL = "" | |
def self.load | |
manager.loadObjectsAtResourcePath URL, objectMapping:mapping, delegate:self | |
end | |
def self.manager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Animal | |
constructor: (@name) -> | |
move: (meters) -> | |
console.log @name + " moved #{meters}m." | |
class Snake extends Animal | |
@beans: -> | |
console.log("I eat beans") | |