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) { |
References:
From man page: man apt_preferences
#!/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 \ |
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() |
foo | bar | baz | |
---|---|---|---|
a | 1 | ||
b | 2 | ||
c | |||
4 | |||
e | 5 |