Skip to content

Instantly share code, notes, and snippets.

View antonydevanchi's full-sized avatar
💭
I may be slow to respond.

Anton Piskunov antonydevanchi

💭
I may be slow to respond.
View GitHub Profile
@antonydevanchi
antonydevanchi / set_ff.md
Created August 27, 2020 22:18 — forked from naikdij88/set_ff.md
Настройка Firefox

I. СОЗДАНИЕ НОВОГО ПРОФИЛЯ

Используйте менеджер профилей, чтобы создать новый профиль Firefox.

LINUX:

В терминале (консоли) Linux исполните команду от обычного пользователя:

firefox -P
@antonydevanchi
antonydevanchi / iterm2-solarized.md
Created June 27, 2020 20:02 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

// How to:
// 1) Login into https://icloud.com
// 2) Open the developer tools and execute this code in the console
// See more @ https://medium.com/bugbountywriteup/how-apple-stored-all-your-email-metadata-for-years-on-their-servers-2a61b1a3232d
const _API_URL='https://p18-mailws.icloud.com/wm/recents';
const _requestContacts = () => {
console.warn('Requesting your contacts...');
return fetch(_API_URL, {
method: 'POST',
headers: {
@antonydevanchi
antonydevanchi / Documentation.md
Created January 19, 2020 19:21 — forked from KartikTalwar/Documentation.md
Rsync over SSH - (40MB/s over 1GB NICs)

The fastest remote directory rsync over ssh archival I can muster (40MB/s over 1gb NICs)

This creates an archive that does the following:

rsync (Everyone seems to like -z, but it is much slower for me)

  • a: archive mode - rescursive, preserves owner, preserves permissions, preserves modification times, preserves group, copies symlinks as symlinks, preserves device files.
  • H: preserves hard-links
  • A: preserves ACLs
@antonydevanchi
antonydevanchi / .eslintrc.js
Created August 19, 2019 16:51 — forked from manjula-dube/.eslintrc.js
.eslintrc.js
// use this format since .eslintrc is deprecated.
// You can logically derive this format.
module.exports = {
parser: 'babel-eslint',
extends: [
'plugin:flowtype/recommended',
'plugin:jest/recommended',
'plugin:react/recommended',
'eslint-config-airbnb',
@antonydevanchi
antonydevanchi / disable.sh
Created August 18, 2019 22:08
Disable bunch of #$!@ in Sierra (Version 2.1)
#!/bin/bash
# IMPORTANT: You will need to disable SIP aka Rootless in order to fully execute this script, you can reenable it after.
# WARNING: It might disable things that you may not like. Please double check the services in the TODISABLE vars.
# Get active services: launchctl list | grep -v "\-\t0"
# Find a service: grep -lR [service] /System/Library/Launch* /Library/Launch* ~/Library/LaunchAgents
# Agents to disable
TODISABLE=('com.apple.security.keychainsyncingoveridsproxy' 'com.apple.personad' 'com.apple.passd' 'com.apple.screensharing.MessagesAgent' 'com.apple.CommCenter-osx' 'com.apple.Maps.mapspushd' 'com.apple.Maps.pushdaemon' 'com.apple.photoanalysisd' 'com.apple.telephonyutilities.callservicesd' 'com.apple.AirPlayUIAgent' 'com.apple.AirPortBaseStationAgent' 'com.apple.CalendarAgent' 'com.apple.DictationIM' 'com.apple.iCloudUserNotifications' 'com.apple.familycircled' 'com.apple.familycontrols.useragent' 'com.apple.familynotificationd' 'com.apple.gamed' 'com.apple.icloud.findmydeviced.findmydevi
@antonydevanchi
antonydevanchi / setup.sh
Created August 18, 2019 20:04 — forked from gorakhargosh/setup.sh
Configures and sets up Linux and Mac OS X machines for development.
#!/bin/bash
#
# Description: Releases for this script are available at:
# https://gist.github.com/gorakhargosh/c3902d08a939995fb4af/
#
# The above URL has a bit.ly link as:
# http://bit.ly/bhojo-config
#
# The script is intended to be written and reviewed in the repository
# but released as a gist at the abovementioned URL.
@antonydevanchi
antonydevanchi / GPG-Tower
Created April 19, 2019 00:19 — forked from LeonardoCardoso/GPG-Tower
How to setup Tower to use the GPG Suite
# GPG on Tower
@antonydevanchi
antonydevanchi / 0_input.md
Created January 20, 2019 09:30 — forked from niquola/0_input.md
Генерация уникального идентификатора для МО

Алгоритм кодирования объектов должен быть разработан с учетом требований национального стандарта РФ ГОСТ Р ИСО/МЭК 9834-1-2009 и методических рекомендаций Министерства здравоохранения РФ, приведенных в документе «Комплект спецификаций и технических условий обмена стандартизированными электронными медицинскими документами и сведениями для IHE-совместимых информационных систем». Регистра МО РФ (MDR308, OID: 1.2.643.5.1.13.2.1.1.178)

http://www.gosthelp.ru/gost/gost49025.html

@antonydevanchi
antonydevanchi / meritt.zsh-theme
Created August 18, 2018 23:37 — forked from meritt/meritt.zsh-theme
My ZSH theme
# vim:ft=zsh ts=2 sw=2 sts=2
#
# Based on Agnoster's Theme — https://gist.github.com/3712874
# A Powerline-inspired theme for ZSH
#
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts)
# [Solarized theme](https://github.com/altercation/solarized/)
# [iTerm 2](http://www.iterm2.com/)
### Segment drawing