Reference(s):
http://www.sourcegear.com/diffmerge/downloads.php - get the installer version, NOT the dmg version
Reference(s):
http://www.sourcegear.com/diffmerge/downloads.php - get the installer version, NOT the dmg version
const rmel = selector => { | |
try { | |
for (el of document.querySelectorAll(selector)) { | |
el.parentElement.removeChild(el); | |
} | |
} catch (e) { | |
} | |
} | |
const gel = selector => ( |
// When everything starts bothering you, yeter is yeter. | |
// to contribute | |
// https://gist.github.com/ramesaliyev/13a710f602cfb922d05bef940be3ac31 | |
// to use | |
// https://kes.im/yeterjs | |
// in html: | |
// <script src="https://kes.im/yeterjs"></script> |
// Require node js dgram module. | |
var dgram = require('dgram'); | |
// Create a udp socket client object. | |
var client = dgram.createSocket("udp4"); | |
// message variable is used to save user input text. | |
var message = ""; | |
// Set command line input character encoding to utf-8. |
var net = require("net"); | |
process.stdin.setEncoding('utf-8'); | |
var connection = net.connect(10000, "192.168.137.1", function() { // connect to the server we made | |
console.log("client connected"); | |
// When receive user input data in console. | |
process.stdin.on('data', function (message) { | |
// If user do not input data in command line then send default message. |
Before you can sync, you need to add a remote that points to the upstream repository. You may have done this when you originally forked.
$ git remote -v
# List the current remotes
origin https://github.com/user/repo.git (fetch)
origin https://github.com/user/repo.git (push)
To create a stash with a specific name, use:
git stash push -m "your-stash-name"
To view a list of all your stashes, including their names:
git stash list
To apply and remove a specific stash by its name, first, find the stash index using git stash list.
Once you have the index (e.g., stash@{2}
), you can pop it:
def min_max(data): | |
min_approx = np.zeros(data.shape) | |
max_approx = np.zeros(data.shape) | |
for i, row in enumerate(data): | |
for j, _ in enumerate(row): | |
col = data[:, j] | |
vec = np.concatenate([row, col]) | |
q1 = np.percentile(vec, 25, axis=0, keepdims=False) |