Seafile is a great alternative to Dropbox, Google Drive or Nextcloud for sharing files either with your own devices or 3rd parties.
Your VPS should already have the minimal configuration including
ssh
with PubPriv Keys
const fs = require('fs'); | |
const { exec } = require('child_process'); | |
const jsonSourceMap = require('json-source-map'); | |
const filePath = './input.json'; // Path to your JSON file | |
// Recursive function to process all string values with their locations | |
function processStringsWithLocations(json, pointerMap, processValue) { | |
if (typeof json === 'string') { | |
const pointer = pointerMap.json; |
Seafile is a great alternative to Dropbox, Google Drive or Nextcloud for sharing files either with your own devices or 3rd parties.
Your VPS should already have the minimal configuration including
ssh
with PubPriv Keys""" | |
This little program convert all the indented code blocks | |
in a markdown file to a fenced code blocks style. | |
It adds python language highlight argument by default. | |
This program is argely inspired by the php gist made by tobice | |
https://gist.github.com/tobice/1beab9616bb48e56ac1f1eb48c11dd97 | |
-p, --path : path to the file to convert | |
-t, --type : change the language highlight for the code blocks |
#!/usr/bin/env python | |
""" | |
Convert CSV to Netscape Bookmark File | |
Works for files exported by Instapaper. | |
author: Sander van Dragt <[email protected]> | |
version: 2019-10-23.01 | |
""" | |
import csv | |
from sys import argv |
// Google Forms Slack Notification | |
// Andy Chase <github.com/andychase> | |
// License: CC0 1.0 Universal <creativecommons.org/publicdomain/zero/1.0> | |
// Install 1: This code goes in ( tools > script editor... ) of your google docs form | |
// Install 2: ( resources > current project triggers ) ( [onSubmit], [from Form], [On form submit] ) | |
// Setup 1: Put your slack api url below | |
var POST_URL = "https://hooks.slack.com/services/"; | |
function onSubmit(e) { |
=begin | |
Jekyll tag to include Markdown text from _includes directory preprocessing with Liquid. | |
Usage: | |
{% markdown <filename> %} | |
=end | |
module Jekyll | |
class MarkdownTag < Liquid::Tag | |
def initialize(tag_name, text, tokens) | |
super | |
@text = text.strip |
#!/bin/bash | |
### everpad_to_zim.sh v0.1 | |
### Copyleft 2013 by [email protected] | |
### | |
### This script exports everpad's Evernote client (https://github.com/nvbn/everpad/) | |
### database (Schema v5) to zim wiki file sctructure: | |
### Evernote/notebook/note -> zim/notebook/note.txt + notebook/note/attachments.ext | |
### | |
### THIS SCRIPT DOES NOT: | |
### * copy attachments in the right place, but in the end of the note instead. |
A very basic regex-based Markdown parser. Supports the
following elements (and can be extended via Slimdown::add_rule()
):