View playground.rs
fn main() {
let (tx, rx): (mpsc::SyncSender<Vec<i16>>, mpsc::Receiver<Vec<i16>>) = mpsc::sync_channel(10 as usize);
listen("127.0.0.1:8000",|out| {
move |msg| {
let d = rx.recv().expect("ERROR RECV");
out.send("done")
}
}).unwrap();
View gnuradio_dead_branch
___________________________________________________________________
/ _ _ _ _ _ _ \
| /_\ | |_ | |_ ___ _ _ | |_ (_) ___ _ _ | | |
| / _ \| _|| _|/ -_)| ' \| _|| |/ _ \| ' \ |_| |
| /_/ \_\\__| \__|\___||_||_|\__||_|\___/|_||_|(_) |
| |
| __ __ _ _ |
| \ \ / /___ _ _ ( )_ _ ___ _ _ ___(_) _ _ __ _ __ _ |
| \ V // _ \| || ||/| '_|/ -_) | || |(_-<| || ' \ / _` | / _` | |
| |_| \___/ \_,_| |_| \___| \_,_|/__/|_||_||_|\__, | \__,_| |
View 6746-taxes
{
"Taxes got from MBP XMLs": [
{
"name": "District Tax Rate: City - La Quinta CA",
"type": "rate-per-day",
"district_id": 163,
"amount": 0.1
}
],
"Applicable taxes (after exclusion table)": [
View playground.rs
const BASE64CHARS: [char; 64] = [
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S',
'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l',
'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3', '4',
'5', '6', '7', '8', '9', '+', '/',
];
fn main() {
println!("{:?}", format_base64_string("foz=="));
}
View outlook_sto.vb
Sub Retrieve_http()
'our Outlook folder- deifinitions
Dim myItem As MailItem
Dim myFolder As Folder
Dim myNamespace As NameSpace
Set myNamespace = Application.GetNamespace("MAPI")
'put your folders name here
'1st one is store folder which should refer to firewall_support@iuass.org
'second is possibly 'inbox folder'
View gist:2461ba10c8cff1e211710227e60f3be5
{
"blockHash": "0xb3c4b4042f34b4d406e449e047c2b90c4295f1ddf9a3825c4ac6306dc113e8bf",
"blockNumber": 2209075,
"confirmations": 0,
"contractAddress": null,
"cumulativeGasUsed": 909763,
"data": null,
"destination": null,
"from": "0x2a65aca4d5fc5b5c859090a6c34d164135398226",
"gas": 90000,
View gist:b9f8e7ac6b3fe9e2363e132becb66b0b
config.middleware.insert_before 0, Rack::Cors do
allow do
origins '*'
resource '*',
:headers => :any,
:methods => [:get, :post, :options],
expose: %w(Authorization)
end
end
View vba_oulook.vb
Sub List_All_NameSpace_Folders()
'https://stackoverflow.com/questions/16225353/outlook-macro-to-collect-extract-data-from-subject-field-of-numerous-messages
Dim myNS As NameSpace
Dim myFolder As MAPIFolder
Dim mySubfolder As MAPIFolder
Dim strFolderList As String
strFolderList = "Your Outlook NameSpace contains these folders:" _
& vbCr & vbCr
Set myNS = Application.GetNamespace("MAPI")
View Fechas.java
package es.javautodidacta;
import java.time.*; // Este paquete contiene LocalDate, LocalTime y LocalDateTime.
import java.time.format.*; // Este paquete contiene DateTimeFormatter.
public class Fechas {
public static void main(String[] args) {
LocalTime ahora = LocalTime.now();
System.out.println(ahora);
View 5711-taxes
{
"Taxes got from MBP XMLs": [
{
"name": "District Tax Rate: State - Vermont Hotel Tax",
"type": "rate-per-day",
"district_id": 242,
"amount": 0.09
},
{
"name": "District Tax Rate: State - Vermont Local Option Hotel Tax",