Skip to content

Instantly share code, notes, and snippets.

View iammerus's full-sized avatar
🐱
Working from home

Meru-kun iammerus

🐱
Working from home
View GitHub Profile
{
"id": "bundle--1217dd8c-28b7-4d2f-a8b5-f0c09ca02f1b",
"objects": [
{
"created": "2016-02-26T18:11:48.479Z",
"description": "TS ID: 37323558; iType: phish_url; State: active; Org: Web Werks; Source: Phish Tank",
"id": "indicator--a0f493aa-af99-4481-93d4-9111a61d08a2",
"labels": [
"malicious-activity",
"threatstream-severity-very-high",
@iammerus
iammerus / update.php
Created November 10, 2018 09:10
Handling Paynow Status Updates
<?php
/**
* First install the Paynow PHP Library using Composer
*
* You'll need to set the result url to https://yourapp/path/update.php
*/
// Require in composer's autoloader
@iammerus
iammerus / autoloader.php
Created July 27, 2018 07:16
Simple PSR4 Autoloader
<?php
spl_autoload_register(function($class) {
// Replace with your root name space
$root = "Foo\\";
// Remove the root namespace
if (substr($class, 0, strlen($root)) == $root) {
$relative = substr($class, strlen($root));
}
@iammerus
iammerus / .gitignore
Last active July 26, 2018 13:32
.gitignore Configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #