Skip to content

Instantly share code, notes, and snippets.

# Install tnef utility
sudo apt-get install tnef
# Create a script
vi tnef.sh
# Paste
#!/bin/bash
SAVE_PATH=~/Desktop/winmail.dat
mkdir $SAVE_PATH
// derived from http://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Parallel_algorithm
function map() {
emit(1, // Or put a GROUP BY key here
{sum: this.value, // the field you want stats for
min: this.value,
max: this.value,
count:1,
diff: 0, // M2,n: sum((val-mean)^2)
});
<!DOCTYPE html>
<html>
<head>
<title>SVG Lines</title>
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script src="belay.js"></script>
<link rel="stylesheet" type="text/css" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<style>
body{
@pbespechnyi
pbespechnyi / gist:fe1df599ae6b8b732a1b6bf48fcbba6a
Created December 17, 2022 09:56
Linode OpenApi Java client gen
```
[main] WARN o.o.c.config.CodegenConfigurator - There were issues with the specification, but validation has been explicitly disabled.
Errors:
-attribute components.schemas.DatabasePostgreSQL.status is not of type `schema`
-attribute components.schemas.DatabasePostgreSQL.updated is not of type `schema`
-attribute components.schemas.SecurityQuestionsPost.response is not of type `schema`
-attribute components.schemas.DatabasePostgreSQLRequest.replication_commit_type is not of type `schema`
-attribute components.schemas.DatabasePostgreSQLRequest.cluster_size is not of type `schema`
-attribute components.schemas.DatabasePostgreSQLRequest.region is not of type `schema`
-attribute components.schemas.DatabasePostgreSQLRequest.replication_type is not of type `schema`