Skip to content

Instantly share code, notes, and snippets.

@667bdrm
667bdrm / caronline.pl
Created April 30, 2015 17:32
car-online.ru vehicle tracking service data to gpx converter / openstreetmap uploader
#!/usr/bin/perl
#
# caronline.pl
#
# car-online.ru data to gpx converter / openstreetmap uploader
#
# (c) 2009, https://gist.github.com/667bdrm
#
@667bdrm
667bdrm / cityguide-jam-downloader.pl
Created April 30, 2015 17:53
CityGuide jam service updates downloader (incomplete)
#!/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";
@667bdrm
667bdrm / cityguide-jam-service-emulator.pl
Created April 30, 2015 17:56
CityGuide jam service emulator (incomplete)
#!/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");
@667bdrm
667bdrm / build-packages.php
Created January 14, 2012 15:28
Drupal package builer with optional upload to SourceForge
#!/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
@667bdrm
667bdrm / parser.rb
Last active October 22, 2015 19:35
betsbc.com results to xlsx converter
# encoding: UTF-8
require 'rubygems'
require 'net/http'
require 'uri'
require 'nokogiri'
require 'open-uri'
require 'axlsx'
$toto_base = "http://betsbc.com/toto/"
@667bdrm
667bdrm / 3proxy-tor-radius.cfg
Last active April 29, 2018 19:55
3proxy 0.9+ socks proxy configuration with tor and radius authentication support
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
@667bdrm
667bdrm / esir-widget-deobfuscated.js
Created September 1, 2018 08:52
Russian governors wants the following obfuscated script to be inserted to the all government organizations website pages //esir.gov.spb.ru/static/widget/js/widget.js
/*! Widget hash: 1a02fc6429bccf93b9c99ec7050744ac */
!function(t) {
function e(i) {
if (n[i])
return n[i].exports;
var o = n[i] = {
exports: {},
id: i,
loaded: !1
};
127.0.0.1 e.crashlytics.com
127.0.0.1 tracker-api.my.com
127.0.0.1 localads.maps.me
127.0.0.1 localads-statistics.maps.me
127.0.0.1 events.appsflyer.com
127.0.0.1 data.flurry.com
127.0.0.1 s.maps.me
127.0.0.1 apinotify.mail.ru
127.0.0.1 graph.facebook.com
127.0.0.1 api.pushwoosh.com
[Adblock Plus 2.0]
!-------------------------------------------------------------------------------
! Title: 667bdrm
! Expires: 14 days (update frequency)
! Version: 1
! Last modified: 20 Jun 2019
! Description: This filter disables live chats and nag popups
!-------------------------------------------------------------------------------
||jivosite.com^
lenta.ru##[class*="--"]
@667bdrm
667bdrm / Atlanta_ATH-130.lircd.conf
Last active June 22, 2019 09:51
Atlanta ATH-130 heater lirc remote config
#
# this config file was automatically generated
# using lirc-0.9.0-pre1(emulation) on Sun Aug 28 23:22:20 2016
#
# contributed by.
#
# brand: Atlanta
# model no. of remote control:
# devices being controlled by this remote: ATH-130 air heater
#