原著者: | Adrian Holovaty |
---|---|
原文: | Why I left Heroku, and notes on my new AWS setup |
金曜日、私は Heroku から Amazon Web Services(AWS) を直接使うように Soundslice を移行しました。私はこの変更ができてとても、そうとても嬉しくて、私がどうやったかということと、もし皆さんが同じような立場だったら何故それを検討すべきかということについて広く伝えたいと思います。
原著者: | Adrian Holovaty |
---|---|
原文: | Why I left Heroku, and notes on my new AWS setup |
金曜日、私は Heroku から Amazon Web Services(AWS) を直接使うように Soundslice を移行しました。私はこの変更ができてとても、そうとても嬉しくて、私がどうやったかということと、もし皆さんが同じような立場だったら何故それを検討すべきかということについて広く伝えたいと思います。
// | |
// Dapperを利用するにはパッケージマネージャコンソールで | |
// Install-Package Dapper | |
// と入力して、予めライブラリをプロジェクトに参照設定しておきます。 | |
// | |
namespace DapperSample | |
{ | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; |
using System; | |
using System.Linq; | |
using System.Reactive.Linq; | |
namespace RxAndThenWhenFizzBuzz { | |
class Program { | |
static void Main(string[] args) { | |
var numberObserver = Observable.Range(1, 30); | |
var fizzObserver = numberObserver.Select(i => i % 3 == 0 ? "Fizz" : ""); | |
var buzzObserver = numberObserver.Select(i => i % 5 == 0 ? "Buzz" : ""); |
# empty the stash | |
$ git stash clear | |
# objects can also be reached through the reflog. | |
# while branches record the history of some project, reflogs record the history of these branches. | |
# if you amend, reset etc. commits are removed from the branch history | |
# but git keeps them around in case you realize that you made a mistake. | |
# reflogs are a convenient way to find out what destructive (and other) operations were performed | |
# on a branch (or HEAD), making it easier to undo a destructive operation. |
# AppVeyor.yml for Zipped files to XCopy Deploy. | |
# - Require VS2013 ($env:MSBUILD_EXE) | |
# - Require 7Zip ($env:szip) | |
# - "C:\opt\nuget3.4\appveyor_nugetconfig\nuget.config" | |
# - C:\opt\nuget3.4\nget.exe | |
# version: 1.0.{build} | |
# 必要に応じてAssemblyInfoパッチなども行う。このymlを共通で使うならここでバージョンしない方が良いと思う。 | |
configuration: Release |
# coding: utf-8 | |
from selenium import webdriver | |
edge_options = { | |
"executable_path": "/Users/takahiro/selenium-webdrivers/edge-83/msedgedriver", | |
# ofcourse change path to driver you downloaded. | |
"capabilities": { | |
"platformName": 'mac os x', # I get this from Chrome driver's capabilities | |
# "os" : "OS X", # also ok. | |
} |
##!/usr/bin/env python3 | |
import os | |
import sys | |
from pexpect.pxssh import pxssh as PXSSH | |
import getpass | |
class Debug_PXSSH(PXSSH): | |
def sendline(self, input='') -> int: |
from ecsruntask import ECSRunTask # import wherever your task lives | |
from prefect import task, Flow | |
ecs = ECSRunTask( | |
task_definition="stockdata", | |
cluster="ecsDemo", | |
network_configuration={ | |
"awsvpcConfiguration": { | |
"subnets": ["subnet-xxx", "subnet-xxx", "subnet-xxx"], |