Skip to content

Instantly share code, notes, and snippets.

View jizusun's full-sized avatar
🎯
Focusing

Jizu Sun jizusun

🎯
Focusing
View GitHub Profile
@jizusun
jizusun / windows-macos-linux-app-list.md
Created July 1, 2024 06:21
windows-macos-linux-app-list.md
Apps winget brew
Arc
Citrix Workspace
Clash
VSCode
Firefox
Flow
Hidden Bar
IINA

Keybase proof

I hereby claim:

  • I am jizusun on github.
  • I am jizu (https://keybase.io/jizu) on keybase.
  • I have a public key whose fingerprint is 8F4D 202E 7D15 AB51 0DBC 2356 4A12 2629 F78F 4013

To claim this, I am signing this object:

@jizusun
jizusun / leetcode-solution.user.js
Last active October 19, 2020 03:04
Copy LeetCode Solution to clipboard
// ==UserScript==
// @name Copy LeetCode Solution to clipboard
// @namespace https://gist.github.com/jizusun/84495bd63e2ed4a33823a9cfc728a810
// @version 0.3
// @description Better format to paste into Notion
// @author You
// @match https://leetcode.com/problems/*/solution/
// @grant GM_setClipboard
// ==/UserScript==
@jizusun
jizusun / coursera-subtitle.js
Created April 4, 2020 07:30
GreasyMonkey script - Coursera subtitles(outside the video)
// ==UserScript==
// @name Coursera subtitles(outside the video)
// @description Coursera subtitles outside the video.
// @namespace http://tampermonkey.net/
// @version 0.2
// @author 木杉, [email protected]
// @include http://www.coursera.org/*
// @include https://www.coursera.org/*
// @grant none
// @run-at document-end
@jizusun
jizusun / ss-docker-apply.sh
Last active January 20, 2024 09:28
Shadowsocks On Docker/Kubernetes
export password=foobar
export method=chacha20-ietf-poly1305
export port=9301
docker run -e PASSWORD=${password} -e METHOD=${method} -p${port}:8388 -p${port}:8388/udp -d shadowsocks/shadowsocks-libev
export host=$(curl -s ipinfo.io/json | grep \"ip\" | awk -F'"' '{ print $4 }')
echo $host:$port
// 54: Object - is
// To do: make all tests pass, leave the assert lines unchanged!
// Follow the hints of the failure messages!
// Shape - superclass
function Shape() {
this.x = 0;
this.y = 0;
}
function corp-proxy {
http_proxy="http://proxy.${1}.sap.corp:8080"
HTTP_PROXY=$http_proxy
https_proxy=$http_proxy
HTTPS_PROXY=$http_proxy
ftp_proxy=$http_proxy
FTP_PROXY=$http_proxy
no_proxy=".sap.corp, localhost"
NO_PROXY=$no_proxy
@jizusun
jizusun / index.html
Created August 5, 2018 11:45
Pomodoro
<link href="https://fonts.googleapis.com/css?family=Rubik:300" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto:700" rel="stylesheet">
<div id="root"></div>
@jizusun
jizusun / index.html
Last active July 4, 2018 13:15
[React Router v3 - Docs - Introduction] React Router// source https://jsbin.com/ludinaj
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>React Router v3 - Docs - Introduction</title>
<script src="https://unpkg.com/react/umd/react.development.js"></script>
<script src="https://unpkg.com/react-dom/umd/react-dom.development.js"></script>
<!-- Don't use this in production: -->
<script src="https://unpkg.com/[email protected]/babel.min.js"></script>