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
pi-star@pi-star-duplex(ro):www$ tail -f /var/log/pi-star/MMDVM-2019-11-06.log | |
I: 2019-11-06 07:17:36.241 Started the DMR Id lookup reload thread | |
I: 2019-11-06 07:17:36.370 Interfaces Info | |
I: 2019-11-06 07:17:36.371 IPv4: lo:127.0.0.1 | |
I: 2019-11-06 07:17:36.371 IPv4: wlan0:192.168.86.27 | |
I: 2019-11-06 07:17:36.371 IPv6: lo:::1 | |
I: 2019-11-06 07:17:36.371 IPv6: wlan0:fe80::3a5:c015:eb4a:aa99%wlan0 | |
I: 2019-11-06 07:17:36.371 Default interface is : wlan0 | |
I: 2019-11-06 07:17:36.371 IP to show: wlan0:192.168.86.27 | |
M: 2019-11-06 07:17:36.371 MMDVMHost-20190625_Pi-Star-v4 is running |
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
pi-star@pi-star-duplex(ro):www$ sudo pistar-zumspotflash rpi_duplex | |
ZUMspot-v1.4.17 20190529 14.7456MHz dual ADF7021 FW by CA6JAU GitID #3c63f30 | |
Press any key to write the rpi_duplex firmware to this modem or Ctrl-C to quit... | |
Flashing your rpi_duplex modem to the latest version | |
URL transformed to HTTPS due to an HSTS policy | |
--2019-11-05 23:25:34-- https://github.com/juribeparada/MMDVM_HS/releases/download/v1.4.17/install_fw_duplex.sh | |
Resolving github.com (github.com)... 192.30.255.113 | |
ivan.xxx,45.55.112.52 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBAuU1ZaEA1K845sCpOzj2wkfv4oDUT32wP44nVF0cHMgjDc9qaWAW2fgZkn/1VPvA4FfH7tsimId9MjfSsjO5/g= | |
ivan.xxx,45.55.112.52 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBAuU1ZaEA1K845sCpOzj2wkfv4oDUT32wP44nVF0cHMgjDc9qaWAW2fgZkn/1VPvA4Connecting to github.com (github.com)|192.30.255.113|:443... connected. | |
HTTP request sent, awaiting response... 302 Found |
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
{ | |
"header": { | |
"Author": "HaaTa (Jacob Alexander) 2015", | |
"Base": "Blank", | |
"Date": "2015-09-12", | |
"Generator": "KIICONF 0.2", | |
"KLL": "0.3c", | |
"Layout": "Default", | |
"Name": "MDErgo1", | |
"Version": "0.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
+--------------------------------------------------------------------------------------------------------------------------------+ | |
| | | |
| ****************** | | |
| ********************** | | |
| **** ****** **** | | |
| **** ** **** | | |
| *** ** *** | | |
| ** ****** ****** ** |
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 basicAuth() { | |
return "Basic " + btoa("<username>:<password>"); | |
}; | |
$.ajax({ | |
url: 'https://<subdomain>.loggly.com/apiv2/customer', | |
beforeSend: function(xhr) { | |
xhr.setRequestHeader("Authorization", basicAuth()); | |
}, | |
success: function(data) { |
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 flash.net.URLLoader; | |
import flash.net.URLRequest; | |
import flash.net.URLRequestMethod; | |
import flash.net.URLVariables; | |
import flash.events.Event; | |
import flash.events.ErrorEvent; | |
import flash.events.IOErrorEvent; | |
import flash.events.SecurityErrorEvent; |
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 inspect import ismethoddescriptor, getmembers | |
def all_the_methods(_type): | |
""" | |
example usage: | |
all_the_methods(str) | |
sample elided output: | |
capitalize() ALL THE <type 'str'>!!!! | |
center() ALL THE <type 'str'>!!!! |
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
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
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 django.http import HttpResponse | |
from piston.resource import Resource | |
from piston.handler import AnonymousBaseHandler, BaseHandler | |
class CORSResource(Resource): | |
""" | |
Piston Resource to enable CORS. | |
""" | |
# headers sent in all responses |
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
// Draw pie charts | |
var charts = []; | |
function createPie(statsjson, type, div, title) { | |
if(document.getElementById(div)){ | |
data = createDataArray(statsjson, type, title, 'reg'); | |
if(data.getNumberOfRows() > maxResults){ | |
data.removeRows(maxResults, 999999) | |
} |
NewerOlder