Skip to content

Instantly share code, notes, and snippets.

View adydychk's full-sized avatar

Alexander Dydychkin adydychk

View GitHub Profile
@adydychk
adydychk / dev_infrastructure.csv
Last active February 15, 2022 09:18
"Bricks" of development infrastructure
Theoretical service Real implementation
Version Control System (VCS) Git/Subversion/Mercurial
Code storage Git/Github/Gitlab/Bitbucket/…
Review board Gerrit/CodeScene/Github/Gitlab
CI service Buildbot/Jenkins/TeamCity/Travis CI/Gitlab CI/ Github CI
Build system Cmake/ninja/Meson/Github/Gitlab API/self written
Test system Pytest/Google Test/Robot Framework
Virtualization/containers QEMU/Docker
Software provisioning/configuration management Ansible
Monitoring system Zabbix
@adydychk
adydychk / lte_mbim_from_scratch.md
Created May 25, 2021 07:00 — forked from Juul/lte_mbim_from_scratch.md
How to use 4G LTE modems like the MC7455 on both Debian/Ubuntu and OpenWRT using MBIM

The purpose of this document is to get you familiar with the concepts and command line tools involved with connecting to the internet using modern 4G LTE modems on both Debian/Ubuntu and OpenWRT.

This writeup is based on my experiences with the Sierra Wireless AirPrime MC7455 modem and a Calyx (Sprint) SIM card, but it should apply to most modern 4G LTE modems.

High level overview

These are the steps required:

  • Physically connect antennas
@adydychk
adydychk / branch-fu.md
Created March 22, 2021 07:47 — forked from unbracketed/branch-fu.md
Moving commits between branches

Example: Moving up to a few commits to another branch

Branch A has commits (X,Y) that also need to be in Branch B. The cherry-pick operations should be done in the same chronological order that the commits appear in Branch A.

cherry-pick does support a range of commits, but if you have merge commits in that range, it gets really complicated

git checkout branch-B
git cherry-pick X
git cherry-pick Y
@adydychk
adydychk / install_agent.sh
Created July 11, 2019 13:27 — forked from amyhametov/install_agent.sh
Install and run gitlab-runner for iOS
#made with fun
curl --output /usr/local/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-darwin-amd64
chmod +x /usr/local/bin/gitlab-runner
gitlab-runner install
gitlab-runner start
gitlab-runner register -n --url CI_URL --registration-token TOKEN --tag-list fastlane,cocoapods,osx_10-13,xcode_9-2 --executor shell
#fix locale for cocoapods
echo 'export LC_ALL="en_US.UTF-8"' >> ~/.bash_profile
echo 'export LANG=en_US.UTF-8' >> ~/.bash_profile
@adydychk
adydychk / accessing-virtualbox.md
Created November 8, 2018 08:35
Accessing your Virtualbox Guest from your Host OS

Accessing your Virtualbox Guest from your Host OS

As a developer you want to ping and access the webserver on your virtual machine. This is a very simple solution to enable the bridge to the guest VM.

Requirements

  • VirtualBox (latest version)
  • A guest operation system (e.g. Ubuntu)

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: