Skip to content

Instantly share code, notes, and snippets.

View denys-popov's full-sized avatar
🔮
Black Magic

Denys Popov denys-popov

🔮
Black Magic
View GitHub Profile
@denys-popov
denys-popov / generate-ed25519-ssh-key.sh
Created October 7, 2021 17:07 — forked from risan/generate-ed25519-ssh-key.sh
Generate SSH key with Ed25519 key type
ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C "john@example.com"
#!/bin/sh
# default commands for osx to make it nicer to work with
##########################
# General UI?UX settings #
##########################
# Set hostname (hex of MVB9APPS)
sudo scutil --set ComputerName "0x4d56423941505053"
sudo scutil --set HostName "0x4d56423941505053"

Привет. Меня зовут Дима Унковский, я – ведущий разработчик в команде Platform в Grammarly, и я ищу хороших DevOps ребят в нашу команду.

Что делает ваша команда?

Наша область ответственности – облачная инфраструктура, сопутствующие инструменты и инфраструктурные сервисы. Улучшая их, мы делаем все, чтобы продуктовым командам было удобнее разрабатывать и поддерживать продукт Grammarly.

Что делает компания? Как вы работаете?

@denys-popov
denys-popov / install.sh
Created July 4, 2017 09:53 — forked from marklit/install.sh
Bot Detection Script. Works with Apache and Nginx Log Files.
sudo apt-get update
sudo apt-get install \
python-dev \
python-pip \
python-virtualenv
virtualenv findbots
source findbots/bin/activate
curl -O http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz
@denys-popov
denys-popov / install-teamcity.sh
Last active February 19, 2017 21:34
teamcity installation
#!/bin/bash
echo "'tc.coding-rocks.com' 8111 '9.1.3'"
domain=$1
port=$2
teamcity_version=$3
teamcity_user=teamcity
teamcity_home=/opt/teamcity
### Caption set
#caption always "%{yK}|%{yK}%c| %{yK}%-Lw%{yK}%50>%{Ky}%n%f* %t%{-}%+Lw%<%{- Wk}"
#caption always "%d.%m.%y %0c%{=b kW} %l %{=r kd}%-Lw%{= bd}%50>%n%f* %t%{-}%+Lw%<%{- Wk}"
###Basic staff set
startup_message off # don't want this either.
bell_msg '-=[ b00m in %n ]=-'
defmonitor on # turn monitoring on
activity "activity on %n" # tell me when stuff happens!
alias wgethtml='wget -E -H -k -K -p -nd -o logwget.txt'
#FlexPrettyPrintSettings
#Mon Nov 14 01:49:46 EET 2011
ActionScript.metatagsOnSameLineAsTargetFunction=Bindable
Actionscript.advancedSpacesInsideParensInParameterLists=0
MXML.keepRelativeIndentInMultilineComments=true
MXML.attrsPerLine=1
MXML.blankLinesBeforeTags=0
ASRearr_GroupGettersAndSettersWithStaticProperties=false
Actionscript.keepBlankLines=true
MXML.tagsDoNotFormatInside=.*\:Model,.*\:XML,
@denys-popov
denys-popov / dylib.fix.sh
Created July 14, 2011 10:23
/opt/local/lib/libintl.8.dylib: mach-o, but wrong architecture
sudo port install libidl +universal
sudo ln -s /opt/local/lib/libintl.8.dylib /opt/local/lib/libintl.3.dylib
@denys-popov
denys-popov / teamcity-build-cleanup
Created June 1, 2011 02:27
[teamcity] get ride of SNAPSHOT in maven2 project
#!/bin/sh
set -xue
snapshot=`find ./target/*.jar | grep -v "sources.jar" |grep -v "original"`
build=`echo "${snapshot}" | sed -r "s/([0-9]+[\.|-]){1,}SNAPSHOT/$BUILD_NUMBER/g"`
cp -v "${snapshot}" "${build}"
find ./target/*SNAPSHOT*.jar | xargs -I % rm "%"