Skip to content

Instantly share code, notes, and snippets.

View shmidtelson's full-sized avatar
💻
I do so as much as i can

Roman Sapezhko shmidtelson

💻
I do so as much as i can
View GitHub Profile
@shmidtelson
shmidtelson / send-invites.js
Last active March 25, 2024 09:53
Linkedin invite sender
/**
@description Auto-adding connections in linkedin
@instruction Open url https://www.linkedin.com/search/results/people/ and type your query.
When you see the result, you should paste the code (below) into the console of your browser and press enter.
This bot can add connections automatically, and it also uses page pagination.
When you reach the weekly limit, the bot will stop.
*/
const currentLanguage = document.querySelector('html').lang
const languageMap = {
@Bill-tran
Bill-tran / how-to-install-openssl-1.1.1-on-centos-7.md
Created September 7, 2021 09:22
How to install openssl 1.1.1 on CentOS 7

How To Install OpenSSL 1.1.1 on CentOS 7

This tutorial goes through how to install openssl 1.1.1 on CentOS 7, since the yum repo only installs up to openssl 1.0.

Requirements

Upgrade the system

yum -y update
@aahnik
aahnik / #get_session_string.md
Last active March 12, 2024 01:56
A python script to get Telegram session string after logging into user account. Using Telethon.

You must ensure that you have Telethon installed. Run pip install telethon to install.

[optional]

You can can create file called .env in the directory from which you are running the script.

.env

@nfsarmento
nfsarmento / nginx-wordpress.conf
Last active May 3, 2024 12:07
Harden wordpress security nginx
############ WordPress ####################
# Disable logging for favicon and robots.txt
location = /favicon.ico {
try_files /favicon.ico @empty;
access_log off;
log_not_found off;
expires max;
}
@shmidtelson
shmidtelson / docker-compose.yml
Created November 9, 2019 20:36
Host Mariadb with phpmyadmin
# Add user with host 172.18.0.1 then connect to database
# 172.18.0.1 - if localhost connection
version: '3.7'
services:
mariadb:
image: 'bitnami/mariadb:latest'
environment:
- MARIADB_ROOT_PASSWORD=root
volumes:
- 'mariadb_data:/bitnami'
@shmidtelson
shmidtelson / settings.yml
Last active August 10, 2019 10:22
Settings for Jetbrains IDE by Romua1d
App theme: Material Arc Dark [https://plugins.jetbrains.com/plugin/8006-material-theme-ui/]
Code theme: Monokai Sublime Text 3 [http://color-themes.com/?view=theme&id=563a1a7680b4acf11273ae94]
Font: Source Code Pro
Plugins:
- CodeGlance
- .env
Settings:
- Password: In KeePass
@shmidtelson
shmidtelson / leaflet.draw.js
Last active August 7, 2019 13:03
Leaflet.draw Russian language
// Version 1.0+
export const leaflet_russian = () => {
L.drawLocal = {
draw: {
toolbar: {
actions: {
title: 'Прекратить рисование',//'Cancel drawing',
text: 'Отмена'
},
finish: {
@shmidtelson
shmidtelson / default.conf
Last active November 17, 2018 10:56
NGiNX Configuration for Vue-Router in HTML5 Mode
server {
listen 80 default_server;
listen [::]:80 default_server;
root /your/root/path;
index index.html;
server_name you.server.com;
@zerobias
zerobias / nicknames.md
Last active June 16, 2022 07:44
nicknames
16.06.2022
Дима Zerobias
01.03.2022
⛴➡️🍆
@xorik
xorik / MF.md
Last active May 2, 2024 13:25
Польские инкубаторы

Moja Firma

https://mojafirma.org/

Шаги

  1. Вы заключаете контракт со своим клиентом (клиентами) или через фриланс биржи, используя юридические данные нашего бизнес-инкубатора;
  2. Полученные средства поступают на ваш фирменный суб-счет (валюта PLN, EUR, USD), которые вы потом себе выплачиваете как заработную плату в рамках договора с нами;
  3. Предоставив польским государственным органом подтверждение того, что вы тведете деятельность и проводите доход легально, вы получаете ВНЖ в Польше.