Skip to content

Instantly share code, notes, and snippets.

View dminca's full-sized avatar

Daniel Andrei Mincă dminca

View GitHub Profile
@dminca
dminca / pedantically_commented_playbook.yml
Created August 30, 2016 15:24 — forked from marktheunissen/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
---
# ^^^ YAML documents must begin with the document separator "---"
#
#### Example docblock, I like to put a descriptive comment at the top of my
#### playbooks.
#
# Overview: Playbook to bootstrap a new host for configuration management.
# Applies to: production
# Description:
# Ensures that a host is configured for management with Ansible.
@dminca
dminca / Preferences.sublime-settings
Last active July 18, 2016 12:27
Personal sublime configs
{
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
"draw_white_space": "all",
"font_face": "Hack",
"font_size": 8,
"highlight_line": true,
"ignored_packages":
[
"Markdown",
"Vintage"
@dminca
dminca / speedtest.sh
Created August 2, 2015 20:00
Test internet speed from ubuntu terminal
#!/bin/bash
wget -O /dev/null http://speedtest.wdc01.softlayer.com/downloads/test10.zip
@dminca
dminca / keymap.cson
Last active August 29, 2015 14:24
atom-keymap
# Daniel's keymap
#
# Atom keymaps work similarly to style sheets. Just as style sheets use
# selectors to apply styles to elements, Atom keymaps use selectors to associate
# keystrokes with events in specific contexts.
#
# You can create a new keybinding in this file by typing "key" and then hitting
# tab.
#
# Here's an example taken from Atom's built-in keymap:
@dminca
dminca / deltags.md
Created June 22, 2015 07:14
Delete git tags both on local and remote

Delete all git tags:

On local

git tag | xargs git tag -d

On remote

git tag -l | xargs -n 1 git push --delete origin
@dminca
dminca / xubuntu_panels.md
Last active August 29, 2015 14:19
Lost panels in Xubuntu 14.04

Lost panels in Xubuntu 14.04

Description

When OS launches the splash screen slowly loads (takes about 2-7min to load), then in one flash, the default upper panel appears and disappears forever. After the OS loads, no panels are showing (not even in Thunar file manager).

Steps to fix bug

  1. run xfce4-settings-manager
  2. Open Theme configuration

MacOS

Build 3059

MD5: 59bab8f71f8c096cd3f72cd73851515d

Rename it to: Sublime Text

Make it executable with: chmod u+x Sublime\ Text