nssm.exe install SERVICE_NAME "C:\path\to\exe\or\bat\file.ext" "argument1 argument2"
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
# Add this in the Tor config file | |
# Exclude Nodes of all of these countries | |
# Five Eyes: U.S., Australia, Canada, New Zealand, U.K. (also added France because it's becoming worst than the Five Eyes) | |
ExcludeNodes {fr} | |
ExcludeExitNodes {us},{au},{ca},{nz},{gb},{fr} |
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
function get(path, obj, fb = `$\{${path}}`) { | |
return path.split('.').reduce((res, key) => res[key] || fb, obj); | |
} | |
function parse(template, map, fallback) { | |
return template.replace(/\$\{.+?}/g, (match) => { | |
console.log('match', match); | |
const path = match.substr(2, match.length - 3).trim(); const replBy = get(path, map, fallback); | |
return isFinite(replBy) ? replBy : '\"'+replBy+'\"'; | |
}); |
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
# read more at https://terrty.net/2014/ssl-tls-in-nginx/ | |
# latest version on https://gist.github.com/paskal/628882bee1948ef126dd/126e4d1daeb5244aacbbd847c5247c2e293f6adf | |
# security test score: https://www.ssllabs.com/ssltest/analyze.html?d=terrty.net | |
# your nginx version might not have all directives included, test this configuration before using in production against your nginx: | |
# $ nginx -c /etc/nginx/nginx.conf -t | |
server { | |
# public key, contains your public key and class 1 certificate, to create: | |
# (example for startssl) | |
# $ (cat example.com.pem & wget -O - https://www.startssl.com/certs/class1/sha2/pem/sub.class1.server.sha2.ca.pem) | tee -a /etc/nginx/ssl/domain.pem > /dev/null |
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 { isEqual } from 'lodash' | |
import { inject } from 'mobx-react' | |
import { Component } from 'react' | |
import { jss } from 'react-jss' | |
import { compose, createEagerElement, getDisplayName } from 'recompose' | |
const InstanceSheetInjector = BaseComponent => class extends Component { | |
static displayName = 'applyTheme-instanceSheet'; | |
instanceSheet; |
- наворачивай https://www.coursera.org/learn/edinburgh-music-theory
- прорешивай Berklee - Music Theory 1 и 2 (рабочая тетрадь с аудио, ссылка на торрент ниже)
- параллельно дрочи https://www.musictheory.net/exercises (этот же сайт можешь использовать в качестве справочника) и functional ear trainer (на андроиде)
- не забывай, что тебе нужно петь\мычать все то, что ты слушаешь\угадываешь\пишешь
- не забывай, что тебе нужно играть на инструменте все, что ты пишешь (обязательно) и читаешь (необязательно)
- не забывай, что тебе нужно ТВОРЧЕСКИ КОМБИНИРОВАТЬ все изучаемые концепции. Научился петь первые три ноты мажорной гаммы? Придумай из них мелодию, пой их с разными ритмами, накладывай на них разные слова, постарайся вспомнить знакомые тебе песенки с такими же отрезками мелодии. Научился строить мажорное трезвучие? Играй его во всех 12 тональностях, пробуй комбинировать разные трезвучия, ищи последовательности, которые для тебя интересно звучат, переставляй ноты местами, ар
openssl pkcs12 -in ~/../dir/filename.pfx -nocerts -out ~/../dir/key-filename.key
openssl pkcs12 -in ~/../dir/filename.pfx -clcerts -nokeys -out ~/../dir/cert-filename.crt
openssl rsa -in ~/../dir/key-filename.key -out ~/../dir/key-filename-stripped.key
The diff output is more specific:
[I]f a whole block of text is moved, then all of it, rather than just the beginning and end, is detected as changed.
>The algorithm described here avoids these difficulties. It detects differences that correspond very closely to our intuitive notion of difference.
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
https://github.com/rust-lang/rustup.rs/issues/953#issuecomment-318650338 |
du -h your_directory - the size of your target directory and subdirectories as well.
OlderNewer