Command: heroku pgbackups:capture --remote production
Response: >>> HEROKU_POSTGRESQL_COLOR_URL (DATABASE_URL) ----backup---> a712
Command: heroku pgbackups:url [db_key] --remote production
public class Solution | |
{ | |
public double FindMedianSortedArrays(int[] A, int[] B) | |
{ | |
if (Object.ReferenceEquals(A, null) || Object.ReferenceEquals(B, null)) | |
{ | |
throw new ArgumentNullException(); | |
} | |
int aLen = A.Length; |
type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis
`Name: ${user.name}`
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
By @foldleft.bsky.social, see also Unfollow everyone on bsky.app.
https://twitter.com/YOUR_USER_NAME/following
// Unfollow everyone on twitter.com, by Jamie Mason (https://twitter.com/fold_left)
#Getting Started
##Webpage:
<html>
<head>
<title>Testing with Ruby and Selenium WebDriver</title>
</head>
<body bgcolor="antiquewhite">
require "active_record" | |
namespace :db do | |
db_config = YAML::load(File.open('config/database.yml')) | |
db_config_admin = db_config.merge({'database' => 'postgres', 'schema_search_path' => 'public'}) | |
desc "Create the database" | |
task :create do | |
ActiveRecord::Base.establish_connection(db_config_admin) |
Put test1.js
and test2.js
into a tests/
directory, then run the suite:
$ casperjs test tests/ --pre=pre.js --includes=inc.js --post=post.js
Test file: /Users/nperriault/tmp/pre-inc/pre.js
Hey, I'm executed before the suite.
Test file: /Users/nperriault/tmp/pre-inc/tests/test1.js
# this is test 1
Hi, I've been included.
PASS Subject is strictly true
// ПоПацански.cpp : Defines the entry point for the console application. | |
// | |
// #include "stdafx.h" | |
#define подъёбку setlocale | |
#define чуть_чуть 7 | |
#define так_себе 12 | |
#define пошло_оно_всё 120 |