Skip to content

Instantly share code, notes, and snippets.

View bborysenko's full-sized avatar

Borys Borysenko bborysenko

View GitHub Profile
@bborysenko
bborysenko / obsidian.css
Created September 23, 2020 15:19
Obsidian Custom CSS
/* -----------------------------------------------------------------------------
Bullet Point Relationship Lines
https://forum.obsidian.md/t/meta-post-common-css-hacks/1978/2
----------------------------------------------------------------------------- */
.cm-hmd-list-indent .cm-tab, ul ul {
position: relative;
}
.cm-hmd-list-indent .cm-tab::before, ul ul::before {
content:'';
border-left: 1px solid var(--text-accent);
@bborysenko
bborysenko / tf-gcs-bootstrap.sh
Created April 12, 2018 14:54
Setting up Terraform GCS remote backend
#!/usr/bin/env bash
set -u
set -e
set -o pipefail
GCP_PROJECT="$(gcloud config list --format 'value(core.project)')"
GCP_SERVICES=(
"storage-api.googleapis.com"
@bborysenko
bborysenko / MF.md
Created February 22, 2022 22:19 — forked from xorik/MF.md
Польские инкубаторы

Moja Firma

https://mojafirma.org/

Шаги

  1. Вы заключаете контракт со своим клиентом (клиентами) или через фриланс биржи, используя юридические данные нашего бизнес-инкубатора;
  2. Полученные средства поступают на ваш фирменный суб-счет (валюта PLN, EUR, USD), которые вы потом себе выплачиваете как заработную плату в рамках договора с нами;
  3. Предоставив польским государственным органом подтверждение того, что вы тведете деятельность и проводите доход легально, вы получаете ВНЖ в Польше.
@bborysenko
bborysenko / .gitlab-ci.yml
Created June 20, 2018 20:59 — forked from danielgomezrico/.gitlab-ci.yml
Android / Gitlab ci - sample setup files to setup your own local gitlab runner with real physical android devices. Check https://github.com/caipivara/awesome-android-scripts
stages:
- build
- test
- deploy
variables:
GIT_STRATEGY: clone
cache:
key: ${CI_PROJECT_ID}

Title: Настройка сервера VPN L2TP/IPSec на Mikrotik RoutersOS Date: 2013-05-31 17:25 Category: Mikrotik Tags: mikrotik, vpn Slug: mikrotik-lt2p-vpn Summary: Краткое описание настройки сервера VPN L2TP/IPSec на Mikrotik RoutersOS c возможностью подключения с помощью встроенных VPN клиентов Windows 7, Mac OS X и IOS.

Alt Text

Замечение: Если несколько клиентов находятся за NAT, то только одно L2TP/IPSec соединение может быть установлено.

@bborysenko
bborysenko / Terraform Functions.md
Last active October 11, 2020 09:13
Terraform Functions

Terraform Functions

  • file reads the contents of a file at the given path and returns them as a string. This function can be used only with files that already exist on disk at the beginning of a Terraform run.
  • templatefile reads the file at the given path and renders its content as a template using a supplied set of template variables.
@bborysenko
bborysenko / notion2blog.js
Created May 14, 2020 12:19 — forked from mayneyao/notion2blog.js
Notion.so > Personal Blog | custom domain + disqus comment
const MY_DOMAIN = "agodrich.com"
const START_PAGE = "https://www.notion.so/gatsby-starter-notion-2c5e3d685aa341088d4cd8daca52fcc2"
const DISQUS_SHORTNAME = "agodrich"
addEventListener('fetch', event => {
event.respondWith(fetchAndApply(event.request))
})
const corsHeaders = {
"Access-Control-Allow-Origin": "*",
@bborysenko
bborysenko / notion2blog.js
Created May 14, 2020 12:19 — forked from mayneyao/notion2blog.js
Notion.so > Personal Blog | custom domain + disqus comment
const MY_DOMAIN = "agodrich.com"
const START_PAGE = "https://www.notion.so/gatsby-starter-notion-2c5e3d685aa341088d4cd8daca52fcc2"
const DISQUS_SHORTNAME = "agodrich"
addEventListener('fetch', event => {
event.respondWith(fetchAndApply(event.request))
})
const corsHeaders = {
"Access-Control-Allow-Origin": "*",

Keybase proof

I hereby claim:

  • I am bborysenko on github.
  • I am bborysenko (https://keybase.io/bborysenko) on keybase.
  • I have a public key whose fingerprint is C01F 7F26 0093 6E7A DD47 0FFF 5853 DE0B 5D45 231E

To claim this, I am signing this object:

@bborysenko
bborysenko / 01-docker-iptables.txt
Last active June 13, 2019 19:30
Default Iptables rules after starting Docker servuce
```
[root@node-01 ~]# iptables-save
# Generated by iptables-save v1.4.21 on Thu May 3 20:27:51 2018
*nat
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
:DOCKER - [0:0]
-A PREROUTING -m addrtype --dst-type LOCAL -j DOCKER