Skip to content

Instantly share code, notes, and snippets.

View DreamVB's full-sized avatar

Ben DreamVB

View GitHub Profile
@DreamVB
DreamVB / Get Firefox Profile C#
Created July 3, 2016 10:41
Return firefox profile, cache folder locations.
using System;
using System.Text;
using System.Runtime.InteropServices;
using System.IO;
namespace ffProfile
{
class GetProfile
{
public enum TCache
@DreamVB
DreamVB / hex2bin.cs
Created July 10, 2016 19:24
Convert Hex To Binary By DreamVB
using System;
using System.Text;
using System.IO;
namespace bin2hex
{
class Program
{
private static bool _abort = false;
@DreamVB
DreamVB / Bin2Hex.cs
Created July 10, 2016 19:25
Convert Binary To Hex By DreamVB
using System;
using System.Text;
using System.IO;
namespace bin2hex
{
class bin2hex
{
private static bool _abort = false;
@DreamVB
DreamVB / csscomp.cs
Created July 15, 2016 09:13
Compress a CSS Cascading Style Sheets With C#
/*
* CSS Packer
* By Ben a.k.a DreamVB
* e. DreamVB@outlook.com
*
* This code will allow you to compress your style sheets makeing them smaller and faster to load.
* If you use any parts of this code let me know if it has helped you.
*
* Also open to sugestions and freedback
*/
@DreamVB
DreamVB / xorfile.c
Last active April 15, 2021 18:54
XOR File using c
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <string>
int PasswordKey(char *pws){
int x = 0;
size_t i = 0;
x = 1586;
while (pws[i]){
@DreamVB
DreamVB / unpackcss.c
Created July 18, 2016 22:20
Small console project in C to unpack a packed css file
/*
DM CSS UNPACKER v1.0
By Ben Jones a.k.a DreamVB
Please feel free to use this code as you like.
if you feel it has helped you let me know at dreamvb@outlook.com
*/
#include <stdio.h>
#include <string>
@DreamVB
DreamVB / packcss.c
Created July 19, 2016 22:05
A Small C Project to Pack CSS files makeing them smaller
/*
DM CSS PACKER v1.0 [STILL NEEDS WORK]
Simple CSS packer comments are not yet supported.
By Ben Jones a.k.a DreamVB
Please feel free to use this code as you like.
if you feel it has helped you let me know at dreamvb@outlook.com
*/
#include <stdio.h>
#include <string>
@DreamVB
DreamVB / fixtab.c
Created July 27, 2016 19:58
A small bit of code to convert TABS in a source file to spaces.
/*
FixTabs By DreamVB
Version 1.0
A small tool to convert \t tabs to a number of specified number of spaces.
Please feel free to to use as you like.
Please let me know if you found this code usfull e. dreamvb@outlook.com
*/
#include <stdio.h>
@DreamVB
DreamVB / comphtml.c
Last active July 30, 2016 09:38
Compress htm and html sourcecode by reduceing not needed chars, allowing pages to load faster
/*
Compress HTML By DreamVB
Version 1.0
A small tool to compress htm and html files makeing them smaller
in size to allow your web pages to load faster.
Please feel free to to use as you like or if you want add your own features and let me see the changes.
Please let me know if you found this code usfull e. dreamvb@outlook.com
*/
@DreamVB
DreamVB / enhtml.c
Last active August 5, 2016 21:19
Encrypt And Compress - protecting sourcecode and reduceing down time
/*
Encrypt HTML By DreamVB
Version 1.0
Encrypt & Compress HTM and HTML files making them harder to read
to protect from your code been stolen.
There is also a optional /C compression flag that can be used to also reduce the html size.
Please feel free to use as you like or if you want add your own features and let me see the changes.
Please let me know if you found this code useful e. dreamvb@outlook.com