nssm.exe install SERVICE_NAME "C:\path\to\exe\or\bat\file.ext" "argument1 argument2"
# 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} |
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+'\"'; | |
}); |
# 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 |
- наворачивай https://www.coursera.org/learn/edinburgh-music-theory
- прорешивай Berklee - Music Theory 1 и 2 (рабочая тетрадь с аудио, ссылка на торрент ниже)
- параллельно дрочи https://www.musictheory.net/exercises (этот же сайт можешь использовать в качестве справочника) и functional ear trainer (на андроиде)
- не забывай, что тебе нужно петь\мычать все то, что ты слушаешь\угадываешь\пишешь
- не забывай, что тебе нужно играть на инструменте все, что ты пишешь (обязательно) и читаешь (необязательно)
- не забывай, что тебе нужно ТВОРЧЕСКИ КОМБИНИРОВАТЬ все изучаемые концепции. Научился петь первые три ноты мажорной гаммы? Придумай из них мелодию, пой их с разными ритмами, накладывай на них разные слова, постарайся вспомнить знакомые тебе песенки с такими же отрезками мелодии. Научился строить мажорное трезвучие? Играй его во всех 12 тональностях, пробуй комбинировать разные трезвучия, ищи последовательности, которые для тебя интересно звучат, переставляй ноты местами, ар
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.
template: project version: 1.0 project: [Project Title] description: [Description] owner: [Owner] deadline: [YYYY-MM-DD] okrs:
- OBJECTIVE: Grow Our Global Business
- KR: Hit our global sales target of $100 Million in Sales
function slugify(text) | |
{ | |
return text.toString().toLowerCase() | |
.replace(/\s+/g, '-') // Replace spaces with - | |
.replace(/[^\w\-]+/g, '') // Remove all non-word chars | |
.replace(/\-\-+/g, '-') // Replace multiple - with single - | |
.replace(/^-+/, '') // Trim - from start of text | |
.replace(/-+$/, ''); // Trim - from end of text | |
} |
So, you've created a Python app (be it a graphical user interface with Qt or the like, or a simple command line interface). Great! But how are others going to use it? Python applications often have dependencies (e.g. from third-party modules), and they also need a Python interpreter to run them. For a developer, installing all the necessary bits and bobs to make things work is okay, but that's unacceptable for a normal user - they just want to download the thing and run it.
Below are simple instructions to publish your app on the three main operating systems: Windows, macOS and Linux.
/** | |
* D Holbrook | |
* | |
* Code Club: PO1 | |
* | |
* (*) Define a binary tree data structure and related fundamental operations. | |
* | |
* Use whichever language features are the best fit (this will depend on the language you have selected). The following operations should be supported: | |
* | |
* Constructors |