Skip to content

Instantly share code, notes, and snippets.

# sh vcluster.sh bublebee-vcluster youcef 600Mi 2000m 300Mi 1000m
VCLUSTER=$1
NAMESPACE=$2
MEMORY_LIMIT=$3
CPU_LIMIT=$4
MEMORY_REQUEST=$5
CPU_REQUEST=$6
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active April 26, 2024 14:35
Complete Recent Discord Quest

Complete Recent Discord Quest

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
  2. Join a vc
  3. Stream any window (can be notepad or something)
  4. Press Ctrl+Shift+I to open DevTools
  5. Go to the Console tab
  6. Paste the following code and hit enter:
let wpRequire;
@2ik
2ik / cmd.bat
Last active April 26, 2024 14:34
Устранение ошибки в терминале VScode при запуске virtualenv
Ошибка:
.\venv\Scripts\activate : Невозможно загрузить файл C:\path\venv\Scripts\activate.ps1, так как выполнение сценариев отключено в этой системе.
Для получения дополнительных сведений см. about_Execution_Policies по адресу http://go.microsoft.com/fwlink/?LinkID=135170.
строка:1 знак:1
.\venv\Scripts\activate
~~~~~~~~~~~~~~~~~~~~~~~
CategoryInfo : Ошибка безопасности: (:) [], PSSecurityException
FullyQualifiedErrorId : UnauthorizedAccess
Решение проблемы:
@heyalexej
heyalexej / pytz-time-zones.py
Created November 16, 2016 09:14
list of pytz time zones
>>> import pytz
>>>
>>> for tz in pytz.all_timezones:
... print tz
...
...
Africa/Abidjan
Africa/Accra
Africa/Addis_Ababa
Africa/Algiers
@Eldrick19
Eldrick19 / code-scanning-merge-queue.yml
Last active April 26, 2024 14:33
Code Scanning & Merge Queue Workaround
name: "CodeQL"
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
merge_group:
jobs: