wget https://github.com/iamthechad/javadoc2dash/releases/download/1.1.0/j2d-cli-1.1.0.zip
unzip j2d-cli-1.1.0.zip
wget https://archive.apache.org/dist/lucene/java/8.5.1/lucene-8.5.1-src.tgz
brew install ant
/** | |
* NOTE: this specifically works if the house is for sale since it renders differently. | |
* This will download the highest resolution available per image. | |
*/ | |
/** | |
* STEP 1: Make sure to *SCROLL* through all images so they appear on DOM. | |
* No need to click any images. |
#!/usr/bin/env ruby | |
require 'helpscout' | |
require 'fileutils' | |
api_key = ARGV[0] | |
helpscout = HelpScout::Client.new(api_key) | |
helpscout.mailboxes.each do |box| | |
FileUtils.mkdir(box.name) unless File.exists?(box.name) | |
puts "Fetching #{helpscout.conversation_count(box.id, 'all', nil)} conversations for #{box.name}" |
--compilers js:./test/support/compiler | |
--require ./test/support/init |
I am deploying with this IAM using Codeship and Circle CI to Elastic Beanstalk. I had a lot of trouble with this config. I talked to the aws support for about 6 hours until this worked properly, so, I guess it is worth to share.
UPDATE: In the end, I have to use the AWSElasticBeanstalkFullAccess
policy. My custom policy keep breaking every week with some new added permission or some EB internal change. Anyway, the IAM I was using is below.
This works for me with CircleCI and EB Cli.
{
"Version": "2012-10-17",
"Statement": [
{
#!/usr/bin/env bash | |
# | |
# Bundling a minimal Amazon Linux image to a portable Docker container image | |
# Based on: https://forums.aws.amazon.com/message.jspa?messageID=541030#557755 | |
# | |
# | |
yum install -y wget docker && service docker start | |
wget -q https://raw.githubusercontent.com/dotcloud/docker/master/contrib/mkimage-yum.sh | |
# | |
# Example for bundling AML Minimal HVM EBS Build: amzn-ami-minimal-hvm-2015.03.0.x86_64-ebs (ami-2ccae744) |
brew install fish
curl -L https://get.oh-my.fish | fish
(require '[clojure.string :as s]) | |
;; My initial attempt | |
(def c [:0 :1 :2 :3 :4 :5 :6 :7 :8 :9 :A :B :C :D :E :F]) | |
(str "#" (s/join (map name (repeatedly 6 #(rand-nth c))))) | |
;; Another option not using keywords (/ht locks in #clojure) | |
(def c [0 1 2 3 4 5 6 7 8 9 \A \B \C \D \E \F]) | |
(str "#" (s/join (repeatedly 6 #(rand-nth c)))) | |
;; the last line can be simplified even more (/ht xificurC in #clojure) |
(ns ga-exp.core | |
(:import | |
(com.google.api.client.googleapis.auth.oauth2 GoogleCredential$Builder) | |
(com.google.api.client.googleapis.javanet GoogleNetHttpTransport) | |
(com.google.api.client.json.jackson2 JacksonFactory) | |
(com.google.api.services.analytics Analytics$Builder AnalyticsScopes))) | |
(def HTTP_TRANSPORT (GoogleNetHttpTransport/newTrustedTransport)) | |
(def JSON_FACTORY (JacksonFactory.)) |
Discourse http://www.discourse.org
Mini Profiler https://github.com/miniprofiler/rack-mini-profiler
rbtrace https://github.com/tmm1/rbtrace
memory_profiler https://github.com/SamSaffron/memory_profiler
fast_stack: https://github.com/SamSaffron/fast_stack