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:
foo | bar | baz | |
---|---|---|---|
a | 1 | ||
b | 2 | ||
c | |||
4 | |||
e | 5 |
import UIKit | |
import CoreGraphics | |
func imageFromPixelValues(pixelValues: [UInt8]?, width: Int, height: Int) -> CGImage? | |
{ | |
var imageRef: CGImage? | |
if pixelValues != nil { | |
let imageDataPointer = UnsafeMutablePointer<UInt8>(pixelValues!) | |
let colorSpaceRef = CGColorSpaceCreateDeviceGray() |
#!/bin/bash | |
sudo apt-get install -y \ | |
build-essential git curl nano gedit vim kdiff3 ubuntu-make octave \ | |
chromium-browser fcitx cloc gtkhash p7zip gparted baobab gimp pinta uncrustify \ | |
imagemagick meshlab python-nose \ | |
muon okular python3-pyqt4 pavucontrol pulseaudio-equalizer \ | |
redshift redshift-gtk \ | |
openjdk-8-jdk nginx \ | |
xdotool tidy python-gpgme autoconf libqt5opengl5 \ |
References:
From man page: man apt_preferences
/* | |
* @return Retorna a cotação atual de um título específico do Tesouro Direto Junto com a taxa anual de retorno | |
* @customfunction | |
**/ | |
function TESOURODIRETO(bondName) { | |
let srcURL = "https://www.tesourodireto.com.br/json/br/com/b3/tesourodireto/service/api/treasurybondsinfo.json"; | |
let jsonData = UrlFetchApp.fetch(srcURL); | |
let parsedData = JSON.parse(jsonData.getContentText()).response; | |
for(let bond of parsedData.TrsrBdTradgList) { |