Orthodox C++ (sometimes referred as C+) is minimal subset of C++ that improves C, but avoids all unnecessary things from so called Modern C++. It's exactly opposite of what Modern C++ suppose to be.
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
defmodule Expng do | |
defstruct [:width, :height, :bit_depth, :color_type, :compression, :filter, :interlace, :chunks] | |
def png_parse(<< | |
0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A, | |
_length :: size(32), | |
"IHDR", | |
width :: size(32), | |
height :: size(32), |
Picking the right architecture = Picking the right battles + Managing trade-offs
- Clarify and agree on the scope of the system
- User cases (description of sequences of events that, taken together, lead to a system doing something useful)
- Who is going to use it?
- How are they going to use it?
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
# Exploit Title: BruteForce IP CAMERA H.264 DVR | |
# Google Dork: intext:Any time & Any where IP Surveillance for Your Life | |
# Date: 10/2/15 | |
# Exploit Author: RedToor | |
# Source: https://gist.github.com/RedToor/71a109a7732884714e8ee07f61cfda59 | |
# Version: ALL | |
# Tested on: Windows and Linux | |
# USE: | |
# python btDVR.py -h 127.0.0.1 -p 3000 -l passwords.txt -u admin | |
# |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
- Follow standard conventions.
- Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
- Boy scout rule. Leave the campground cleaner than you found it.
- Always find root cause. Always look for the root cause of a problem.
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
________________________________________________________________________________ | |
3DL2 file format specification | |
http://forum.doom9.org/showthread.php?p=1525672#post1525672 | |
________________________________________________________________________________ | |
enum {PAGE_SIZE = 16384}; | |
struct H3DLUT2 | |
{ |
Chinese Brand "ITworks" , Model TW891, distributed in France and Belgium by Darty
- CPU: Intel(R) Atom(TM) CPU Z3735F @ 1.33GHz
- Video: Intel® HD Graphics for Intel Atom® Processor Z3700 Series
- Screen: 1280x800
- WiFi + BT: Realtek RTL8723BS_BT
- Disks: mmcblk1: mmc1:0001 DF4032 29.1 GiB
- RAM: 2GB DDR3 @ 1333 MHz
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 Fuse; | |
using Fuse.Scripting; | |
using Fuse.Reactive; | |
using Uno.UX; | |
[UXGlobalModule] | |
public class Admob : NativeModule | |
{ | |
static readonly Admob _instance; | |
public Android.InterstitialAdPage ad; |
Binding to C Libraries with Nim
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
@ECHO OFF | |
:: Path to Odin executable | |
SET ODINPATH="C:\odin\odin.exe" | |
:: Path to the Microsoft 'vcvarsall.bat' file. | |
:: This sets the required environment vars and makes cl.exe and link.exe available in PATH. | |
SET VCVARSPATH="C:\Program Files (x86)\Microsoft Visual Studio\VC\Auxiliary\Build\vcvarsall.bat" | |
:: Only run the MSVC batch file the first time we |