Skip to content

Instantly share code, notes, and snippets.

@thomasvs
thomasvs / MoveAndProcessNextFile.js
Last active April 5, 2025 06:41 — forked from TfTHacker/ArchiveAndProcessNextFile.js
Obsidian: Archive current file and then open next file in folder (Templater script)
<%*
/*
Updated: 1/22/2022
Author: TfTHacker & thomasvs
Gist: https://gist.github.com/TfTHacker & https://gist.github.com/thomasvs/343c740825407f0a84f350e4e40bedd0
Twitter: https://twitter.com/TfTHacker & https://twitter.com/thomasvs
Requirements: Templater Plugin for Obsidian
Description: This script performs the following actions:
1. Moves current file using the file explorer's move feature
2. Opens next file in current folder into the active window pane in Obsidian
@thomasvs
thomasvs / mysql_replication_autostart.sh
Created October 16, 2016 01:31 — forked from nicomak/mysql_replication_autostart.sh
This script automates the process of starting a Mysql Replication on 1 master node and N slave nodes. More details on how it works at http://blog.ditullio.fr/2016/04/30/initialize-mysql-master-slave-replication-script/
#!/bin/bash
#title : replication-start.sh
#description : This script automates the process of starting a Mysql Replication on 1 master node and N slave nodes.
#author : Nicolas Di Tullio
#date : 20160706
#version : 0.2
#usage : bash mysql_replication_autostart.sh
#bash_version : 4.3.11(1)-release
#=============================================================================