Skip to content

Instantly share code, notes, and snippets.

@Mostly-BSD
Mostly-BSD / FreeBSD-Nvidia-510.md
Last active May 14, 2024 02:02
Step-by-step instructions on installing the latest NVIDIA drivers on FreeBSD 13.0 and above.

How to get the Latest NVIDIA drivers on FreeBSD

Step-by-step instructions on installing the latest NVIDIA drivers on FreeBSD 13.0 and above.

1.0 Clean Up Existing Drivers

IMPORTANT: Log out of X session. Make sure you Desktop Manager (sddm|slim) is off. You need to be on the console.

# Create a boot env incase we need to rollback
sudo bectl create `date +%Y%m%d`-BeforeNvidia-Upgrade
@pil0u
pil0u / install_postman.sh
Last active May 14, 2024 02:00
Install Postman on Linux through CLI without Snap
# This script basically automates the official Postman installation guide for Linux:
# https://learning.postman.com/docs/getting-started/installation-and-updates/#installing-postman-on-linux
# 32 or 64-bit?
BIT=$(getconf LONG_BIT)
# Download the appropriate version
wget -O ~/postman.tar.gz "https://dl.pstmn.io/download/latest/linux${BIT}"
# Extract the archive in /opt
@jonatasrenan
jonatasrenan / python-json-types.py
Created June 12, 2021 01:43
A comparison between python's dict libraries to read and write naturally as a JSON parsing.
"""
A comparison between python's dict libraries to read and write naturally as a JSON parsing.
Based on: https://gist.github.com/NelsonMinar/28c5928adbe1f4502af8
Installation:
pip install pypi-search addict easydict attrdict dotted-dict dotmap munch python-box
"""
from typing import Any
@ihoneymon
ihoneymon / how-to-write-by-markdown.md
Last active May 14, 2024 01:55
λ§ˆν¬λ‹€μš΄(Markdown) μ‚¬μš©λ²•

[곡톡] λ§ˆν¬λ‹€μš΄ markdown μž‘μ„±λ²•

μ˜μ–΄μ§€λ§Œ, 쑰금 더 μƒμ„Έν•˜κ²Œ λ§ˆν¬λ‹€μš΄ μ‚¬μš©λ²•μ„ μ•ˆλ‚΄ν•˜κ³  μžˆλŠ”
"Markdown Guide (https://www.markdownguide.org/)" λ₯Ό λ³΄μ‹œλŠ” 것을 μΆ”μ²œν•©λ‹ˆλ‹€. ^^

μ•„, 그리고 λ§ˆν¬λ‹€μš΄λ§ŒμœΌλ‘œ ν‘œν˜„μ΄ λΆ€μ‘±ν•˜λ‹€κ³  λŠλΌμ‹ λ‹€λ©΄, HTML νƒœκ·Έλ₯Ό ν™œμš©ν•˜μ‹œλŠ” 것도 μ’‹μŠ΅λ‹ˆλ‹€.

1. λ§ˆν¬λ‹€μš΄μ— κ΄€ν•˜μ—¬

@noobnooc
noobnooc / cloudflare-worker-proxy.js
Last active May 14, 2024 01:52
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.
@rxaviers
rxaviers / gist:7360908
Last active May 14, 2024 01:46
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue:
@Minionguyjpro
Minionguyjpro / Activate_Windows_8_8.1_10_and_11_Pro_for_Free.md
Last active May 14, 2024 01:44
Activate Windows 8, 8.1, 10 and 11 Pro for Free

Activate Windows 8, 8.1, 10 and 11 Pro for Free

A guide how to get and activate Windows 8, 8.1, 10 and 11 Pro for free!

NOTE

If you see the Windows keyboard button in this guide; and you can't find it on your keyboard, you likely have/had Windows 10 which has the button . If you can't find that one, you likely have a PC that has been upgraded to Windows 8/8.1/10/11 from Windows 8.1/8/7/Vista/XP and other ones. If you have one of those, refer the Windows key button to as yours. A list of them is below:

Windows key buttons

- Windows 11

- Windows 10

@bfraboni
bfraboni / blur_float.cpp
Last active May 14, 2024 01:42
C++ implementation of a fast Gaussian blur algorithm by Ivan Kutskir - Integer and Floating point version
// Copyright (C) 2017 Basile Fraboni
// Copyright (C) 2014 Ivan Kutskir
// All Rights Reserved
// You may use, distribute and modify this code under the
// terms of the MIT license. For further details please refer
// to : https://mit-license.org/
//
//!
//! \file blur.cpp
@ExcelRobot
ExcelRobot / CHOOSETABLECOLUMNS.lambda
Last active May 14, 2024 01:37
Choose Table Columns LAMBDA Function
/*
Name: Choose Table Columns (CHOOSETABLECOLUMNS)
Description: Similar to CHOOSECOLUMNS but can accept an array of column header names or
array of column indexes. If column headers are used, assumes first row of Table is
header row.
Author: Excel Robot (@ExcelRobot)
Category: Table
*/
CHOOSETABLECOLUMNS = LAMBDA(Table, ColumnsToSelect, LET(
FirstColumnToSelect, INDEX(ColumnsToSelect,1,1),
@NordicGamerFE
NordicGamerFE / performancemods12.md
Last active May 14, 2024 01:36
Performance mods 1.12

Performance Mods

A list of performance-enhancing mods for 1.12.x versions.

Any suggestions/complaints?
Join our discord or use the gist comments.

Mods marked as "Dangerous" might be unstable, and cause some unexpected behaviour.

Home