This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//scrollbar style (http://img0.www.suckmypic.net/img/N/k/bmSkF3Jp/chrome_scrollbar.png) | |
horizontalScrollBar()->setStyleSheet("QScrollBar:horizontal{border:1px solid grey;background:#f1f1f1;height:10px}QScrollBar::handle:horizontal{background:#aaa;min-width:20px;margin:1px}QScrollBar::add-line:horizontal,QScrollBar::sub-line:horizontal{width:0;height:0}"); | |
verticalScrollBar()->setStyleSheet("QScrollBar:vertical{border:1px solid grey;background:#f1f1f1;width:10px}QScrollBar::handle:vertical{background:#aaa;min-height:20px;margin:1px}QScrollBar::add-line:vertical,QScrollBar::sub-line:vertical{width:0;height:0}"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdint.h> | |
#include <windows.h> | |
const char * ALPHABET32 = "ABCDEFGHJKLMNPQRSTUVWXYZ23456789\0"; | |
int MAGIC = 91717; | |
int g_dwSeed = 0; | |
int8_t getCharIndex(char c) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef _UNDOCUMENTED_H | |
#define _UNDOCUMENTED_H | |
#include <windows.h> | |
namespace Undocumented | |
{ | |
#pragma pack(push) | |
#pragma pack(1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//http://www.codeproject.com/Articles/48575/How-to-define-a-template-class-in-a-h-file-and-imp | |
#include <iostream> | |
#include <vector> | |
#include "Test.h" | |
#include "Test.cpp" | |
int main() | |
{ | |
int n; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The MIT License (MIT) | |
Copyright (c) 2014 | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<ufwb version="1.9"> | |
<grammar name="Encrypted iTunes Library" start="id:4" author="Mr. eXoDia" email="[email protected]" fileextension="itl" uti="com.apple.itunes.db"> | |
<description>Grammar for encrypted iTunes Library files.</description> | |
<structure name="Defaults" id="5" encoding="ISO_8859-1:1987" endian="little" signed="no"/> | |
<structure name="iTunes Library" id="4" extends="id:5"> | |
<structref name="hdfm" id="8" structure="id:7"/> | |
<binary name="encryptedData" id="9" length="remaining"> | |
<description>This chunk of data is encrypted using AES/ECB/NoPadding with the key "BHUILuilfghuila3". After decryption, you have to inflate the data using ZLIB. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<ufwb version="1.9"> | |
<grammar name="Decrypted iTunes Library" start="id:148" author="Mr. eXoDia" email="[email protected]" fileextension="itl" uti="com.apple.itunes.db"> | |
<description>Grammar for decrypted iTunes Library files.</description> | |
<structure name="Defaults" id="149" repeatmin="0" repeatmax="-1" encoding="ISO_8859-1:1987" endian="little" signed="no"/> | |
<structure name="iTunes Library" id="148" repeatmin="0" repeatmax="-1" extends="id:149" order="variable"> | |
<structref name="hdfm" id="152" repeatmin="0" repeatmax="-1" structure="id:151"/> | |
<structref name="msdh" id="154" repeatmin="0" repeatmax="-1" structure="id:153"/> | |
</structure> | |
<structure name="hdfm" id="151" length="this.headerLength" repeatmin="0" repeatmax="-1" extends="id:149" endian="big"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "FindPattern.h" | |
#include <algorithm> | |
#include <cctype> | |
#include <string> | |
using namespace std; | |
struct PatternByte | |
{ | |
struct PatternNibble |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Windows.Forms; | |
using System.Drawing; | |
namespace ClipboardTest | |
{ | |
public class Form1 : Form | |
{ | |
public Form1() | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "command.h" | |
Command::Command(const String & command) | |
{ | |
ParseState state = Default; | |
int len = command.length(); | |
for(int i=0; i<len; i++) | |
{ | |
char ch = command[i]; | |
switch(state) |
OlderNewer