pidof systemd
2733
If this return a number then your system supports systemd. Most Linux distributions in 2017 support systemd.
Since systemd starts the process then all processes will be children of systemd
| heroku config | sed 's/: */=/g; /^=/d' >> .env | |
| function MorseNode(ac, rate) { | |
| // ac is an audio context. | |
| this._oscillator = ac.createOscillator(); | |
| this._gain = ac.createGain(); | |
| this._gain.gain.value = 0; | |
| this._oscillator.frequency.value = 750; | |
| this._oscillator.connect(this._gain); |
| function query() { | |
| var | |
| // HN is done with very unsemantic classes. | |
| job_list = Array.prototype.slice.call(document.querySelectorAll('.c5a,.cae,.c00,.c9c,.cdd,.c73,.c88')), | |
| query_list = Array.prototype.slice.call(arguments), | |
| shown = 0, total = job_list.length; | |
| // Traverses up the dom stack trying to find a match of a specific class | |
| function up_to(node, klass) { | |
| if (node.classList.contains(klass)) { |