Required tools for playing around with memory:
hexdumpobjdumpreadelfxxdgcore
| import string | |
| import random | |
| vowels = "aoeuiy" | |
| def m(): | |
| c1 = vowels[random.randint(0,len(vowels)-1)] | |
| c2 = string.ascii_lowercase[random.randint(0,len(string.ascii_lowercase)-1)] | |
| c3 = string.ascii_lowercase[random.randint(0,len(string.ascii_lowercase)-1)] | |
| print('z' + c1 + c2 + c3) | |
| m() |
| # suppose you have created a ui file called configwin.ui | |
| cmake_minimum_required (VERSION 2.6) | |
| project(tst) | |
| find_package(Qt5Widgets) | |
| set(CMAKE_AUTOMOC ON) | |
| set(CMAKE_INCLUDE_CURRENT_DIR ON) |
| /* | |
| Check SSE/AVX support. | |
| This application can detect the instruction support of | |
| SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, SSE4a, SSE5, and AVX. | |
| */ | |
| #include <iostream> | |
| #ifdef _MSC_VER | |
| #include <intrin.h> | |
| #endif |
HEY: I've turned this into a blog post, which is a little more in depth.
🚨 https://eev.ee/blog/2016/06/04/converting-a-git-repo-from-tabs-to-spaces/ 🚨