Skip to content

Instantly share code, notes, and snippets.

@pimgeek
pimgeek / Lexicon of Common Words in Contemporary Chinese (2008).txt
Created January 10, 2025 01:15
《现代汉语常用词表(草案)》(商务印书馆 2008)
This file has been truncated, but you can view the full file.
# 在以下资料的基础上简单校对更新 (尚未逐条对比,重点检查两个在线版的差异)
#《现代汉语常用词表(草案)》电子版 - https://annas-archive.org/md5/6a39bf21dbb37b04a75e7f63568117ce
# @liangqi 在线版本 - https://github.com/liangqi/chinese-frequency-word-list/blob/master/xiandaihaiyuchangyongcibiao.txt
# @indiejoseph 在线版本 - https://gist.github.com/indiejoseph/eae09c673460aa0b56db
# 为双拼打字方便把“阿Q”的拼音写做 a1'q1
#
阿爸 a1'ba4 18137
阿昌族 a1'chang1'zu2 50849
阿斗 a1'dou3 42632
@x0nu11byt3
x0nu11byt3 / elf_format_cheatsheet.md
Created February 27, 2021 05:26
ELF Format Cheatsheet

ELF Format Cheatsheet

Introduction

Executable and Linkable Format (ELF), is the default binary format on Linux-based systems.

ELF

Compilation

@manighahrmani
manighahrmani / Harley's Lecture 12.md
Created January 19, 2025 01:53
# Lecture 12: Graphical User Interfaces (Flet)

Lecture 12: Graphical User Interfaces

Main Window


Introduction to Flet

Flet is a modern framework for building graphical user interfaces (GUIs) that work across multiple platforms, including desktop, web, and mobile. It allows developers to create interactive and visually appealing applications with minimal effort.

@dublado
dublado / gist:f584cdd895eb6db0b74c199d532d2ac8
Created May 25, 2017 21:33
Nomes das Tabelas do Protheus/TOTVS
Nomes das Tabelas
SX1 Manutenção de Perguntas de parametrização (movimentações, consultas e relatórios)
SX2 Manutenção dos Arquivos
SX3 Manutenção dos Campos
SX4 Configuração de Agenda de Relatórios e Processos
SX5 Manutenção de Tabelas
SX6 Manutenção de Parâmetros
SX7 Manutenção de Gatilhos de Campos (SX3)
SX9 Manutenção de Relacionamento entre Arquivos (SX2)
SXA Manutenção de Pastas Cadastrais dos Arquivos (SX2)
@ayebrian
ayebrian / vmware.md
Last active January 19, 2025 01:37
VMware ESXi 8 / vCenter 8 / Workstation 17 license key 2024
@MikyPo
MikyPo / wb_advco_fullstats.py
Last active January 19, 2025 01:36
Получение статистики рек.кампаний через Wildberries API
# Developed by MikyPo
# More code for DA here: https://dzen.ru/mikypo
# Библиотеки
import requests
import json
import time
import pandas as pd
import datetime
import locale
@cellularmitosis
cellularmitosis / README.md
Last active January 19, 2025 01:34
QEMU PowerPC G4 OS X Tiger (10.4) setup

Blog 2020/5/7

<- previous | index | next ->

QEMU PowerPC G4 OS X Tiger (10.4) setup

EDIT 2024/12/1: I updated a few of these commands to work with qemu 9.x.

@Klerith
Klerith / random-hex.md
Created September 22, 2023 17:47
Secure Random Hex

Comando con Ruby instalado

ruby -rsecurerandom -e 'puts SecureRandom.hex(20)'

Ejemplo: No usar en producción

4510c8cf2fe423f8be5afccbdd30c678677e172b

@denji
denji / nginx-tuning.md
Last active January 19, 2025 01:27
NGINX tuning for best performance

Moved to git repository: https://github.com/denji/nginx-tuning

NGINX Tuning For Best Performance

For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.

Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon with HyperThreading enabled, but it can work without problem on slower machines.

You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.