Skip to content

Instantly share code, notes, and snippets.

@uniacid
uniacid / mirc auto invite
Created November 24, 2013 00:58
mirc auto invite
;File name: Auto invite on join, on part and on kick.
;Written By: JOMARO
;E-mail: jomaro@zdnetmail.com
;Website: http://welcome.to/jomaro
;============================
;===Auto Invite Dialog===>
dialog inv {
title "Auto Invite v1.0"
size -1 -1 500 183
box "Auto Invite", 1, 10 5 480 140, right
set $block_user_agent 0;
if ($http_user_agent ~* ("WebBandit"|"2icommerce"|"Accoona"|"ActiveTouristBot"|"adressendeutschland"|"aipbot"|"Alexibot"|"Alligator"|"AllSubmitter"|"almaden"|"anarchie"|"Anonymous"|"Apexoo"|"Aqua_Products"|"asterias"|"ASSORT"|"ATHENS"|"AtHome"|"Atomz"|"attache"|"autoemailspider"|"autohttp"|"b2w"|"bew"|"BackDoorBot"|"Badass"|"Baiduspider"|"Baiduspider"+|"BecomeBot"|"berts"|"Bitacle"|"Biz360"|"Black.Hole"|"BlackWidow"|"bladder fusion"|"Blog Checker"|"BlogPeople"|"Blogshares Spiders"|"Bloodhound"|"BlowFish"|"Board Bot"|"Bookmark search tool"|"BotALot"|"BotRightHere"|"Bot mailto:craftbot@yahoo.com"|"Bropwers"|"Browsezilla"|"BuiltBotTough"|"Bullseye"|"BunnySlippers"|"Cegbfeieh"|"CFNetwork"|"CheeseBot"|"CherryPicker"|"Crescent"|"charlotte"/|"ChinaClaw"|"Convera"|"Copernic"|"CopyRightCheck"|"cosmos"|"Crescent"|"c-spider"|"curl"|"Custo"|"Cyberz"|"DataCha0s"|"Daum"|"Deweb"|"Digger"|"Digimarc"|"digout4uagent"|"DIIbot"|"DISCo"|"DittoSpyder"|"DnloadMage"|"Download"|"dragonfly"|"DreamPassport"|"D
@uniacid
uniacid / apt.sources.list
Last active August 29, 2015 14:03
apt sources
deb http://ftp.fr.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ squeeze main contrib non-free
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free
# squeeze-updates, previously known as 'volatile'
deb http://ftp.fr.debian.org/debian/ squeeze-updates main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ squeeze-updates main contrib non-free
on *:TEXT:.random:#: {
sockclose sick
sockopen sick www.sickipedia.org 80
set %sick.chan $chan
}
alias sick {
sockopen sick www.sickipedia.org 80
set %sick.chan $chan
}
@uniacid
uniacid / custom-functions.php
Last active August 29, 2015 14:05
The Diamond Lining API Hook
<?php
session_start();
add_action('gform_after_submission_6', 'post_to_b79_api', 10, 2);
function post_to_b79_api($entry, $form) {
// Set phone
$phoneNumber = $entry['10'];
// Split names properly
$name_parts = explode(' ', $entry[8]);
$name_first = array_shift($name_parts);
@uniacid
uniacid / Package Control.sublime-settings
Created September 27, 2014 20:16
Sublime Text 3 Packages
{
"auto_upgrade_last_run": null,
"installed_packages":
[
"AdvancedNewFile",
"Alignment",
"BracketHighlighter",
"CakePHP (Native)",
"CodeFormatter",
"ColorPicker",
@uniacid
uniacid / DownloadClickReport.php
Last active August 29, 2015 14:07
click report
<?php
/**
* This example downloads a criteria report to a file.
*
* Copyright 2014, Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
// ==UserScript==
// @name haaretz
// @namespace http://www.haaretz.co.il
// @description redirects haaretz to webcace
// @include http://www.haaretz.co.il/*
// @include http://webcache.googleusercontent.com/*
// @version 1
// @grant none
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
// ==/UserScript==
@uniacid
uniacid / sources.list
Created June 1, 2015 20:37
Debian 8 apt source (FR)
deb http://ftp.fr.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ jessie main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
# jessie-updates, previously known as 'volatile'
deb http://ftp.fr.debian.org/debian/ jessie-updates main
deb-src http://ftp.fr.debian.org/debian/ jessie-updates main
@uniacid
uniacid / GoWithC.go
Last active September 2, 2015 11:41 — forked from 17twenty/GoWithC.go
Cross Compiling and Language Interop oh my!
package main
import (
"./binding"
"fmt"
)
func main() {
binding.PrintHello()
binding.Seed(1)
fmt.Println(binding.Random())