Skip to content

Instantly share code, notes, and snippets.

using System;
using System.IO;
using System.Net;
namespace FTPCracker
{
class FTP
{
private string host = null;
private string user = null;
using System;
using System.IO;
using System.Windows.Forms;
using System.Drawing.Imaging;
using System.Drawing;
using System.Threading;
using System.Collections.Generic;
using System.Diagnostics;
using Ini;
// WARNING: jquery required!
// jquery cdn: https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js
function detectAdblock(selector) {
return ($($(selector)[0]).css('display') == 'none');
}
function preventAdblockStyles(selector) {
$(selector).attr('style', 'display: block!important;visibility: visible!important;text-decoration: none!important;');
}
using System;
using System.IO;
using System.Security.Cryptography;
using System.Text;
namespace myClasses
{
public class EncryptMaster
{
private static byte[] AES_Encrypt(byte[] bytesToBeEncrypted, byte[] passwordBytes)
@money4honey
money4honey / Rand.java
Created August 23, 2015 12:22
Wrapper class around java.util.Random()
package util;
import java.util.Random;
public class Rand {
/* Wrapper class around java.util.Random() */
static Random random = new Random();
static String[] numbers = { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9"};
@money4honey
money4honey / AsyncTimer.java
Last active August 29, 2015 14:27
This is Asynchronous Timer class for call periodic action
package ru.moneyhoney.playground;
import android.content.Context;
import android.os.AsyncTask;
import android.os.SystemClock;
/* This is Asynchronous Timer class for call periodic action */
public class AsyncTimer extends AsyncTask<Void, Integer, Void> {
private static int mCounter = 0;
@money4honey
money4honey / LoadAd.java
Created August 23, 2015 00:02
This is singleton class for loading AdMob ads
package ru.moneyhoney.playground.util;
import com.google.android.gms.ads.AdListener;
import com.google.android.gms.ads.AdRequest;
import com.google.android.gms.ads.InterstitialAd;
import ru.moneyhoney.playground.R;
/* This is singleton class for loading AdMob ads
* Note: before call getAd() method call updateAd() */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace myClasses
{
public class Spintax
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace myClasses
{
public class ReplaceMaster
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace myClasses
{
public class RandomMaster
{