Skip to content

Latest commit

 

History

History
206 lines (111 loc) · 4.66 KB

杂记.md

File metadata and controls

206 lines (111 loc) · 4.66 KB

APie

https://asmcn.icopy.site/awesome/awesome-cpp/ https://en.cppreference.com/w/cpp/links/libs

libevent编译问题 https://blog.csdn.net/guotianqing/article/details/103035642

mysql时区

https://stackoverflow.com/questions/930900/how-do-i-set-the-time-zone-of-mysql SELECT @@global.time_zone;

SET GLOBAL time_zone = '+8:00'; SET GLOBAL time_zone = 'Europe/Helsinki'; SET @@global.time_zone = '+00:00';

SELECT @@session.time_zone; SET @@session.time_zone = "+00:00";
SELECT UNIX_TIMESTAMP();
SELECT FROM_UNIXTIME(1587905440) https://stackoverflow.com/questions/19023978/should-mysql-have-its-timezone-set-to-utc/19075291#19075291

SELECT UNIX_TIMESTAMP(); SELECT CONVERT_TZ(FROM_UNIXTIME(1587902349), @@session.time_zone, '+00:00')

mysql时间函数 https://www.w3resource.com/mysql/date-and-time-functions/mysql-unix_timestamp-function.php

path http://www.gameaipro.com jps+

protobuf chenshuo/recipes

PRI_KEY_FLAG

select TABLE_NAME, COLUMN_NAME from information_schema.COLUMNS where TABLE_SCHEMA='%s' and COLUMN_KEY='PRI' and TABLE_NAME!='_table_list' order by TABLE_NAME db_name

MINIDUMP_EXCEPTION_INFORMATION

SetUnhandledExceptionFilter(MyUnhandledExceptionFilter); SymGetLineFromAddr

http://crashrpt.sourceforge.net/docs/html/exception_handling.html RaiseException AddVectoredExceptionHandler

https://nats.io/download/nats-io/nats.go/

yaml https://github.com/jbeder/yaml-cpp/wiki/Tutorial

#include #include #include

using convert_t = std::codecvt_utf8<wchar_t>; std::wstring_convert<convert_t, wchar_t> strconverter;

std::string to_string(std::wstring wstr) { return strconverter.to_bytes(wstr); }

std::wstring to_wstring(std::string str) { return strconverter.from_bytes(str); }

jps https://movingai.com/GPPC/code.html

available unavailable

mysql ;JliVosg*54&

http://draw.io https://app.diagrams.net/

markdown https://stackedit.io/

rpm spec https://note.artchiu.org/2016/08/12/rpm-spec-prepostpreunpostun-argument-values/

Process Utilities https://docs.microsoft.com/en-us/sysinternals/downloads/listdlls

time convert(zone) https://www.epochconverter.com/timezones?q=1608336954&tz=UTC

https://www.nexcess.net/web-tools/unix-timestamp-converter/

Tinc VPN https://www.tinc-vpn.org/

http://shadowsocks.org/en/index.html

https://free-ss.site/

http://ping.pe/

https://52.mk/sites/120.html

https://classic.wowhead.com/quests?notFound=58239&assumedName=Lessons+In+Brigandry

behaviac https://github.com/ylmbtm/GameProject3

openssl openssl genrsa -out key.pem 2048 openssl rsa -in key.pem -out public.pub -pubout

hex grid https://github.com/jinyuliao

utf8 utf8-cpp https://github.com/etorth/mir2x

https://github.com/v2ray/v2ray-core

https://github.com/Qv2ray/Qv2ray 5974d592-9849-11eb-a8b3-0242ac130003 https://www.uuidgenerator.net/version1

https://github.com/v2fly/fhs-install-v2ray

订阅 https://raw.githubusercontent.com/ssrsub/ssr/master/v2ray

https://github.com/2dust/v2rayN/releases https://main.v2ray.cx/

https://asmcn.icopy.site/awesome/awesome-cpp/

Redis University https://www.youtube.com/watch?v=-agsJUihrWw

docker

curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun

systemctl start docker

docker pull centos:7 docker run -i -t centos:7 /bin/bash docker exec -it 243c32535da7 /bin/bash

docker commit -m "apie env" 651a8541a47d apie-env docker run -it --ulimit core=-1 --privileged apie-env /bin/bash

docker run -d -p 5007:5007 -v /usr/local/apie/conf:/usr/local/apie/conf --name service_registry wuqunyong/apie-env /usr/local/apie/bin/service_registry /usr/local/apie/conf/service_registry.yaml

docker run -d -p 15008:15008 -v /usr/local/apie/conf:/usr/local/apie/conf --name db_account_proxy wuqunyong/apie-env /usr/local/apie/bin/db_proxy_server /usr/local/apie/conf/db_account_proxy.yaml

docker run -d -p 15007:15007 -v /usr/local/apie/conf:/usr/local/apie/conf --name db_role_proxy wuqunyong/apie-env /usr/local/apie/bin/db_proxy_server /usr/local/apie/conf/db_role_proxy.yaml

docker run -d -p 14007:14007 -v /usr/local/apie/conf:/usr/local/apie/conf --name gateway_server wuqunyong/apie-env /usr/local/apie/bin/gateway_server /usr/local/apie/conf/gateway_server.yaml

docker run -d -p 16007:16007 -v /usr/local/apie/conf:/usr/local/apie/conf --name login_server wuqunyong/apie-env /usr/local/apie/bin/login_server /usr/local/apie/conf/login_server.yaml

docker run -d -v /usr/local/apie/conf:/usr/local/apie/conf --name route_proxy wuqunyong/apie-env /usr/local/apie/bin/route_proxy /usr/local/apie/conf/route_proxy.yaml

docker run -d -p 13007:13007 -v /usr/local/apie/conf:/usr/local/apie/conf --name scene_server wuqunyong/apie-env /usr/local/apie/bin/scene_server /usr/local/apie/conf/scene_server.yaml