Skip to content

Instantly share code, notes, and snippets.

View alsibir's full-sized avatar

Al Sibir alsibir

  • Moscow
  • 11:24 (UTC +03:00)
View GitHub Profile
print ('Hello at all !')
@alsibir
alsibir / test_a_n.html
Created December 8, 2016 10:06
tesi gist about nothing
<link rel="stylesheet" type="text/css" href="test.css">
@alsibir
alsibir / weblancer.py
Last active October 15, 2018 15:51 — forked from mr-linch/weblancer.py
Исходный код для урока (https://youtu.be/KPXPr-KS-qk)
#!/usr/bin/env python3
import csv
import urllib.request
from bs4 import BeautifulSoup
BASE_URL = 'http://www.weblancer.net/projects/'
@alsibir
alsibir / httpd-vhost.conf
Last active February 23, 2017 11:27
XAMPP httpd-vhost.conf
<VirtualHost *:80>
DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/"
ServerName localhost
<Directory "/Applications/XAMPP/xamppfiles/htdocs/">
Options Indexes FollowSymLinks Includes execCGI
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
@alsibir
alsibir / iterm2-solarized.md
Created March 11, 2017 17:16 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font + [Powerlevel9k] - (macOS)

Default

Default

Powerlevel9k

Powerlevel9k

@alsibir
alsibir / services.markdown
Created October 15, 2018 10:51 — forked from rwilcox/services.markdown
How to create a new gist from OS X Service

How to create a Public Gist Service:

Step 0: Open Automator, New Service.

Step 1: Drag out Run Shell Script action. Pass Input to STDIN

Step 2: This code:

open `gist`
@alsibir
alsibir / # Vim Cheatsheet
Last active February 13, 2024 14:43
[.vim] vim #vim
# Vim Cheatsheet
>Disclaimer: This cheatsheet is summarized from personal experience and other online tutorials. It should not be considered as an official advice.
## Global
```bash
:help keyword # open help for keyword
:o file # open file
:saveas file # save file as
:close # close current pane
@alsibir
alsibir / keychron_linux.md
Created October 8, 2022 05:31 — forked from andrebrait/keychron_linux.md
Keychron keyboards on Linux + Bluetooth fixes

Here is the best setup (I think so :D) for K-series Keychron keyboards on Linux.

Most of these commands have been tested on Ubuntu 20.04 and should also work on most Debian-based distributions. If a command happens not to work for you, take a look in the comment section.

Make Fn + F-keys work

Keychron Keyboards on Linux use the hid_apple driver (even in Windows/Android mode), both in Bluetooth and Wired modes. By default, this driver uses the F-keys as multimedia shortcuts and you have to press Fn + the key to get the usual F1 through F12 keys.