Typora picture layout & personal picture bed Github + PicGo 1. Insert 1 image Grammar one ![]() () means path, both absolute path and relative path are acceptable, you can use network url; it can also be followed by a text, which is used to display the image when the mouse hovers over it [] […]
Tag: cgo
NAS + Pagoda + typora + PicGo + lsky build automatic image uploading
typora + PicGo + lsky build automatic upload of pictures Introduction: What is the most reassuring thing in the world? Everyone may have their own answer. But as a developer, in an era of massive data leaks, I feel that the most important thing is to have the data in my own hands, which gives […]
cgo call, efficient, fast and stable, no memory collision
1. Background Because many faster algorithms in cryptography are based on c or c ++ compilation, and the engineering is mainly based on go language, so here are some common problems and use cases of go calling c. There are many strange ways to transfer, but if you want the best performance, pointer transfer is […]
PicGo tool configures Gitee image bed warehouse
PicGo tool configures Gitee image bed warehouse 1. The role of the image bed 2. Tools used 3. Download and installation of various tools 3.1. PicGo 3.1.1. PicGo download 3.1.2. PicGo installation 3.2. Node.js 3.2.1. Node.js download 3.2.2. Install Node.js 3.2.3. Configure Node.js environment variables 3.2.3.1. Configuration environment and verification 3.2.3.2. Modify the module download […]
golang calls the c library, cgo (1)
Basic usage Sometimes we need to use golang to call some C class libraries, because it is time-consuming to use golang to implement it repeatedly, and it is better to call some mature functions directly. Of course, the premise is to install the c library first. CGO can directly use C code, or C static […]
Life lies in tossing–PicGo+Minio+Typora picture bed construction
I haven’t updated it for a long time. I was too busy some time ago, and it was a bit messy, so, um, I understand everything. The day before I wrote this blog, I sat in a chair for two hours, thinking about the meaning of life. Without further ado, let’s get started. 1. Cause […]
Develop a PicGo image compression plugin
Open source address github: https://github.com/liujinpen/picgo-plugin-compress-tinypng.git npm: https://www.npmjs.com/package/picgo-plugin-tinypng Foreword When writing a personal blog, you need to upload pictures to the picture bed. PicGo is a pretty good tool, but when you find that the pictures are large in size during use, it will waste cloud storage space because you don’t need such a high resolution. […]
PicGo+OSS build image bed && AutoHotKey modify Typora font
Article directory 0. Write in front 1. Alibaba cloud storage build map bed 1. Operations on Alibaba Cloud official website 2. Operation in PicGo 3. Operation in Typora 2. AutoHotkey modify font color 0. Write in front If you are about to blog but don’t know how to start, or are already blogging but don’t […]
[Solved] Construction of Typora+PicGo+GitHub image bed and personal solutions to common problems
Article table of contents Why build a map bed? GitHub creates a repository Description of the problem: The picture cannot be displayed or broken in github PicGo settings Typora settings Why build a map bed? When we write articles and blogs, we can write them directly on the blog editing page, or we can edit […]
[Solved] In the arm64 environment, the third-party library hajimehoshi/oto of golang depends on the solutions of alsa-lib and cgo
Last updated on 19 Jul 2022 17:13:05 Note the following: # oto library requires cross-compile must be explicitly specified export CGO_ENABLED=1 # Must explicitly set C compile (or cross compile, who knows what CC is short for) export CC=aarch64-linux-gnu-gcc Download a lib compressed package from ALSA’s official website, I am using version 1.2.4: download address […]