Skip to content

Instantly share code, notes, and snippets.

View eallion's full-sized avatar
🤡
I don't care about Stars.

Charles Chin eallion

🤡
I don't care about Stars.
View GitHub Profile
@eylenburg
eylenburg / msoffice_in_linux.md
Last active November 5, 2026 14:27
Installing Microsoft Office in Linux

How to install Microsoft Office in any Linux distribution

There are multiple options how to install MS Office on Linux.

VM-based - Integrate Windows apps running in a Windows virtual machine as native-looking in Linux

You can either run a normal Windows virtual machine (e.g. in virt-manager or virtualbox or gnome-boxes) to run any Windows apps, including Microsoft Office, but there is further integration into the Linux host system.

Some other apps - such as LinOffice, Winapps, Winboat or Cassowary - try to integrate Windows apps, including Office, into the Linux desktop. They create launchers for MS Office apps that you can start from Linux and then, using freerdp in the background, Office apps run in normal app window integrated into the Linux desktop, they have access to the files on your Linux /home, share the clipboard

@noobnooc
noobnooc / cloudflare-worker-proxy.js
Last active November 7, 2026 17:13
cloudflare-worker-proxy
// Website you intended to retrieve for users.
const upstream = 'api.openai.com'
// Custom pathname for the upstream website.
const upstream_path = '/'
// Website you intended to retrieve for users using mobile devices.
const upstream_mobile = upstream
// Countries and regions where you wish to suspend your service.
@jinjier
jinjier / javdb-top250.md
Last active November 6, 2026 06:09
JavDB top 250 movies list. [Updated on 2026/01]
@syhily
syhily / curl_tianlangbooks.sh
Last active November 7, 2026 17:20
抓取天浪书屋的蓝奏云下载链接
for((i=1;i<=10302;i++));
do
echo ""
echo ""
echo "Start download book from $i"
echo ""
echo ""
curl "https://www.tianlangbooks.com/$i.html" -H 'authority: www.tianlangbooks.com' --data-raw 'secret_key=359198&Submit=%E6%8F%90%E4%BA%A4' --compressed | grep "蓝奏云盘" >> download.txt
done

The Freenode resignation FAQ, or: "what the fuck is going on?"

IMPORTANT NOTE:

It's come to my attention that some people have been spamming issue trackers with a link to this gist. While it's a good idea to inform people of the situation in principle, please do not do this. By all means spread the word in the communities that you are a part of, after verifying that they are not aware yet, but unsolicited spam is not helpful. It will just frustrate people.

Update 3 (May 24, 2021)

A number of things have happened since the last update.

@y0ngb1n
y0ngb1n / docker-registry-mirrors.md
Last active November 8, 2026 15:08
国内的 Docker Hub 镜像加速器,由国内教育机构与各大云服务商提供的镜像加速服务 | Dockerized 实践 https://github.com/y0ngb1n/dockerized
@gastonfeng
gastonfeng / 1555826334.txt
Last active April 23, 2026 02:18
PPA 镜像加速
PPA 镜像加速
2018年7月26日 BY : TATERLI
这里有USTC的反向代理.
https://lug.ustc.edu.cn/wiki/mirrors/help/revproxy
只要一句话,全替换成USTC加速的PPA.再也不担心了.
1
sudo find /etc/apt/sources.list.d/ -type f -name "*.list" -exec  sed  -i.bak -r  's#deb(-src)?\s*http(s)?://ppa.launchpad.net#deb\1 http\2://launchpad.proxy.ustclug.org#ig' {} \;
@dodying
dodying / favicon.md
Last active September 26, 2026 18:40
[Get Favicon] #api #favicon
  • DuckDuckGo https://icons.duckduckgo.com/ip2/{hostname}.ico
  • Google https://www.google.com/s2/favicons?domain_url={hostname}
  • Yandex https://favicon.yandex.net/favicon/{hostname1}/{hostname2}/
  • allesedv https://f1.allesedv.com/16/{hostname}
  • http://grab-favicons.herokuapp.com/api/v1/grab-favicons/?url={hostname}
  • https://besticon-demo.herokuapp.com/icon?url={hostname}&size=80..120..200
  • http://favicongrabber.com/service-api-reference
@qwertyuiop6
qwertyuiop6 / TranslateToChineseOnYouTube.user.js
Last active April 12, 2026 09:32
🌍 🪄 🀄 Translate to Chinese automatically. Youtube自动点击翻译字幕到中文简体
// ==UserScript==
// @name YouTube字幕自动选择翻译->中文简体
// @namespace http://tampermonkey.net/
// @version 1.2
// @description translate to Chinese automatically. 自动点击字幕翻译到中文简体
// @author qwertyuiop6
// @match https://www.youtube.com/*
// @grant none
// ==/UserScript==
@tupham81
tupham81 / qr-code-generating-with-vanilla-js.markdown
Created July 26, 2018 16:47
QR code generating with vanilla js