This file contains hidden or 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 | |
BRANCHES="7.x-2.x 6.x-2.x 7.x-1.x 6.x-1.x" | |
LIBBRANCHES="2.x" | |
export NODE_PATH=/usr/lib/node_modules | |
if [ ! -d "elfinder" ] ; then | |
git clone http://git.drupal.org/project/elfinder.git | |
cd elfinder | |
for i in $BRANCHES |
This file contains hidden or 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/perl | |
# | |
# Simple log/alarm server receiving and printing to console remote dvr/camera events. | |
# future releases at https://gitlab.com/667bdrm/sofiactl | |
# Tested with: | |
# | |
# HJCCTV HJ-H4808BW | |
# http://www.aliexpress.com/item/Hybird-NVR-8chs-H-264DVR-8chs-onvif-2-3-Economical-DVR-8ch-Video-4-AUDIO-AND/1918734952.html | |
# |
This file contains hidden or 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/perl | |
# | |
# caronline.pl | |
# | |
# car-online.ru data to gpx converter / openstreetmap uploader | |
# | |
# (c) 2009, https://gist.github.com/667bdrm | |
# |
This file contains hidden or 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/perl | |
$CG_HOST = 'service.probki.net'; | |
$CG_PORT = 1961; | |
# DK01 - 2.2 PC | |
# DK03 - 3.x-3.4 PPC | |
# DK04 - Dispatcher 1.1.35, 3.5 PPC | |
# DK05 - Licensing service, Dispatcher | |
my $PROG_PROTO = "DK03"; |
This file contains hidden or 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/perl | |
use IO::Socket; | |
use IO::Socket::INET; | |
use Sys::Syslog; | |
use Sys::Syslog qw(:DEFAULT setlogsock); | |
use Sys::Syslog qw(:standard :macros); | |
use Time::Local; | |
setlogsock("console"); |
This file contains hidden or 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
# encoding: UTF-8 | |
require 'rubygems' | |
require 'net/http' | |
require 'uri' | |
require 'nokogiri' | |
require 'open-uri' | |
require 'axlsx' | |
$toto_base = "http://betsbc.com/toto/" |
This file contains hidden or 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/perl | |
# latest release at https://gitlab.com/667bdrm/sofiactl | |
# | |
# Simple clock synchronization for some chinese HiSilicon based DVRs supporting CMS (Sofia software) with json-like protocol. Tested with: | |
# | |
# HJCCTV HJ-H4808BW (XiongMai, Hi3520, MBD6304T) | |
# http://www.aliexpress.com/item/Hybird-NVR-8chs-H-264DVR-8chs-onvif-2-3-Economical-DVR-8ch-Video-4-AUDIO-AND/1918734952.html | |
# | |
# |
This file contains hidden or 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/perl | |
# PTZ control tool and generic SDK for Huamai PTZ camera 5508N-W-IR (eye10000.com) | |
# http://www.aliexpress.com/item/New-IR-wireless-ip-camera-with-P2P-H-264-PTZ-WIFI-SD-Slot-Network-camera-Free/782606869.html | |
# | |
# Future releases will be available at https://gitlab.com/667bdrm/huamaictl | |
# | |
# Usage: | |
# | |
# ipcptz.pl --host <ip> --port <port> --authserial <serial> --authtime <time> --authtoken <token> --direction <up|down|left|right|patrol|zoomin|zoomout> --speed <speed> |
This file contains hidden or 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
meta: | |
id: xsj_netviewer | |
file-extension: xsj_netviewer | |
endian: be | |
seq: | |
- id: netviewer_packet | |
type: netviewer_packet | |
repeat: eos | |
doc: > | |
port 9000 |
This file contains hidden or 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
scache 65536 | |
nserver 1.1.1.1 | |
config /conf/3proxy.cfg | |
monitor /conf/3proxy.cfg | |
log /logs/3proxy-%y%m%d.log D | |
rotate 60 | |
counter /count/3proxy.3cf |
OlderNewer