Skip to content

Instantly share code, notes, and snippets.

View Rand01ph's full-sized avatar
⚠️
raise NotImplementedError

9r0k Rand01ph

⚠️
raise NotImplementedError
View GitHub Profile
@nullchilly
nullchilly / coc-pylance.md
Last active June 18, 2024 10:47
Add pylance to coc.nvim

Install the pylance extension in vscode or manually download it from the marketplace

The extension path should be similar to this: ~/.vscode/extensions/ms-python.vscode-pylance-2023.11.10

In init.vim, this will automatically detect the latest pylance version because after an upgrade the old plugin might linger for a while:

call coc#config('languageserver', { "pylance": { "module": expand("~/.vscode/extensions/ms-python.vscode-pylance-*/dist/server.bundle.js", 0, 1)[0] } })
@alirezazadeh77
alirezazadeh77 / docker-compose-gitlab.yml
Last active December 31, 2023 15:55
script for back up from gitlab and setup
services:
gitlab:
image: 'gitlab/gitlab-ce:14.6.0-ce.0'
restart: always
hostname: 'localhost'
ports:
- "443:443"
- "80:80"
- "22:22"
environment:
@cld4h
cld4h / README.md
Last active June 5, 2024 06:22
Bypass the GFW; clash fake-ip and tproxy; iptables and transparent proxy on Linux; 在Linux上通过 iptables 以及 clash 配置透明代理用于本机及局域网翻墙网关; Linux 翻墙路由器配置

This article show you the ultimate way to set up a transparent proxy on Linux using clash and iptables to bypass the GFW in China.

We use:

You can go to github gist to download all files mentioned in this article.

@aojea
aojea / README.md
Last active April 28, 2024 18:06
Run Kubernets conformance tests
@HoussemNasri
HoussemNasri / BalsamiqForever.py
Last active July 4, 2024 02:51
Extend your trial period for Balsamiq Wireframes on Windows and macOS Forever!
import json
import os
import time
import webbrowser
import sys
import re
def handleWindows(extra_seconds):
print("OS : Windows")
@vncsna
vncsna / bash_strict_mode.md
Created June 6, 2021 01:59 — forked from mohanpedala/bash_strict_mode.md
set -e, -u, -o, -x pipefail explanation

set -e, -u, -o, -x pipefail

The set lines

  • These lines deliberately cause your script to fail. Wait, what? Believe me, this is a good thing.
  • With these settings, certain common errors will cause the script to immediately fail, explicitly and loudly. Otherwise, you can get hidden bugs that are discovered only when they blow up in production.
  • set -euxo pipefail is short for:
set -e
set -u
@davidteren
davidteren / nerd_fonts.md
Last active June 30, 2024 13:32
Install Nerd Fonts via Homebrew [updated & fixed]