Skip to content

Instantly share code, notes, and snippets.

View arbrix's full-sized avatar

Ivan K. arbrix

View GitHub Profile
<?php
/*
Plugin Name: WooCommerce <enter name> Gateway
Plugin URI: http://woothemes.com/woocommerce
Description: Extends WooCommerce with an <enter name> gateway.
Version: 1.0
Author: WooThemes
Author URI: http://woothemes.com/
Copyright: © 2009-2011 WooThemes.
<?php
# Demonstrates how to add new contact to campaign.
# JSON::RPC module is required
# available at http://github.com/GetResponse/DevZone/blob/master/API/lib/jsonRPCClient.php
require_once 'jsonRPCClient.php';
# your API key is available at
# https://app.getresponse.com/my_api_key.html
@arbrix
arbrix / rc4.js
Created September 27, 2015 13:37 — forked from farhadi/rc4.js
RC4 encryption in javascript and php
/*
* RC4 symmetric cipher encryption/decryption
*
* @license Public Domain
* @param string key - secret key for encryption/decryption
* @param string str - string to be encrypted/decrypted
* @return string
*/
function rc4(key, str) {
var s = [], j = 0, x, res = '';
@arbrix
arbrix / adv3.go
Last active December 9, 2015 04:59 — forked from m0sth8/adv3.go
package main
import (
"fmt"
"sync"
"time"
)
func main() {
@arbrix
arbrix / golang_books_sites.md
Created December 14, 2015 14:59 — forked from region23/golang_books_sites.md
Полезные ресурсы для изучающих Go

Gopher

На русском языке

Русскоязычные сайты и сообщества

@arbrix
arbrix / neovim-init
Last active April 17, 2020 02:55
Nvim config file
" Note: Skip initialization for vim-tiny or vim-small.
if 0 | endif
let g:make = 'gmake'
if system('uname -o') =~ '^GNU/'
let g:make = 'make'
endif
" Add or remove your Bundles here:
call plug#begin()