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西藏骚
  • 2020冠状病毒审查 ,2020郝海东 ,2018新疆改造中心,1989六四事件,1999法轮功 ,2019 996.ICU, 2018包子露宪,2015 709大抓捕,2015巴拿马文件 邓家贵,2017低端人口,2008西藏骚乱<script>alert(1)</script>
  • 2020冠状病毒审查 ,2020郝海东 ,2018新疆改造中心,1989六四事件,1999法轮功 ,2019 996.ICU, 2018包子露宪,2015 709大抓捕,2015巴拿马文件 邓家贵,2017低端人口,2008西藏骚乱<script>alert(1)</script>
  • X @cirosantilli
  • https://stackoverflow.com/users/895245
  • LinkedIn in/cirosantilli
  • YouTube @CiroSantilli
View GitHub Profile
#include <cassert>
#include <iostream>
#include <memory>
#include <sstream>
#include <string>
#include <cxxabi.h> // __cxa_demangle
#include <elfutils/libdwfl.h> // Dwfl*
#include <execinfo.h> // backtrace
#include <unistd.h> // getpid
@cirosantilli
cirosantilli / dead_horse.js
Created November 10, 2021 08:41 — forked from chenx6/dead_horse.js
Stackoverflow 的 Ciro Santilli 你🐴死了
// ==UserScript==
// @name Stackoverflow 的 Ciro Santilli 你🐴死了
// @namespace Violentmonkey Scripts
// @match https://stackoverflow.com/*
// @grant none
// @version 1.0
// @author -
// @description 2021/11/8 上午11:09:57
// ==/UserScript==

Information is power. But like all power, there are those who want to keep it for themselves. The world’s entire scientific and cultural heritage, published over centuries in books and journals, is increasingly being digitized and locked up by a handful of private corporations. Want to read the papers featuring the most famous results of the sciences? You’ll need to send enormous amounts to publishers like Reed Elsevier.

There are those struggling to change this. The Open Access Movement has fought valiantly to ensure that scientists do not sign their copyrights away but instead ensure their work is published on the Internet, under terms that allow anyone to access it. But even under the best scenarios, their work will only apply to things published in the future. Everything up until now will have been lost.

That is too high a price to pay. Forcing academics to pay money to read the work of their colleagues? Scanning entire libraries but only allowing the folks at Google to read them? Providing scientific a

@cirosantilli
cirosantilli / dmesg
Last active June 10, 2021 07:47
Ubuntu UI screen image freezes randomly during usage after fresh 21.04 install, suspecting Wayland or Nouveau
[ 0.000000] microcode: microcode updated early to revision 0xde, date = 2020-05-26
[ 0.000000] Linux version 5.11.0-18-generic (buildd@lgw01-amd64-049) (gcc (Ubuntu 10.3.0-1ubuntu1) 10.3.0, GNU ld (GNU Binutils for Ubuntu) 2.36.1) #19-Ubuntu SMP Fri May 7 14:22:03 UTC 2021 (Ubuntu 5.11.0-18.19-generic 5.11.17)
[ 0.000000] Command line: BOOT_IMAGE=/BOOT/ubuntu_uvs1fq@/vmlinuz-5.11.0-18-generic root=ZFS=rpool/ROOT/ubuntu_uvs1fq ro
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Hygon HygonGenuine
[ 0.000000] Centaur CentaurHauls
[ 0.000000] zhaoxin Shanghai
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Hello World</title>
<script src="https://unpkg.com/react@17/umd/react.development.js"></script>
<script src="https://unpkg.com/react-dom@17/umd/react-dom.development.js"></script>
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
</head>
<body>
000(023Rb|001Rb)
001(017La|002Rb)
002(021La|003Rb)
003(021La|004La)
004(009Rb|005Lb)
005(004Ra|005La)
006(008La|007La)
007(009Rb|007La)
008(009Ra|008La)
009(010Ra|026Ra)
@cirosantilli
cirosantilli / README.md
Created April 7, 2021 11:42 — forked from twolfson/README.md
Truncating tables with Sequelize

In tests that use a database, it's necessary to clean out the tables before each run (we don't use after so we can debug a failed test's db).

Sometimes we forget the syntax though so here's what we do:

before(function truncateDatabase (done) {
  // http://docs.sequelizejs.com/en/v3/docs/raw-queries/
  // https://www.postgresql.org/docs/9.3/static/sql-truncate.html
  // DEV: PostgreSQL doesn't support truncating all tables via a `*`
 // DEV: Our query is vulnerable to SQL injection but we can't use bind and trust our table names more/less
@cirosantilli
cirosantilli / gfw_contributors.md
Created February 23, 2021 09:19 — forked from yefuchs/gfw_contributors.md
GFW Contributers

#The Great Firewall (GFW) Contributors List

注:数据来源为 dblp 和 cndblp, 下面括号中的数字表示 dblp 中显示的跟方滨兴合作论文的数量

###Binxing Fang (方滨兴)

中国工程院院士,北京邮电大学教授,中国科学院计算技术研究所网络方向首席科学家
http://en.wikipedia.org/wiki/Fang_Binxing

@cirosantilli
cirosantilli / bitcoinInsertionTool.py
Created January 9, 2021 19:02
bitcoin insertion tool
#
# File insertion tool for Bitcoin
# Requires git://github.com/jgarzik/python-bitcoinrpc.git
#
# (c) 2013 Satoshi Nakamoto All Rights Reserved
#
# UNAUTHORIZED DUPLICATION AND/OR USAGE OF THIS PROGRAM IS PROHIBITED BY US AND INTERNATIONAL COPYRIGHT LAW
import io
import jsonrpc
@cirosantilli
cirosantilli / federal-list-of-extremist-materials-uf8.csv
Last active August 17, 2020 14:18
Federal List of Extremist Materials of Russia (Федеральный список экстремистских материалов) CSV in UTF-8 and English Google translation https://cirosantilli.com/china-dictatorship#federal-list-of-extremist-materials
We can't make this file beautiful and searchable because it's too large.
"#";"Материал";"Дата включения (указывается с 01.01.2017)"
"1.";"Музыкальный альбом ""Музыка белых"", автор - Музыкальная группа Order, решение вынесено Первомайским районным судом г. Омска от 23.11.2006; ";""
"2.";"Книга ""Книга единобожия"", автор - Мухаммад ибн Сулейман ат-Тамими, источник публикации - Некоммерческое партнерство ""Издательский дом ""Бадр"", решение вынесено Савеловским районным судом г. Москвы от 02.04.2004;";""
"3.";"Письма Рады земли Кубанской духовно-родовой державы Русь, авторы - Н.М. Лозинский, В.М. Герасев, решение вынесено Первомайским районным судом г. Краснодара от 20.03.2006;";""
"4.";"Печатные материалы в газете ""Для русских людей"" N 1(1), июнь 2002 г.; N 2 (2), август 2002 г.; N 3, октябрь 2002 г.; N 4, ноябрь 2002 г.; N 5, декабрь 2002 г.; 2003 г. N 6, 7, решение вынесено Тихвинским городским судом Ленинградской области от 25.05.2004;";""
"5.";"Кинофильм ""Вечный жид"", решение вынесено Тихвинским городским судом Ленинградской области от 25.05.2004;";""
"6.";"Брошюра ""Мать-