Skip to content

Instantly share code, notes, and snippets.

View ilovejs's full-sized avatar
🐡

Hao ilovejs

🐡
  • 21:07 (UTC +10:00)
View GitHub Profile
@ilovejs
ilovejs / gitpod-font-fix.json
Created October 22, 2021 00:27
gitpod font issue, gitpod, font, family
{
"editor.fontSize": 14,
"editor.fontFamily": "Courier",
"redhat.telemetry.enabled": false,
"terminal.integrated.fontFamily": "Courier",
"terminal.integrated.lineHeight": 1.2,
"terminal.integrated.letterSpacing": 0,
"terminal.integrated.gpuAcceleration": "canvas",
"workbench.preferredDarkColorTheme": "Visual Studio Dark",
"window.autoDetectColorScheme": true,
### Keybase proof
I hereby claim:
* I am ilovejs on github.
* I am ilovejs (https://keybase.io/ilovejs) on keybase.
* I have a public key ASBnUVa_C7CXpUUxq24MQ7b20YTLuTZh376rE5GfJk20zgo
To claim this, I am signing this object:
@ilovejs
ilovejs / go.env.sh
Last active January 21, 2022 06:22
# workspace
export GOPATH=$HOME/go # mkdir that one
export GOROOT=/usr/local/go # native src
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
export GO111MODULE=on
# use the network to update the named packages and dependencies
// ==UserScript==
// @name Google AdSense Ads Remover
// @namespace https://openuserjs.org/users/ner0
// @description Removes Google ads from its search results
// @icon https://www.google.com/adsense/start/images/favicon.ico
// @author ner0
// @copyright 2020, ner0 (https://openuserjs.org/users/ner0)
// @license MIT
// @version 0.1
// @supportURL https://openuserjs.org/scripts/ner0/Google_AdSense_Ads_Remover/issues
// ==UserScript==
// @name sydneytoday copy helper
// @namespace http://www.github.com/
// @version 0.1.0
// @description copyable
// @author xx
// @license MIT
// @match https://www.sydneytoday.com/*
// @icon https://www.google.com/s2/favicons?domain=www.sydneytoday.com
// @run-at document-start
As mentioned in the comment section, GCC versions lower than 7 are still available in xenial repository. You can follow the following steps to install gcc-5:

Add xenial to /etc/apt/sources.list
Open sources.list with sudo

sudo vim /etc/apt/sources.list

Add the following lines in the sources.list file
@ilovejs
ilovejs / chn_fonts.reg
Created September 6, 2022 12:30 — forked from swordfeng/chn_fonts.reg
Chinese font settings in wine
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink]
"Arial"="wqy-microhei.ttc"
"Arial Black"="wqy-microhei.ttc"
"Arial CE,238"="wqy-microhei.ttc"
"Arial CYR,204"="wqy-microhei.ttc"
"Arial Greek,161"="wqy-microhei.ttc"
"Arial TUR,162"="wqy-microhei.ttc"
"Courier New"="wqy-microhei.ttc"