-
Open Conemu
-
Open Settings -> Tasks or go to new tab button -> Setup tasks.
-
Click
+
to add a new task -
Enter the name as
Git Bash
or whatever you like -
Task parameters:
/icon "C:\Program Files (x86)\Git\etc\git.ico" /dir "C:\_git"
-
Command:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# internal: generate permutation recursively | |
generatePermutation = (perm, pre, post, n) -> | |
if n > 0 | |
for i in [0...post.length] | |
rest = post.slice 0 | |
elem = rest.splice i, 1 | |
generatePermutation perm, pre.concat(elem), rest, n - 1 | |
else | |
perm.push pre | |
return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var autoprefixer = require('gulp-autoprefixer'); | |
var buffer = require('vinyl-buffer'); | |
var gulp = require('gulp'); | |
var gutil = require('gulp-util'); | |
var plumber = require('gulp-plumber'); | |
var rename = require("gulp-rename"); | |
var run = require('gulp-run'); | |
gulp.task('sassc', function () { | |
gulp.src('test/test.scss', { buffer: false }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
[ | |
{ "args": {"to": "word"}, "command": "expand_selection" }, | |
{ "args": null, "command": "copy" }, | |
{ "args": { "to": "eol" }, "command": "move_to" }, | |
{ "args": { "characters": "\n" }, "command": "insert" }, | |
{ "args": { "characters": "console.log('" }, "command": "insert" }, | |
{ "args": null, "command": "paste" }, | |
{ "args": { "characters": ": ', " }, "command": "insert" }, | |
{ "args": null, "command": "paste" }, | |
{ "args": { "characters": ");" }, "command": "insert" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_.xor([1], [2]); | |
= [1, 2] | |
_.xor([1, 2], [2]); | |
= [1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Config for SSL. | |
echo "--- Making SSL Directory ---" | |
mkdir /etc/nginx/ssl | |
echo "--- Copying $i SSL crt and key ---" | |
openssl req -nodes -new -x509 -keyout /etc/nginx/ssl/server.key -out /etc/nginx/ssl/server.crt -subj "/C=US/ST=NY/L=NYC/O=Dis/CN=www.example.com" | |
echo "--- Turning SSL on in nginx.conf. ---" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import hoistStatics from 'hoist-non-react-statics'; | |
import React from 'react'; | |
/** | |
* Allows two animation frames to complete to allow other components to update | |
* and re-render before mounting and rendering an expensive `WrappedComponent`. | |
*/ | |
export default function deferComponentRender(WrappedComponent) { | |
class DeferredRenderWrapper extends React.Component { | |
constructor(props, context) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from electrum import util, keystore, bitcoin | |
import argparse | |
import sys | |
import threading | |
MAX_THREADS=25 | |
TARGET_ADDR="3CcxyPhyvyc3S9UuPfu42GNZLvVVV11Uk8" | |
# How many of the address indexes to try. Default to just /0. | |
# i.e. last digit in derivation path: m/49'/0'/0'/0/0 | |
MAX_ADDR_IDX=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const transitionToPromise = (el, property, value) => | |
new Promise(resolve => { | |
el.style[property] = value; | |
const transitionEnded = e => { | |
if (e.propertyName !== property) return; | |
el.removeEventListener('transitionend', transitionEnded); | |
resolve(); | |
} | |
el.addEventListener('transitionend', transitionEnded); | |
}); |
OlderNewer