Skip to content

Instantly share code, notes, and snippets.

View Blaumaus's full-sized avatar

Andrii Romasiun Blaumaus

View GitHub Profile
@dmitmel
dmitmel / maze.js
Last active October 4, 2021 16:13
Небольшое испытание (решение уже заполнено) по написанию программки для решения (т.е. поиска пути от старта до финиша) лабиринтов.
/*
* maze.js
* Written in 2019 by Dmytro Meleshko <dmytro dot meleshko at gmail dot com>
* To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
* You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
*/
// Автор: Дмитрий Мелешко
//
// Задача состоит в написании программы для поиска выхода из лабиринта. Тебе
@wtbarnes
wtbarnes / push-to-someone-elses-pr.md
Created March 5, 2020 04:49
Brief instructions for how to modify and push to someone else's PR on github

How to Push to Someone Else's Pull Request

Let's say contributor has submitted a pull request to your (author) project (repo). They have made changes on their branch feature and have proposed to merge this into origin/master, where

origin -> https://github.com/author/repo.git

Now say you would like to make commits to their PR and push those changes. First, add their fork as a remote called

@Blaumaus
Blaumaus / ff-config.md
Last active August 29, 2019 13:23
Firefox about:config privacy and performance configuration snippets.

ABOUT

about:config settings to harden the Firefox browser. Privacy and performance enhancements.
You can use this settings in Tor browser too.
To change these settings type 'about:config' in the url bar. Then search the setting you would like to change and modify the value. Some settings may break certain websites from functioning and rendering normally. Some settings may also make firefox unstable.

I am not liable for any damages/loss of data.

Not all these changes are necessary and will be dependent upon your usage and hardware. Do some research on settings if you don't understand what they do. These settings are best combined with your standard privacy extensions

@LeCoupa
LeCoupa / redis_cheatsheet.bash
Last active June 10, 2024 08:14
Redis Cheatsheet - Basic Commands You Must Know --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
# Redis Cheatsheet
# All the commands you need to know
redis-server /path/redis.conf # start redis with the related configuration file
redis-cli # opens a redis prompt
# Strings.