Skip to content

Instantly share code, notes, and snippets.

@dchapman1988
dchapman1988 / launch_options.txt
Created March 10, 2012 02:35
My Counter-Strike 1.6 User Configuration
These are the Launch options I use:
-heapsize 1048576 -freq 60 -full -w 640 -h 480 -32bpp -gl -dxlevel 90 -noaafonts -console -nocrashdialog +map_background none -nojoy
Here are the ones that are available:
+map_background none -novid
-noforcemaccel ; Use desktop mouse acceleration settings
-noforcemspd ; Use desktop mouse speed settings.
-noforcemparms ; Use desktop mouse buttons settings.
-noaafonts ; Disables Anti-Aliasing of Screen Fonts.
@leobrines
leobrines / userconfig-bestfps.cfg
Created August 26, 2018 18:59
CS1.6 config for best FPS
// LAUNCH OPTIONS
// -nofbo (makes rendering similar to how it used to be and removes anti-aliasing)
// -noforcemparms (if not used, windows will uncheck "enhanced pointer precision every time you load CS)
// -freq X or possibly -refresh X (sets your refresh rate to X; command was brought back)
// -stretchaspect removes blackbars so you can use a 4:3 aspect ratio resolution in widescreen
// Name
name "255"
// Red stats and fps
@sufuf3
sufuf3 / equipment.md
Created January 7, 2020 18:22 — forked from ascendbruce/equipment.md
軟體工程師裝備建議

列舉的種類基本上是生產力、健康相關,或是好用的工程師潮流精品(?)

這些是我偏好或想要的裝備,歡迎留言提供其他推薦裝備、發問為何要用或不用某個裝備、品牌。

免費的工具軟體雖然也很重要,但不在這邊討論,有興趣請查看 personal-settings: mac

我寫了一本效率技巧集合的電子書,比這篇詳細,且有有生活方面的 tips,歡迎參考 超效率!生活習慣

電腦周邊設備

@MarioHewardt
MarioHewardt / enable_ebpf_on_wsl2
Last active April 27, 2024 09:27
Enable EBPF on WSL2
By default, EBPF programs will not run on WSL2 due to required kernel modules missing. The following example error is an
indication of this problem:
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.19.84-microso
ft-standard/modules.dep.bin'
modprobe: FATAL: Module kheaders not found in directory /lib/modules/4.19.84-microsoft-standard
chdir(/lib/modules/4.19.84-microsoft-standard/build): No such file or directory
To fix this you need to rebuild the WSL2 kernel with the missing kernel modules. The below instructions are for Ubuntu 18.04 WSL2.
1. git clone https://github.com/microsoft/WSL2-Linux-Kernel.git
@hardfalcon
hardfalcon / microsoft.txt
Created February 3, 2018 07:17 — forked from CHEF-KOCH/microsoft.txt
Microsoft Products + file check
Nr. + product name + .exe/.iso/dvd + file integrety check
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 MS-DOS 6.0 (English) EN_MSDOS60.exe 2000-10-12 877B0B8E391ED07CB83214CB09E8F3B10C4B206F
2 SQL Server 2008 Enterprise (x86, x64, ia64) - DVD (Chinese-Simplified) zh-hans_sql_server_2008_enterprise_x86_x64_ia64_dvd_x14-89199.iso 2008-8-13 D23B103331AB0B3CCC82769B99CA1C2F16BEBBF4
3 Windows XP Professional with Service Pack 2- VL (Simplified Chinese) sc_win_xp_pro_with_sp2_vl.iso 2005-5-18 C0ADDD927B5D1F93DCE9C455FD6B26EAC7391BE9
4 MS-DOS 6.22 (English) EN_MSDOS622.exe 2000-10-12 D01AA47A5D85908185F8987E972AFC66DC92A735
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active April 27, 2024 09:27
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This no longer works in browser!

Note

This no longer works if you're alone in vc! Somebody else has to join you!

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
@manncodes
manncodes / script.js
Last active April 27, 2024 09:26
data scrapper js script for extracting isin number from the site `https://www.isin.com/isin-database/`
// 1. login to https://www.isin.com/ and then head over to https://www.isin.com/isin-database/ page
// 2. open the chrome console by pressing F12, and paste the script inside the console.
// output: a json file named `all-data.json` containing list of dictionaries of info about the companies.
const org = ["nobiskrug", "swm", "vattenfall",
// and all the other companies you need to extract information about
];
function downloadJSON(data) {
const dataStr = JSON.stringify(data, null, 2);
const blob = new Blob([dataStr], { type: 'application/json' });
@aidos-dev
aidos-dev / README.md
Last active April 27, 2024 09:18
How to connect Apple AirPods to Linux (Debian/Ubuntu/Mint)

How to connect Apple AirPods to Linux (Debian/Ubuntu/Mint)

Step 1.

Open your terminal.

In the root directory run the command:

sudo nano /etc/bluetooth/main.conf