Version | [HKCU/HKLM]\Software\ |
---|---|
D4 | Borland\Delphi\4.0 |
D5 | Borland\Delphi\5.0 |
D6 | Borland\Delphi\6.0 |
D7 | Borland\Delphi\7.0 |
D2005 | Borland\BDS\3.0 |
D2006 | Borland\BDS\4.0 |
D2007 | Borland\BDS\5.0 |
D2009 | CodeGear\BDS\6.0 |
This file contains 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
import sys | |
import base64 | |
import hashlib | |
// Alternative to: >ssh-keygen -E md5 -l -f id_rsa.pub | |
md5 = hashlib.md5() | |
md5.update(base64.b64decode(open('id_rsa.pub').read().split()[1])) | |
digest = md5.digest() | |
print (":".join("{:02x}".format(c) for c in digest)) |
This file contains 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
:: or %ProgramFiles(x86)% | |
set _SDK71PATH_=%ProgramFiles%\Microsoft SDKs\Windows\7.1A | |
set PATH=%_SDK71PATH_%\Bin;%PATH% | |
set INCLUDE=%_SDK71PATH_%\Include;%INCLUDE% | |
set LIB=%_SDK71PATH_%\Lib;%LIB% | |
set CL=/D_USING_V110_SDK71_ %CL% | |
set LINK=/SUBSYSTEM:CONSOLE,5.01 %LINK% |
This file contains 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
<?php | |
$filename = $_GET['file']; | |
$downloadRate = isset($_GET['speed']) ? intval($_GET['speed']) : 500; // KB/s | |
if (file_exists($filename) && is_file($filename)) | |
{ | |
header('Cache-control: private'); | |
header('Content-Type: application/x-shockwave-flash'); | |
header('Content-Length: '.filesize($filename)); |
This file contains 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
:: OpenSSL | |
openssl s_client -connect smtp.gmail.com:587 -starttls smtp | |
openssl s_client -connect smtp.gmail.com:465 | |
openssl s_client -connect smtp.yandex.ru:465 | |
:: SSLyze | |
sslyze_cli.exe --tlsv1 --tlsv1_1 --tlsv1_2 --sslv2 --sslv3 --hide_rejected_ciphers --starttls=smtp smtp.gmail.com:587 | |
sslyze_cli.exe --tlsv1 --tlsv1_1 --tlsv1_2 --sslv2 --sslv3 --hide_rejected_ciphers smtp.gmail.com:465 | |
sslyze_cli.exe --tlsv1 --tlsv1_1 --tlsv1_2 --sslv2 --sslv3 --hide_rejected_ciphers smtp.yandex.ru:465 |
This file contains 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
@echo off | |
setlocal | |
cd /d %~dp0 | |
start javaw -Xms128m -Xmx1024m -jar NAME.jar %* | |
endlocal |
This file contains 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
type | |
MemAlign<T> = record | |
private | |
First: Byte; | |
Second: T; | |
public | |
class function Get(): Cardinal; static; inline; | |
end; | |
const |
This file contains 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) 2016 Ruslan Zaporojets | |
// | |
// 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: | |
// |
AIR Version | SWF Version | Flash Player Version |
---|---|---|
N/A | 9 | 9.0.115.0 |
1.5, 2.0 | 10 | 10.0, 10.1 |
2.6 | 11 | 10.2 |
2.7 | 12 | 10.3 |
3 | 13 | 11.0 |
3.1 | 14 | 11.1 |
3.2 | 15 | 11.2 |
3.3 | 16 | 11.3 |
Type | Signed/Unsigned | x86 (bit) | x64 (bit) |
---|---|---|---|
BYTE, BOOLEAN | U | 8 | 8 |
SHORT | S | 16 | 16 |
USHORT, WORD | U | 16 | 16 |
INT, LONG | S | 32 | 32 |
UINT, ULONG, DWORD | U | 32 | 32 |
INT_PTR, LONG_PTR, LPARAM | S | 32 | 64 |
UINT_PTR, ULONG_PTR, WPARAM | U | 32 | 64 |
LONGLONG | S | 64 | 64 |