Skip to content

Instantly share code, notes, and snippets.

#include <stdio.h>
int add(int num1,int num2)
{
__asm {
mov eax, num1
add eax, num2
}
}
<?php
/*
* A way to to type cast objects before php7
*/
class test{
private $string = array('typeof' => 'string', 'value' => null);
private $int = array('typeof' => 'integer', 'value' => null);
private $double = array('typeof' => 'double', 'value' => null);
private $testObj = array('typeof' => 'test', 'value' => null);
@siscodev93
siscodev93 / class.wooManager.php
Created September 10, 2016 19:45
Easily Create or Get Customer, and create Order/Subscriptions in one go.
<?php
/**
* wooManager to manage subscription based products
* Written By Derek Sisco
*/
class wooManager
{
@siscodev93
siscodev93 / connection.java
Created June 16, 2015 13:25
Android Post Manager
package com.tracker.mainecivichackers.tracker;
import android.os.AsyncTask;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.CookieHandler;
import java.net.CookieManager;
import java.net.CookiePolicy;