Skip to content

Instantly share code, notes, and snippets.

@T3aHat
T3aHat / ExcelDeepL.bas
Last active January 9, 2024 23:43
ExcelでDeepL翻訳
Attribute VB_Name = "ExcelDeepL"
' # Installation
' 1. Activate MicroSoft XML. v6.0 and MicroSoft Scripting Runtime
' 2. Get VBA-JSON(JsonConverter.bas) from https://github.com/VBA-tools/VBA-JSON
' 3. Install JsonConverter and this script
' # How to use
' deepl(target_lang, select a cell)
' Example: deepl("JA",A1)
// https://awakesecurity.com/wp-content/uploads/2020/06/GalComm-Malicious-Chrome-Extensions-Appendix-B.txt
malicious = [
"acmnokigkgihogfbeooklgemindnbine",
"apgohnlmnmkblgfplgnlmkjcpocgfomp",
"apjnadhmhgdobcdanndaphcpmnjbnfng",
"bahkljhhdeciiaodlkppoonappfnheoi",
"bannaglhmenocdjcmlkhkcciioaepfpj",
"bgffinjklipdhacmidehoncomokcmjmh",
"bifdhahddjbdbjmiekcnmeiffabcfjgh",
@vorbei
vorbei / latin_cjk_font_mixer.js
Last active June 15, 2022 02:05
Sketch 中英文复合字体插件
const fontManager = [NSFontManager sharedFontManager];
const UI = require('sketch/ui');
//注意:更新后的插件版本,配置请填写 Font Family 名称,请不要再选择 Postscript 名称
//顺序:英文字体,中文字体,数字字体(请依照自己安装的字体和喜好配置)
const options = {
'SF, 苹方, Mono':
'SF Pro Text, PingFang SC, SF Mono',
'Arial, 微软雅黑':
'Arial, Microsoft YaHei',
'New York, 思源宋体':
@y0ngb1n
y0ngb1n / docker-registry-mirrors.md
Last active July 22, 2024 09:40
国内的 Docker Hub 镜像加速器,由国内教育机构与各大云服务商提供的镜像加速服务 | Dockerized 实践 https://github.com/y0ngb1n/dockerized
@dreampuf
dreampuf / go_installation.sh
Last active September 13, 2020 02:55
How to install golang 1.11 in CentOS5
# details in: https://golang.org/doc/install/source
# a patch for centos 5 build: https://github.com/golang/go/issues/24980#issuecomment-384193598
export GOROOT="/usr/local/go"
export PATH="$GOROOT/bin:$PATH"
mkdir /usr/local/go ~/go
curl -L https://dl.google.com/go/go1.4-bootstrap-20171003.tar.gz | tar xf - -C /usr/local/go
cd /usr/local/go/src
./make.bash
curl -L https://dl.google.com/go/go1.11.src.tar.gz | tar xf - -C ~/go
@Clarence-pan
Clarence-pan / hack.js
Last active March 3, 2022 11:33
微信跳一跳, 你懂得
/*
* Recommend run with node v8.9.x or higher version
* npm install lodash crypto-js request-promise request
* node hack.js
*/
const version = 5 // the version of t1t
const score = 370 // the score you wanna get
const playTimeSeconds = score * 0.01 // simulate the playing time (seconds)
var CryptoJS = require('crypto-js')
var request = require('request-promise')
/*
* npm install crypto-js request-promise request
* node wx_t1t_hack.js
*/
// export function testEncription(msg, fullKey) {
// var fullKey = fullKey.slice(0, 16)
@ephemient
ephemient / ⁄etc⁄pacman.d⁄hooks⁄linux-modules-post.hook
Last active May 24, 2024 13:13
(Arch Linux) Keep current modules around during kernel upgrade
[Trigger]
Operation = Upgrade
Type = Package
Target = linux
[Action]
Description = Restore Linux kernel modules
When = PostTransaction
Depends = coreutils
Depends = rsync
@iamtekeste
iamtekeste / Download Google Drive files with WGET
Created July 8, 2015 11:00
Download Google Drive files with WGET
Download Google Drive files with WGET
Example Google Drive download link:
https://docs.google.com/open?id=[ID]
To download the file with WGET you need to use this link:
https://googledrive.com/host/[ID]
Example WGET command: