Skip to content

Instantly share code, notes, and snippets.

ᕕ( ᐛ )ᕗ

Mateusz Charytoniuk mcharytoniuk

ᕕ( ᐛ )ᕗ
Block or report user

Report or block mcharytoniuk

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
mcharytoniuk / Vagrantfile
Last active Jan 7, 2020
Vagrant + docker-compose
View Vagrantfile
Vagrant.configure(2) do |config| = "phusion/ubuntu-14.04-amd64" "forwarded_port", guest: 3306, host: 3306
# If errors occur, try running "vagrant provision" manually
# after "vagrant up"
config.vm.provision :docker
# To use docker_compose as a provisioning tool, install
# vagrant-docker-compose plugin first. It should also solve the
View sublime-settings.json
"always_show_minimap_viewport": true,
"animation_enabled": false,
"caret_style": "phase",
"block_caret": true,
"color_scheme": "Packages/Color Scheme - Default/Twilight.tmTheme",
"default_line_ending": "unix",
"draw_centered": false,
"ensure_newline_at_eof_on_save": true,
mcharytoniuk / .footprint
Last active Oct 9, 2019
crux port: protonvpn-cli
View .footprint
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/openvpn/
-rwxr-xr-x root/root etc/openvpn/update-resolv-conf
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/protonvpn-cli
lrwxrwxrwx root/root usr/bin/pvpn -> /usr/bin/protonvpn-cli
mcharytoniuk / .footprint
Last active Sep 28, 2019
crux - port -imwheel
View .footprint
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/X11/
drwxr-xr-x root/root etc/X11/imwheel/
-rw-r--r-- root/root etc/X11/imwheel/imwheelrc
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/imwheel
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
View slick-slider-minimal.scss
/* Slider */
opacity: 0;
// overflow: hidden;
transition: opacity 0.3s ease-in-out;
mcharytoniuk /
Created Jan 19, 2018
replace filenames with file's md5 sum
ls -1 -A | while IFS= read FILE; do
EXTNAME=`echo $FILE | rev | cut -f 1 -d '.' | rev`;
NEWNAME=`md5sum "$FILE" | awk '{ print $1 }'`\.$EXTNAME;
View polymer-google-maps.html
<link rel="import" href="../bower_components/polymer/polymer.html" />
<link rel="import" href="../bower_components/google-apis/google-apis.html" />
<polymer-element attributes="lat lng" name="gmaps-google-map-marker">
<content id="marker" select="a"></content>
"use strict";
View MC.terminal
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
View atom-config.cson
disabledPackages: [
themes: [
mcharytoniuk /
Last active Dec 12, 2015
find file in any git revision
#!/usr/bin/env bash
for rev in $(git rev-list --all); do
if [ -n "`( git ls-tree --full-tree -r $rev; ) | grep $PHRASE`" ]; then
echo "`git branch --contains $rev | grep '*' | tr -d [:space:] | tr -d [=*=];`:$rev:`git ls-tree --full-tree -r $rev | grep $PHRASE`";
You can’t perform that action at this time.