- https://opencv.org
- https://github.com/opencv/opencv
- https://github.com/opencv/opencv_contrib
$ sudo apt install build-essential pkg-config cmake ninja-build
#!/usr/bin/env python3 | |
""" | |
Converts LaTeX math code to a URL that will render an image | |
via GitHub's math renderer URL. | |
Inspired by the discussion found at | |
https://gist.github.com/a-rodin/fef3f543412d6e1ec5b6cf55bf197d7b | |
""" | |
# | |
# Copyright 2020 Michael Shafae | |
# |
$ sudo apt install build-essential pkg-config cmake ninja-build
#!/usr/env python3 | |
######################################################################## | |
# | |
# Simple HTTP server that supports file upload for moving data around | |
# between boxen on HTB. Based on a gist by bones7456, but mangled by me | |
# as I've tried (badly) to port it to Python 3, code golf it, and make | |
# It a little more robust. I was also able to strip out a lot of the | |
# code trivially because Python3 SimpleHTTPServer is a thing, and the | |
# cgi module handles multipart data nicely. | |
# |
#!/usr/bin/env python | |
"""Simple HTTP Server With Upload. | |
This module builds on BaseHTTPServer by implementing the standard GET | |
and HEAD requests in a fairly straightforward manner. | |
""" |
// A simple Lexer meant to demonstrate a few theoretical concepts. It can | |
// support several parser concepts and is very fast (though speed is not its | |
// design goal). | |
// | |
// J. Arrieta, Nabla Zero Labs | |
// | |
// This code is released under the MIT License. | |
// | |
// Copyright 2018 Nabla Zero Labs | |
// |
I wanted to integrate the camera into my home security system. The only problem is that I want to toggle the alarm of the camera based on the security system status. Currently, this is only available via the app or a time trigger which is booth not sufficient for me. So the main target was to change the alarm status without the app.
My first try was to capture the TCP packages between the Android app and the camera. Soon I realized that they are only TCP+SSL (not pinned) requests to a cloud service of Hikam. So I installed an emulator with the Hikam app and Wireshark. I've seen some packages but the payload is very strange and even if I send the UDP commands again the status won't change. So this was a dead end for me.
#include <complex> | |
#include <iostream> | |
#include <valarray> | |
#include <vector> | |
using namespace std; | |
const double PI = 3.141592653589793238460; | |
typedef std::complex<double> Complex; | |
typedef std::valarray<Complex> CArray; |
* text=auto | |
###### Git | |
.gitattributes text | |
.gitignore text | |
.gitconfig text | |
.gitmodules text | |
##### Windows | |
*.bat text eol=crlf |
from __future__ import print_function | |
import struct | |
import gdb | |
def log(): | |
# Get the inferior. | |
try: |