Skip to content

Instantly share code, notes, and snippets.

View ibakirov's full-sized avatar

Ilyas Bakirov (aka eRIC) ibakirov

  • IBX
  • Kazakhstan
View GitHub Profile
server {
ssi on;
gzip on;
gzip_comp_level 7;
gzip_types application/x-javascript application/javascript text/css;
charset off;
#disable_symlinks if_not_owner from=$root_path;
ibakirov / 10.2 Code Repo Bug Report
Last active November 22, 2021 04:20
SoloLearn: Coding for Marketers
# 10.2 Code Repo Bug Report
Example code should be fixed as:
<img src=""><br>
ibakirov /
Created July 24, 2021 17:24 — forked from F21/
Signing someone's GPG key

This is a quick guide of the commands we use to sign someone's GPG key in a virtual key signing party.

Note: The steps cover only the technical aspects of signing someone's key. Before signing someone's key, you must verify their identity. This is usually done by showing government-issued ID and confirming the key's fingerprint

The commands will work for both GPG and GPG2.

I use Julian's key for the examples. His key id is 2AD3FAE3. You should substitute with the appropriate key id when running the commands.

Signing the key

  1. List the keys currently in your keyring: gpg --list-keys.
ibakirov /
Created October 17, 2020 15:49 — forked from btfak/
How to use Hexo and deploy to GitHub Pages
ibakirov / Makefile
Created April 8, 2019 15:05 — forked from llj098/Makefile
a sample tcp server runs in kernel
obj-m += tcp_svr_sample.o
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clea
ibakirov /
Created February 11, 2019 10:05
Generate HTML directory index
#!/usr/bin/env python
import argparse
import fnmatch
import os
import sys
# Recursively generate index.html files for
# all subdirectories in a directory tree
d-i debian-installer/locale string en_US.UTF-8
d-i debian-installer/splash boolean false
d-i console-setup/ask_detect boolean false
d-i console-setup/layoutcode string us
d-i console-setup/variantcode string
# network
d-i netcfg/get_nameservers string
d-i netcfg/get_ipaddress string
d-i netcfg/get_netmask string