For excessively paranoid client authentication.
Updated Apr 5 2019:
because this is a gist from 2011 that people stumble into and maybe you should AES instead of 3DES in the year of our lord 2019.
some other notes:
(function() { | |
var doc = app.activeDocument, | |
lays = doc.layers, | |
WORK_LAY = lays.add(), | |
NUM_LAY = lays.add(), | |
i = lays.length - 1, | |
lay; | |
// main working loop | |
for (; i > 1; i--) { |
SELECT | |
tmp.ipAddress, | |
-- Calculate how many connections are being held by this IP address. | |
COUNT( * ) AS ipAddressCount, | |
-- For each connection, the TIME column represent how many SECONDS it has been in | |
-- its current state. Running some aggregates will give us a fuzzy picture of what | |
-- the connections from this IP address is doing. | |
FLOOR( AVG( tmp.time ) ) AS timeAVG, |
# Install QEMU OSX port with ARM support | |
sudo port install qemu +target_arm | |
export QEMU=$(which qemu-system-arm) | |
# Dowload kernel and export location | |
curl -OL \ | |
https://github.com/dhruvvyas90/qemu-rpi-kernel/blob/master/kernel-qemu-4.1.7-jessie | |
export RPI_KERNEL=./kernel-qemu-4.1.7-jessie | |
# Download filesystem and export location |
// A super simple HTTPS service which allows you to GET a collection of names from https://<hostname>/names | |
var express = require('express'); | |
var https = require('https'); | |
var app = express(); | |
var fs = require('fs'); | |
app.get('/names', function (req, res) { | |
res.json(["Simon", "Bob"]) | |
}); |
max = (a + b + abs(a - b)) / 2 | |
min = (a + b - abs(a - b)) / 2 |
# Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) } | |
require 'rubygems' | |
require 'railsless-deploy' | |
load 'config/deploy' |