Install HomeBrew first
brew update
brew tap caskroom/cask
brew install brew-cask
If you get the error "already installed", follow the instructions to unlink it, then install again:
#!/bin/bash | |
ad_hosts_url="https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts" | |
# The IP address below should point to the IP where blocked traffic should go | |
# or to a non routable address such as 0.0.0.0 | |
# OpenDNS block page | |
# pixelserv_ip="146.112.61.104" | |
# not routable address |
package com.zanclus.socialshell; | |
import com.zanclus.socialshell.utils.AbstractLoggingVerticle; | |
import static io.vertx.ext.auth.shiro.LDAPAuthRealmConstants.*; | |
import io.vertx.core.AsyncResult; | |
import io.vertx.core.Future; | |
import io.vertx.core.Verticle; | |
import io.vertx.core.http.HttpServerOptions; | |
import io.vertx.core.json.JsonObject; |
Install HomeBrew first
brew update
brew tap caskroom/cask
brew install brew-cask
If you get the error "already installed", follow the instructions to unlink it, then install again:
(ns cljsjs.jwt | |
(:require | |
[clojure.spec :as s] | |
[clojure.string :as str] | |
[goog.json :as json] | |
[goog.crypt.base64 :refer [encodeString decodeString]])) | |
;; https://github.com/Caligatio/jsSHA | |
;; goog.crypt.hmac produces different signature than nodejs version | |
(def jssha (js/require "jssha")) |
# Unix shell | |
# run if zero exit | |
cd tmp/a/b/c && tar xvf ~/archive.tar # untar if dir exists | |
# run if non-zero exit | |
cd tmp/a/b/c || mkdir -p tmp/a/b/c | |
cd tmp/a/b/c || mkdir -p tmp/a/b/c && tar xvf -C tmp/a/b/c ~/archive.tar | |
which | |
whereis |
--- | |
AWSTemplateFormatVersion: 2010-09-09 | |
Description: > | |
A basic CloudFormation template for an RDS Aurora cluster. | |
Parameters: | |
DatabaseUsername: | |
AllowedPattern: "[a-zA-Z0-9]+" | |
ConstraintDescription: must be between 1 to 16 alphanumeric characters. |
https://ldnwebperf.org/events/caches-all-the-way-down/
(kind of Chromium specific here and there)
no-cache
, except for no-store
)(ns my.promises | |
"Demo to show different approaches to handling promise chains in ClojureScript | |
In particular, this file investigates how to pass data between Promise | |
callbacks in a chain. | |
See Axel Rauschmayer's post | |
http://2ality.com/2017/08/promise-callback-data-flow.html for a problem | |
statement. |