I hereby claim:
- I am yisonpylkita on github.
- I am yisonpylkita (https://keybase.io/yisonpylkita) on keybase.
- I have a public key ASCGeN39Zuj42tsxsDlHyG2XM1n4LUGiG4huqLyfiW9Omgo
To claim this, I am signing this object:
import sys | |
import time | |
import win32api | |
if (len(sys.argv) < 4): | |
print "Usage: python mousemove.py dx dy speed" | |
sys.exit() | |
current = win32api.GetCursorPos() | |
cx = sx = current[0] |
/// @file on_scope_leave.hpp | |
/// @brief Sane way to handle C-style cleanups in C++ | |
/// @author Wojciech Bartnik <yisonPylkita@gmail.com | |
/// | |
/// Lets assume you have C-style function `int open_port(const char *port_name)` | |
/// and this function returns a file descriptor to opened device port. | |
/// Normally you would need to write code like this | |
/// | |
/// int port_fd = open_port("/dev/ttyUSB0"); | |
/// try { |
#pragma once | |
#include <cstdint> | |
#if !defined(__ORDER_LITTLE_ENDIAN__) | |
#error "Only little endian systems are supported" | |
#endif | |
// All of these functions are constexpr (c++11 compatibile and above) | |
// Generated code - https://godbolt.org/z/Tz7Wvg | |
namespace byte_converter { |
I hereby claim:
To claim this, I am signing this object: