This gist details the following:
- Converting a Subversion (SVN) repository into a Git repository
- Purging the resultant Git repository of large files
- Retrieve a list of SVN commit usernames
| #============================================================== | |
| # .picasa.ini FILE STRUCTURE | |
| # | |
| # reverse-engineered by Franz Buchinger <fbuchinger@gmail.com> | |
| # licensed to the public domain | |
| # | |
| # Picasa Version(s): 3.8.0 | |
| # | |
| # Changelog: | |
| # v0.1: initial release |
| # | |
| # Project specific excludes | |
| # | |
| tomcat | |
| # | |
| # Default excludes | |
| # |
This gist details the following:
| #!/usr/bin/env perl | |
| use 5.10.0; | |
| use strict; | |
| use warnings; | |
| use Getopt::Long; | |
| use Data::Dumper; | |
| $Data::Dumper::Indent = 0; | |
| $Data::Dumper::Terse = 1; |
| wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/12.0.2+10/e482c34c86bd4bf8b56c0b35558996b9/jdk-12.0.2_linux-x64_bin.tar.gz |
Automating things in software development is more than useful and using Ansible is one way to automate software provisioning, configuration management, and application deployment. Normally you would install Ansible to your control node just like any other application but an alternate strategy is to deploy Ansible inside a standalone Docker image. But why would you do that? This approach has benefits to i.a. operational processes.
Although Ansible does not require installation of any agents within managed nodes, the environment where Ansible is installed is not so simple to setup. In control node it requires specific Python libraries and their system dependencies. So instead of using package manager to install Ansible and it’s dependencies we just pull a Docker image.
By creating an Ansible Docker image you get the Ansible version you want and isolate all of the required dependencies from the host machine which potentially might break things in other area
| const fs = require('fs'); | |
| const path = require('path'); | |
| const readline = require('readline'); | |
| const {google} = require('googleapis'); | |
| const SCOPES = ['https://www.googleapis.com/auth/gmail.readonly']; | |
| const TOKEN_PATH = 'token.json'; | |
| const OUTPUT_FOLDER = './output'; | |
| const METADATA_FILE = 'metadata.json'; |
| #!/bin/bash | |
| # Checks that a Plex server is up. For devices on a local network your | |
| # router may have created [hostname].local or [hostname].lan DNS entries; | |
| # otherwise you can pass an IP address or ensure your server is remotely | |
| # accessible (https://support.plex.tv/articles/200931138/). | |
| # | |
| # See also | |
| # https://old.reddit.com/r/PleX/comments/7qolre/what_do_others_do_to_monitor_plex_health/ | |
| # https://support.plex.tv/articles/201638786-plex-media-server-url-commands/ | |
| # |
| // 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks. | |
| // You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/) | |
| (() => { | |
| const SHOW_SIDES = false; // color sides of DOM nodes? | |
| const COLOR_SURFACE = true; // color tops of DOM nodes? | |
| const COLOR_RANDOM = false; // randomise color? | |
| const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com) | |
| const MAX_ROTATION = 180; // set to 360 to rotate all the way round | |
| const THICKNESS = 20; // thickness of layers | |
| const DISTANCE = 10000; // ¯\\_(ツ)_/¯ |
| [ | |
| { | |
| "name": "Acid Splash", | |
| "level": 0, | |
| "school": "evocation", | |
| "classes": ["sorcerer", "wizard"], | |
| "actionType": "action", | |
| "concentration": false, | |
| "ritual": false, | |
| "range": "60 feet", |