Server | SSL | Metods | Server country code | Comments |
---|---|---|---|---|
[YaCDN][1] | ✅ | GET | EU | Unlimited size and unlimited requests (for now) |
[crossorigin.me][2] | ✅ | GET | US | Require Origin header 2MB size limit |
[cors-proxy.htmldriven][3] | ✅ | - | CZ | JSON response don't work well with binary |
[cors-proxy.taskcluster][4] | ✅ | POST | US | Only witelisted to taskcluster.net Can send any header/method |
[thingproxy][9] | ✅ | ANY | US | Limited to 100kb for both upload and download, max 10 req/sec |
[whateverorigin][10] | ❌ | GET | US | Only supports JSONP |
[cors.io][11] | ✅ | GET, HEAD | US | Only supports GET and HEAD request |
[gobetween][12] | ✅ | GET | US | Only supports GET requests |
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
""" | |
Runs prefect agent | |
Keeps track of flow runs the agent kicked off, | |
and sets a DateTime block storage to NOW() for | |
every running flow, every couple of seconds. | |
Also, has a cleanup function that will set the state of | |
every running flow to AwaitingRetry for each running | |
flow. |
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
import pendulum | |
import prefect | |
from dynaconf import settings | |
from prefect import schedules | |
from prefect.schedules import clocks | |
# Cron schedule to execute cleanup job. Currently set to run at 00:00 (UTC) | |
# every Sunday. | |
DATA_CLEANUP_SCHEDULE_CRON_STRING = "0 0 * * 0" |
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
import webpack from "webpack"; | |
import ExtractTextPlugin from "extract-text-webpack-plugin"; | |
import CopyWebpackPlugin from "copy-webpack-plugin"; | |
import WebpackNotifierPlugin from "webpack-notifier"; | |
import path from "path"; | |
const ENV = process.env.NODE_ENV || "development"; | |
const IS_PROD = ENV === "production"; | |
const OUTPUT_PATH = path.resolve(__dirname, "..", "priv", "static"); |
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
begin | |
require "bundler/inline" | |
rescue LoadError => e | |
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler" | |
raise e | |
end | |
gemfile(true) do | |
source "https://rubygems.org" |
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
#!/usr/bin/env bash | |
# https://developers.supportbee.com/blog/setting-up-cucumber-to-run-with-Chrome-on-Linux/ | |
# https://gist.github.com/curtismcmullan/7be1a8c1c841a9d8db2c | |
# https://stackoverflow.com/questions/10792403/how-do-i-get-chrome-working-with-selenium-using-php-webdriver | |
# https://stackoverflow.com/questions/26133486/how-to-specify-binary-path-for-remote-chromedriver-in-codeception | |
# https://stackoverflow.com/questions/40262682/how-to-run-selenium-3-x-with-chrome-driver-through-terminal | |
# https://askubuntu.com/questions/760085/how-do-you-install-google-chrome-on-ubuntu-16-04 | |
# Versions | |
CHROME_DRIVER_VERSION=`curl -sS https://chromedriver.storage.googleapis.com/LATEST_RELEASE` |
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
# This rake will setup the tenant like rails | |
# setup the test database. | |
Rake::Task['db:test:prepare'].enhance do | |
# Connect in the test database. | |
Rails.env = 'test' | |
ActiveRecord::Base.establish_connection('test') | |
Apartment::Tenant.drop('app') rescue nil | |
Apartment::Tenant.create('appp') |
- 10 (best) Ruby (and Rails) interview questions (and answers)
- 20 Ruby on Rails interview questions and answers from CareerRide.com
- 8 Essential Ruby on Rails Interview Questions from top 3% developers company
- A list of common questions with answers ask during interview of ruby on rails job
- Ruby And Ruby On Rails interview Q&A
- Some of the most frequently asked Ruby on Rails questions and how to answer them confidently
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
namespace :db do | |
require 'sequel' | |
Sequel.extension(:migration) | |
MIGRATIONS_PATH = 'db/migrations' | |
def db_conn_env | |
ENV["BOOKSHELF_DATABASE_URL"] | |
end |
NewerOlder