Create Bookmarklet (browser bookmark that executes Javsacript) to copy a given text to Clipboard.
This is the base javascript:
(function (text) {
var node = document.createElement('textarea')
var selection = document.getSelection()
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
) | |
func dumpMap(space string, m map[string]interface{}) { | |
for k, v := range m { | |
if mv, ok := v.(map[string]interface{}); ok { |
TSV means "tab-separated values". I prefer this format over CSV ("comma-separated values") because it doesn't require as much quoting. Many programs that can use CSV formatted data can also use TSV, although they may need to be explicitly told of the different format if it's not detected automatically.
However, in any of the jq scripts below, "@tsv
" can usually be replaced with "@csv
" to get CSV output instead.
import warnings | |
from skimage.measure import compare_ssim | |
from skimage.transform import resize | |
from scipy.stats import wasserstein_distance | |
from scipy.misc import imsave | |
from scipy.ndimage import imread | |
import numpy as np | |
import cv2 | |
## |
Rem DWD-Warnmodul (win10 1803), parameter addresse | |
@echo off | |
set lat=48.37& set lon=10.90 | |
set /p lat="Enter lat(%lat%) " & set /p lon="Enter lon(%lon%) " | |
set bridge=http://localhost:8000/api/newdeveloper | |
if "%1"=="" (set /p bridge="change bridge adress(%bridge%) ") else (set bridge=%1) | |
set light=1 | |
set /p light="select light(%light%) " |