Skip to content

Instantly share code, notes, and snippets.

View yorgabr's full-sized avatar

Márcio Siqueira yorgabr

View GitHub Profile
@weberjn
weberjn / gist-duplicity-MSYS2.md
Created June 9, 2020 13:26
duplicity on MSYS2

duplicity on MSYS2

Currently the duplicity backup tool is not available in the MSYS2 pacman repository. These are the steps to install it via the Python PIP package manager:

pacman -S base-devel gcc vim cmake
pacman -S libbz2-devel zlib-devel libcrypt-devel
@KrustyHack
KrustyHack / doc.adoc
Last active June 24, 2024 04:35
proxmox-ubuntu-cloud-howto

Cloud-Init Support

Cloud-Init is the defacto multi-distribution package that handles early initialization of a virtual machine instance. Using Cloud-Init, one can configure network

@roblogic
roblogic / msys2-setup.md
Last active May 11, 2024 11:00
MSYS2 first time setup

MSYS2 is a minimalist linux/unix shell environment for Windows.

Quote: "A modern replacement for MSYS bringing recent versions of the GNU toolchains, Git and other common Unix command line tools to the Windows platform"

1. Install

Do all the steps listed here: http://msys2.github.io/
(troubleshooting guide here: https://github.com/msys2/msys2/wiki/MSYS2-installation )

2. Set up proxies

@alexhawkins
alexhawkins / nativeJavaScript.js
Last active April 28, 2024 08:52
Implementation of Native JavaScript Methods (forEach, Map, Filter, Reduce, Every, Some)
'use strict';
/*****************NATIVE forEACH*********************/
Array.prototype.myEach = function(callback) {
for (var i = 0; i < this.length; i++)
callback(this[i], i, this);
};
//tests
@kurahaupo
kurahaupo / foo
Last active November 8, 2022 16:49
There's no excuse for using #!/usr/bin/env ...
test
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active July 4, 2024 06:56
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname