x << y == x * (2 ^ y)
1 << 5 == 1 * (2 ^ 5) == 32
// Instructions | |
// | |
// 1. Open the spreadsheet that you want to backup in Google Drive. | |
// 2. Go to Extensions -> Apps Script. | |
// 3. Copy and paste the code below into the editor. Change "Untitled" script name | |
// to something meaningful | |
// 4. Save and run the script. You will have to authorize access. | |
// 5. Go to the spreadsheet's parent folder in Google Drive. | |
// 6. Make sure that the backup folder and the year folder have been created. | |
// 7. Go to the year folder and make sure that the backup file has been created. |
import React, { useEffect } from "react"; | |
import { useFormikContext } from "formik"; | |
const FormikSubmitErrorMiddleware = ({ onSubmitError }) => { | |
const formikContext = useFormikContext(); | |
const { submitCount, isSubmitting, isValid } = formikContext; | |
useEffect(() => { | |
if ( | |
submitCount > 0 && |
-- user: | |
CREATE ROLE citus WITH NOSUPERUSER LOGIN IN ROLE pg_monitor; | |
-- database: | |
ALTER DATABASE citus SET citus.shard_replication_factor = 1; | |
ALTER DATABASE citus OWNER TO citus; | |
-- extensions: | |
CREATE EXTENSION IF NOT EXISTS "hll"; | |
CREATE EXTENSION IF NOT EXISTS "topn"; |
"/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py" -o "output.pdf" *.pdf |
# frozen_string_literal: true | |
require "bundler/inline" | |
gemfile(true) do | |
source "https://rubygems.org" | |
git_source(:github) { |repo| "https://github.com/#{repo}.git" } | |
gem "rails", github: "rails/rails" |
module Main exposing (..) | |
import Html exposing (..) | |
import Color exposing (..) | |
import Collage exposing (..) | |
import Element exposing (..) | |
import Time exposing (Time) | |
import AnimationFrame | |
Link to the talk: https://www.infoq.com/presentations/microservices-data-centric
I hereby claim:
To claim this, I am signing this object:
$ mdfind 'kMDItemFSSize > 200000000' | sed 's| |\\ |g' | xargs du -sch
# ^
# ~ 200MiB