Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block divinity76

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
dergachev /
Last active May 17, 2018
Figuring out how to talk to MS Access from PHP


Downloaded Windows XP / IE8 image from

curl -O ""
  • Virtualbox -> Import > "IE8.XP.For.MacVirtualBox.ova"
Xophmeister / long2ip.sql
Last active Jan 1, 2016
Oracle SQL and PL/SQL function to convert proper IPv4 address (i.e., 32-bit integer) into the standard, "dotted" format
View long2ip.sql
-- We have a table (ip_log) of proper IPv4 addresses (ip)
select bitand(ip / 16777216, 255) || '.' || bitand(ip / 65536, 255) || '.' || bitand(ip / 256, 255) || '.' || bitand(ip, 255) ip
from ip_log;
-- ...or a function to do the same:
create or replace function long2ip(ip in number)
return varchar2 deterministic
return bitand(ip / 16777216, 255) || '.' ||
xcommerce-gists / CreateAccount
Last active Dec 25, 2015
How to Create a PayPal Account Using Adaptive Accounts.curl
View CreateAccount
HTTP Headers
-H "X-PAYPAL-SECURITY-USERID: <Caller-UID>" # UserID from the Caller account
-H "X-PAYPAL-SECURITY-PASSWORD: <Caller-Pswd>" # Password from the Caller account
-H "X-PAYPAL-SECURITY-SIGNATURE: <Caller-Sig>" # Signature from the Caller account
-H "X-PAYPAL-SANDBOX-EMAIL-ADDRESS: <Caller-Sandbox-edress>"
-H "X-PAYPAL-APPLICATION-ID: APP-80W284485P519543T" # Standard Sandbox App ID
You can’t perform that action at this time.