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/bash | |
############################################################### | |
## ChangeIP.com bash update script | |
############################################################### | |
## Written 3/18/09 by Tom Rinker, released to the Public Domain | |
## Re-write 09/15/2017 by Michael Bierman | |
## I replaced wget with curl so it can work on all macs. | |
## This works with no-ip.com | |
############################################################### |
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 EventEmitter = require('events') | |
const electron = require('electron') | |
export default class EventBus extends EventEmitter { | |
constructor(name='default') { | |
super() | |
this._name = name | |
this._baseEventKey = `EventBus-${name}:` | |
} |
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 | |
# | |
# Script to start CPU limit daemon | |
# | |
set -e | |
case "$1" in | |
start) | |
if [ $(ps -eo pid,args | gawk '$3=="/usr/bin/cpulimit_daemon.sh" {print $1}' | wc -l) -eq 0 ]; then | |
nohup /usr/bin/cpulimit_daemon.sh >/dev/null 2>&1 & |
OlderNewer