Skip to content

Instantly share code, notes, and snippets.

@araneaws
araneaws / bb-id_domain_fix.patch
Created July 27, 2013 18:19
Boxbilling Custom.php registrar adapter. This is update for .id whois server.
diff --git a/bb-library/Registrar/Adapter/Custom.php b/bb-library/Registrar/Adapter/Custom.php
index 324669a..dc49ed0 100644
--- a/bb-library/Registrar/Adapter/Custom.php
+++ b/bb-library/Registrar/Adapter/Custom.php
@@ -279,14 +279,17 @@ class Whois {
array("hk.cn","whois.cnnic.net.cn","No entries found"),
array("hu","whois.ripe.net","MAXCHARS:500"),
array("id.au","whois.aunic.net","No Data Found"),
- array("ac.id", "whois.magnet-id.com", "No match for domain"),
- array("co.id", "whois.magnet-id.com", "No match for domain"),
#!/bin/sh
### BEGIN INIT INFO
# Provides: btsync
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Should-Start: $network
# Should-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Multi-user daemonized version of btsync.
# take one
# subdirectory (one server, multiple services)
location /btsync/ {
rewrite ^/btsync/gui(.*) /btsync$1 last;
proxy_pass http://127.0.0.1:8888/gui/;
proxy_redirect /gui/ /btsync/;
proxy_buffering off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;