Create a Shortcut with two steps:
- select photos
- get contents from url
- set method to
post
- set request body to
form
- use
magic variable
to set file as result of last step
[extensions] | |
# enable color extension | |
color = | |
# enable extdiff extension (Extended Diff) | |
hgext.extdiff = | |
[extdiff] | |
# configure extended diff to use colordiff (requires colordiff installed in your system) | |
cmd.cdiff = colordiff | |
opts.cdiff = -uprN |
% To remove a Matlab trailing whitespace in the editor | |
% Original Author: Sam Roberts | |
% Improved by: Simone Gaiarin <[email protected]> | |
% http://stackoverflow.com/questions/19770347/how-to-auto-remove-trailing-whitespaces-on-save-in-matlab | |
% Modified by Mark Harfouche to remember cursor location | |
% | |
% | |
% Temp variable for shortcut. Give it an unusual name so it's unlikely to | |
% conflict with anything in the workspace. | |
shtcutwh__ = struct; |
import numpy as np | |
import matplotlib.pyplot as plt | |
import matplotlib as mpl | |
from matplotlib.widgets import Slider | |
import iofuncs as iof | |
import plotfuncs as plf | |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
""" | |
import os | |
import numpy as np | |
import pandas as pd |
Create a Shortcut with two steps:
post
form
magic variable
to set file as result of last step#!/usr/bin/env node | |
const fs = require('fs'); | |
function convertProtonPassToJson(protonPassJson) { | |
// Parse the JSON input | |
const data = JSON.parse(protonPassJson); | |
// Define an array to hold CSV lines | |
let csvLines = []; |