Skip to content

Instantly share code, notes, and snippets.

View turboBasic's full-sized avatar
🔮
Focusing

andriy melnyk turboBasic

🔮
Focusing
View GitHub Profile
@pierrejoubert73
pierrejoubert73 / markdown-details-collapsible.md
Last active June 28, 2025 20:00
How to add a collapsible section in markdown.

How to add a collapsible section in markdown

1. Example

Click me

Heading

  1. Foo
  2. Bar
    • Baz
  • Qux
@turboBasic
turboBasic / Get-ChromeExtensionSettings-Context.txt
Last active December 1, 2017 12:12
[Get-ChromeExtensionSettings-Context] settings for chrome extension "Context" #chrome
eyJ2ZXJzaW9uIjoxLCJjb250ZXh0cyI6W3sibmFtZSI6IkVtcHR5IiwiaW1nU3JjIjoiaWNvbnMvZG9ydG11bmQvY29uZmlnLnBuZyIsImljb24iOiJzaG93X2NvbnRleHQiLCJleHRlbnNpb25zIjpbXX0seyJuYW1lIjoiTWluIiwiaW1nU3JjIjoiaWNvbnMvZG9ydG11bmQvc3Rhci5wbmciLCJpY29uIjoic2hvd19jb250ZXh0IiwiZXh0ZW5zaW9ucyI6W3siaWQiOiJnaWdobW1waW9ia2xmZXBqb2NuYW1na2tiaWdsaWRvbSIsImljb24iOiJjaHJvbWU6Ly9leHRlbnNpb24taWNvbi9naWdobW1waW9ia2xmZXBqb2NuYW1na2tiaWdsaWRvbS8xNi8wIn0seyJpZCI6Imhkb2tpZWpucGltYWtlZGhhamhkbGNlZ2VwbGlvYWhkIiwiaWNvbiI6ImNocm9tZTovL2V4dGVuc2lvbi1pY29uL2hkb2tpZWpucGltYWtlZGhhamhkbGNlZ2VwbGlvYWhkLzE2LzAifV19LHsibmFtZSI6IlNoYXJlIiwiaW1nU3JjIjoiaWNvbnMvZG9ydG11bmQvY3VzdG9tZXJzLnBuZyIsImljb24iOiJzaG93X2NvbnRleHQiLCJleHRlbnNpb25zIjpbeyJpZCI6InBkY29oa2hoamJpZmttcGFrYWlvcG5sbG5kZG9mYmJuIiwiaWNvbiI6ImNocm9tZTovL2V4dGVuc2lvbi1pY29uL3BkY29oa2hoamJpZmttcGFrYWlvcG5sbG5kZG9mYmJuLzE2LzAifSx7ImlkIjoicGlvY2xwb3BsY2RiYWVmaWhhbWpvaG5lZmJpa2ppbGMiLCJpY29uIjoiY2hyb21lOi8vZXh0ZW5zaW9uLWljb24vcGlvY2xwb3BsY2RiYWVmaWhhbWpvaG5lZmJpa2ppbGMvMTYvMCJ9LHsiaWQiOiJnb2piZGZucG5ob2dm
@MarvinJWendt
MarvinJWendt / wordlist-german.txt
Created September 7, 2017 03:19
All german words (german wordlist).
This file has been truncated, but you can view the full file.
AA
AAA
Aachen
Aachener
Aachenerin
Aachenerinnen
Aachenern
Aacheners
Aachens
Aal
@Shourai
Shourai / namecheap SSL.md
Created October 21, 2017 12:49
Letsencrypt SSL certificate with namecheap hosting

source: https://savedlog.com/uncategorized/letsencrypt-ssl-certificate-namecheap-hosting/

The “Positive SSL” certificate I bought along with my domain is invalid with any of my subdomains and cannot be used with wildcards. One annoying thing is that namecheap doesn’t offer auto installation of free let’s encrypt certificates, even though, they are saying “Namecheap is dedicated to data security and privacy for all internet users. We believe the movement to encrypt nearly all web traffic is a positive direction. As more sites embrace HTTPS and use of security products, providers of free SSL are beginning to come online.”

Let me show you what it needs to be done in order to “encrypt nearly all web traffic”.

First, not required but it’s helpful to enable ssh access, it is not enabled by default on the base hosting plans, just go an start a live chat and request ssh access.

@kobake
kobake / git-commit-size.sh
Created November 5, 2017 13:42
Calculate size of a git commit object.
#!/bin/bash
if [ $# -ne 1 ]; then
echo "Usage: git-commit-size.sh <commit hash>" 1>&2
exit 1
fi
HASH=$1
ITEM_LIST="`git diff-tree -r -c -M -C --no-commit-id $HASH`"
#!/usr/bin/env bash
# --slave /usr/bin/$1 $1 /usr/bin/$1-\${version} \\
function register_clang_version {
local version=$1
local priority=$2
update-alternatives \
--install /usr/bin/llvm-config llvm-config /usr/bin/llvm-config-${version} ${priority} \
@turboBasic
turboBasic / Get-GistFiles.ps1
Last active December 23, 2017 06:46
[Get-GistFiles.ps1] Gets list of files inside the GitHub gists of a user. #powershell #github
#Requires -Version 3
#Requires -Modules Posh-Gist
function Get-GistFiles {
<#
.SYNOPSIS
Gets list of files inside the GitHub gists of a user
.DESCRIPTION
Gets list of files inside the GitHub gists of a user. GitHub API is not very convenient
@turboBasic
turboBasic / routes2bb.md
Last active January 6, 2018 12:28
Routes to BeBee

Расположение

Общество садоводов "Судостроитель"

  • Карта расположения въезда в ОС "Судостроитель": https://is.gd/utakub

Схемы проезда

@turboBasic
turboBasic / berkoMap.geojson
Created January 6, 2018 12:00
Map of features of Berkovets residential area, #kyiv, #ukraine
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@zuyu
zuyu / ubuntu-install-gcc-6
Last active February 13, 2025 13:16
Install gcc 6 on Ubuntu
sudo apt update && \
sudo apt install build-essential software-properties-common -y && \
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \
sudo apt update && \
sudo apt install gcc-6 g++-6 -y && \
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-6 && \
gcc -v