Skip to content

Instantly share code, notes, and snippets.

View six519's full-sized avatar

Ferdinand E. Silva six519

View GitHub Profile
@six519
six519 / FS6519.dll.vbs
Last active May 16, 2025 03:34
The story behind "TAGA LIPA ARE" virus and its source code.
'Few years ago, I remember fucking around with this so called "Hacked By Godzilla" virus.
'It was a Visual Basic Script with a filename MS32DLL.dll.vbs that fucks up Internet
'Explorer title bar.
'I have been into writing simple Windows OS viruses before the time I learned about
'this fucking VBS virus.
'We all know that the famous "I LOVE YOU" virus was a Visual Basic Script (VBS) too
'and it gave me an idea to test
'if that scripting language can still be reliable to fuck up peoples computer that time.
'What I did was, I only replaced "MS32DLL" with "FS6519", pressing Ctrl + H
@six519
six519 / MainActivity.java
Created February 24, 2014 00:57
Using your Android device as a remote control (Sample Android Activity)
/***
* By: Ferdinand E. Silva
* Tested From: Galaxy Tab 3 10.1 (jelly bean)"
* Tested To: Old Panasonic TV
****/
package com.example.irtest;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
@six519
six519 / pydecodeqr.cpp
Created April 2, 2014 07:06
Extending Python in C++ (I'm not a C++ Expert)
/*
* View Code at: https://github.com/six519/pydecodeqr
*
*/
#include <python2.7/Python.h>
#include <opencv/cv.h>
#include <opencv/highgui.h>
#include <decodeqr.h>
static PyObject *PyDecodeQRError;
@six519
six519 / geo_coordinates.py
Created June 30, 2014 20:12
Google Maps API Test Code In Python (Get coordinates by location/city/state or any query)
#!/usr/bin/env python
import requests
GMAP_API_URL = "https://maps.googleapis.com/maps/api/place/textsearch/json"
GMAP_ACCESS_TOKEN = "{YOUR_KEY_HERE}"
def capture_coordinates(*args):
coor = "0,0"
@six519
six519 / watch_directory.py
Created July 6, 2014 20:14
Directory Monitoring Using Pyinotify
#!/usr/bin/env python
"""
Example From: http://github.com/seb-m/pyinotify/wiki/Tutorial
-------------------------------------------------------------
=====================
TO INSTALL DEPENDENCY
=====================
pip install pyinotify
@six519
six519 / convert_test.py
Created August 20, 2014 07:44
Convert file to another file format using LibreOffice API in Python
#!/usr/bin/env python3
"""
VIEW COMPLETE CODE AT
=====================
* https://github.com/six519/libreoffice_convert
THANKS
======
@six519
six519 / resizer.py
Created September 1, 2014 18:06
Quick script to resize multiple images
#!/usr/bin/env python
"""
Quick script to resize multiple images
"""
from PIL import Image
import glob
IMG_EXT = "png" #file extension of images that you want to resize
IMG_RESIZED_DIMENSION = (100,100,) #width and height of the resized images
@six519
six519 / AMPAPIClient.java
Created September 25, 2014 00:00
AMP API Client
package com.ferdinandsilva.test;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.StatusLine;
@six519
six519 / BTAMPAPIClient.java
Last active August 29, 2015 14:06
BTAMPAPI Client
package com.ferdinandsilva.test;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.HashMap;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
@six519
six519 / api_forwarder.py
Created September 27, 2014 01:17
API Forwarder
#!/usr/bin/env python
"""
Description:
Nothing fancy. Just forwards HTTP requests from an IP whitelisted server to a real web service server back to an HTTP client.
Requirements:
falcon==0.1.10
requests==2.4.1