I hereby claim:
- I am m13253 on github.
- I am m13253 (https://keybase.io/m13253) on keybase.
- I have a public key whose fingerprint is 7F9A 921B D8D8 F587 6F1E E6BB 4E13 92C0 6970 0583
To claim this, I am signing this object:
| // Compile with: | |
| // i686-w64-mingw32-gcc -g -mwindows -o badwine.exe badwine.c | |
| #include <assert.h> | |
| #include <stdint.h> | |
| #include <windows.h> | |
| HINSTANCE g_hInstance; | |
| HWND g_hWnd; | |
| HDC screen_dc, window_dc, buffer_dc; |
| #!/usr/bin/python | |
| # The script was adapted from | |
| # http://ubuntuforums.org/showthread.php?t=701336&p=4368203#post4368203 | |
| # I posted here for convenience. Credit goes to the original author. | |
| # No warranty is provided. Use it at your own risk. | |
| # | |
| # Strips all STL symbols from the object file %1 | |
| # | |
| # Known bugs: | |
| # The original author is not escaping paths containing space, |
| keycode 51 = KP_Enter NoSymbol KP_Enter | |
| keycode 64 = Super_L NoSymbol Super_L | |
| keycode 94 = Shift_L NoSymbol Shift_L | |
| keycode 108 = Control_R NoSymbol Control_R | |
| keycode 128 = Super_R NoSymbol Super_R | |
| keycode 133 = Alt_L Meta_L Alt_L Meta_L | |
| keycode 134 = Alt_R Meta_R Alt_R Meta_R | |
| keycode 169 = backslash bar backslash bar | |
| keycode 170 = backslash bar backslash bar | |
| clear Shift |
| #include <stdio.h> | |
| #include <windows.h> | |
| int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nShowCmd) { | |
| OSVERSIONINFOEXW version_info; | |
| ZeroMemory(&version_info, sizeof version_info); | |
| version_info.dwOSVersionInfoSize = sizeof version_info; | |
| if(GetVersionExW((LPOSVERSIONINFOW) &version_info)) { | |
| wprintf(L"OSVERSIONINFOEX {\n"); | |
| wprintf(L"\tdwOSVersionInfoSize\t= %u,\n", version_info.dwOSVersionInfoSize); |
| #!/usr/bin/env python2 | |
| import calendar | |
| import datetime | |
| import os.path | |
| from Tkinter import * | |
| class Application(Frame): | |
| def __init__(self, master): |
I hereby claim:
To claim this, I am signing this object:
| (function (root, factory) { | |
| var lodash = 'lodash'; | |
| if (typeof define === 'function' && define.amd) { | |
| define([lodash], factory); | |
| } else if (typeof module === 'object' && module.exports) { | |
| module.exports = factory(require(lodash)); | |
| } else { | |
| root.BOMDetect = factory(_); | |
| } | |
| }(this, function (_) { |
| #include <windows.h> | |
| #include <string> | |
| using namespace std::string_literals; | |
| constexpr size_t buffer_size = 64*1024; | |
| static char buffer[buffer_size]; | |
| static DWORD PrintString(HANDLE h_stdout, std::wstring const& string) { | |
| DWORD count; |
| From 1ba6e724dabf3a91e59b871750e22d420a4b1238 Mon Sep 17 00:00:00 2001 | |
| From: Star Brilliant <[email protected]> | |
| Date: Wed, 5 Oct 2016 22:02:36 +0800 | |
| Subject: [PATCH] Add a critical action: Ignore | |
| --- | |
| etc/UPower.conf | 3 ++- | |
| src/linux/up-backend.c | 5 +++++ | |
| 2 files changed, 7 insertions(+), 1 deletion(-) |
| #include <cassert> | |
| #include <cstdlib> | |
| #include <cstring> | |
| #include <iostream> | |
| #include <string> | |
| #include <utility> | |
| template <typename T> | |
| class List { |