See also, http://libraryofalexandria.io/cgo/
cgo
has a lot of trap.
but Not "C" pkg also directory in $GOROOT/src
. IDE's(vim) Goto command not works.
So, Here collect materials.
/* | |
Navicat Premium Data Transfer | |
Source Server : localhost | |
Source Server Type : MySQL | |
Source Server Version : 50542 | |
Source Host : localhost | |
Source Database : rule | |
Target Server Type : MySQL |
#!/usr/bin/env python | |
# -*- encoding: utf-8 -*- | |
#__author__ == Tr3jer_CongRong | |
import re | |
import sys | |
import time | |
import threading | |
import dns.resolver |
package main | |
//#include "dllmain.h" | |
import "C" |
#ifndef WIN32_LEAN_AND_MEAN | |
# define WIN32_LEAN_AND_MEAN | |
#endif | |
#pragma warning (push) | |
/* 4820: '<struct-name>' : 'n' bytes padding added after data member '<member-name>'*/ | |
# pragma warning (disable : 4820) | |
# include <windows.h> | |
# include <stdio.h> |
See also, http://libraryofalexandria.io/cgo/
cgo
has a lot of trap.
but Not "C" pkg also directory in $GOROOT/src
. IDE's(vim) Goto command not works.
So, Here collect materials.
I want Microsoft to do better, want Windows to be a decent development platform-and yet, I constantly see Microsoft playing the open source game: advertising how open-source and developer friendly they are - only to crush developers under the heel of the corporate behemoth's boot.
The people who work at Microsoft are amazing, kind, talented individuals. This is aimed at the company's leadership, who I feel has on many occassions crushed myself and other developers under. It's a plea for help.
You probably haven't heard of it before, but if you've ever used win32 API bindings in C#, C++, Rust, or other languages, odds are they were generated from a repository called microsoft/win32metadata.
-- @desc: The fastest, type-agnostic way to copy a Redis key | |
-- @usage: redis-cli --eval copy_key.lua <source> <dest> , [NX] | |
local s = KEYS[1] | |
local d = KEYS[2] | |
if redis.call("EXISTS", d) == 1 then | |
if type(ARGV[1]) == "string" and ARGV[1]:upper() == "NX" then | |
return nil | |
else |
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\Microsoft\InputMethod\Settings\CHS] | |
"LangBar Force On"=dword:00000000 | |
"Enable Double Pinyin"=dword:00000001 | |
"EmoticonTipTriggerCount"=dword:00000001 | |
"HapLastDownloadTime"=hex(b):eb,69,29,59,00,00,00,00 | |
"UserDefinedDoublePinyinScheme0"="小鹤双拼*2*^*iuvdjhcwfg xmlnpbksqszxkrltvyovt" | |
"DoublePinyinScheme"=dword:0000000a | |
"UDLLastUpdatedTime"="2019-05-08 09:30:00" | |
"UDLCount"=dword:0000018b |
PPA 镜像加速 | |
2018年7月26日 BY : TATERLI | |
这里有USTC的反向代理. | |
https://lug.ustc.edu.cn/wiki/mirrors/help/revproxy | |
只要一句话,全替换成USTC加速的PPA.再也不担心了. | |
1 | |
sudo find /etc/apt/sources.list.d/ -type f -name "*.list" -exec sed -i.bak -r 's#deb(-src)?\s*http(s)?://ppa.launchpad.net#deb\1 http\2://launchpad.proxy.ustclug.org#ig' {} \; |