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 | |
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
#!/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 | |
# | |
# 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 | |
# | |
# 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
#!/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 |
NewerOlder