Skip to content

Instantly share code, notes, and snippets.

View cirosantilli's full-sized avatar
🇹🇼
2018包子露宪,2015 710律师劫,2015巴拿马文件 邓家贵,2017低端人口,2008西藏骚

Ciro Santilli (三西猴) OurBigBook.com sponsor me: cirosantilli.com/sponsor, opinions my own 2020冠状病毒审查 ,2020郝海东 ,2018新疆改造中心,1989六四事件,1999法轮功 ,2019 996.ICU, 2018包子露宪,2015 709大抓捕,2015巴拿马文件 邓家贵,2017低端人口,2008西藏骚乱<script>alert(1)</script> cirosantilli

🇹🇼
2018包子露宪,2015 710律师劫,2015巴拿马文件 邓家贵,2017低端人口,2008西藏骚
View GitHub Profile
chrome编写自定义插件屏蔽github搜索结果
chrome安装adblock ultimate这个插件 https://chrome.google.com/webstore/detail/adblocker-ultimate/ohahllgiabjaoigichmmfljhkcfikeof
规则例子 github.com##div[data-testid="results-list"] > div:-abp-has(a:-abp-contains(cirosantilli))
## 开始
div[data-testid="results-list"] div选择器
> div 子div
:-abp-has() 如果括号里的规则为true则匹配当前元素
@chenx6
chenx6 / dead_horse.js
Last active January 10, 2022 14:38
Stackoverflow 的 Ciro Santilli 你🐴死了
// ==UserScript==
// @name Stackoverflow 的 Ciro Santilli 你🐴死了
// @namespace Violentmonkey Scripts
// @match https://stackoverflow.com/*
// @match https://serverfault.com/*
// @match https://superuser.com/*
// @match https://meta.stackexchange.com/*
// @match https://webapps.stackexchange.com/*
// @match https://webmasters.stackexchange.com/*
// @match https://gamedev.stackexchange.com/*
@probonopd
probonopd / Wayland.md
Last active April 16, 2025 20:29
Think twice about Wayland. It breaks everything!

Think twice before abandoning Xorg. Wayland breaks everything!

Hence, if you are interested in existing applications to "just work" without the need for adjustments, then you may be better off avoiding Wayland.

Wayland solves no issues I have but breaks almost everything I need. Even the most basic, most simple things (like xkill) - in this case with no obvious replacement. And usually it stays broken, because the Wayland folks mostly seem to care about Automotive, Gnome, maybe KDE - and alienating everyone else (e.g., people using just an X11 window manager or something like GNUstep) in the process.


As 2024 is winding down:

@muff-in
muff-in / resources.md
Last active April 16, 2025 15:12
A curated list of Assembly Language / Reversing / Malware Analysis / Game Hacking-resources

Git项目匿名安全措施

2020年4月19日三名端点星項目志願者蔡伟、小唐和陈玫被警方逮捕, 有網友對導致蔡偉和陳玫身份泄漏的技術原因進行了詳細分析,指出他們二人在本應完全匿名的github項目中出現了其姓名拼音、與真實身份掛鉤的email、出生年月等信息,這種身份隔離的不徹底導致其被警方跟蹤。

按照這位匿名網友的方法,也對TerminusBot涉及的幾個repo進行了分析,發現同樣的結論,其中蔡偉和陳玫都用了實名。

如何查看某个git项目的所有作者和邮箱

將git項目clone到本地,在命令行中輸入 git shortlog -sne --all 查看項目所有分支上的作者和郵箱。

@cirosantilli
cirosantilli / pin.md
Last active March 22, 2020 08:05
pin

https://cirosantilli.com aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa 2 3 4 5 6 7

@tieubao
tieubao / macos_on_ubuntu.md
Created April 7, 2019 17:25 — forked from stefanocoding/macos_on_ubuntu.md
Install macOS in a VirtualBox machine on Ubuntu

Important: I'm writing this when the last version of macOS (and the one I have installed) is Mojave. There is already a script which installs Mojave in a virtual machine here https://github.com/img2tab/okiomov. But if you are curios how to do everything manually to install High Sierra, then this guide may be useful.

After reading a few articles I ended up with these steps:

  1. On macOS, download the High Sierra installer (even if you have Mojave installed): https://itunes.apple.com/us/app/macos-high-sierra/id1246284741?ls=1&mt=12
  2. If the High Sierra Installer starts, quit it.
  3. Open "Disk Utility".
  4. Click on "File" > "New Image" > "Blank image...". Or just press cmd+N.
@Janaka-Steph
Janaka-Steph / generate_wallets.js
Last active July 14, 2024 20:19
Generate wallets (Alice, Bob, Carol), create a json file and import private keys to Bitcoin Core
/**
* Generate wallets (Alice, Bob, Carol), create a json file and import private keys to Bitcoin Core
*
* BIP32 methods
* - fromBase58
* - fromPrivateKey
* - fromPublicKey
* - fromSeed
*
* BIP39 methods
@derand
derand / index.md
Last active March 30, 2025 00:52
ffmpeg: Create a video countdown

The code below was used to generate the video countdown timers that are available in the following playlist using ffmpeg:

#This example will create a 3 second video, with 100 frames per second and it will print the elapsed and remaining times using a two second accuracy.
fps=100;
seconds=3;
mantissaDigits=2;
upperFont=600;
lowerFont=100;
ffmpeg -loop 1 -i ~/Pictures/Black-Background.png -c:v libx264 -r $fps -t $seconds -pix_fmt yuv420p -vf "fps=$fps,drawtext=fontfile='/usr/share/fonts/urw-base35/C059-Bold.otf':fontcolor=yellow:fontsize=$upperFont:x=(w-text_w)/2:y=(h-text_h)/2:text='%{eif\:($seconds-t)\:d}.%{eif\:(mod($seconds-t, 1)*pow(10,$mantissaDigits))\:d\:$mantissaDigits}',drawtext=fontfile='/usr/share/fonts/urw-base35/C059-Bold.otf':fontcolor=yellow:fontsize=$lowerFont:x=(w-text_w)/2:y=((h-text_h)/2)+$upperFont:text='Elapsed\: %{eif\:(t)\:d}.%{eif\:(mod(t, 1)*pow(10,$mantissaDigits))\:d\:$mantissaDigits}'" "$seconds seconds countdown timer.mp4";