Skip to content

Instantly share code, notes, and snippets.

Roman Gorodeckij holms

Block or report user

Report or block holms

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
holms /
Created Aug 8, 2018 — forked from a7madgamal/
Dark mode for Slack on MacOS
  1. Close slack
  2. Open this file /Applications/
  3. Append this to it
document.addEventListener('DOMContentLoaded', function() {
   url: '',
   success: function(css) {
holms / Docker
Created Mar 4, 2016 — forked from mitchwongho/Docker
Docker 'run' command to start an interactive BaSH session
View Docker
# Assuming an Ubuntu Docker image
$ docker run -it <image> /bin/bash
holms / task.yml
Last active Dec 13, 2016 — forked from maxim/task.yml
Adding github to known_hosts with ansible
View task.yml
- name: ensure is a known host
dest: /root/.ssh/known_hosts
create: yes
state: present
line: "{{ lookup('pipe', 'ssh-keyscan -t rsa') }}"
regexp: "^github\\.com"
View pillar-apps-app1.sls
# Manage databases
- foo
- bar
load: True
source: salt://mysql/files/foo.schema
View pillar-nginx-dev.sls
rootdir: /data/installer
View [720p][RUS(int)]-2-[1080p][RUS(int)].markdown
  • Move 720p files to 720p dir
  • Move 1080p files to 1080p dir

Check which track you need to select:

mkvmerge -i myfile.mkv | grep audio

You'll get something like this:

# Update, upgrade and install development tools:
apt-get update
apt-get -y upgrade
apt-get -y install build-essential git-core curl libssl-dev \
libreadline5 libreadline5-dev \
zlib1g zlib1g-dev \
libmysqlclient-dev \
libcurl4-openssl-dev \
libxslt-dev libxml2-dev
View app.rb
rails: {
app: {name: "sample_app"},
deploy: {
repository: ""
View chef-role-template.json
"name": "**role-name**",
"chef_type": "role",
"json_class": "Chef::Role",
"default_attributes": {},
"override_attributes": {},
"description": "*role description*",
"run_list": [
View kvm guest - vnc over ssh
$ /usr/libexec/qemu-kvm -m 256 -drive file=server.img -cdrom some.iso -boot d -net nic -net user -vnc :0
$ ssh -L 5900: your_ip_here
You can’t perform that action at this time.