This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# 1. Run `bash global-emacs-turkish-correct-buffer.sh` from rofi or set some keybinding for this command | |
# More info | |
# https://github.com/emres/turkish-mode | |
# http://denizyuret.blogspot.com/2006/11/emacs-turkish-mode.html | |
function global-emacs-turkish-correct-buffer | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Check is rvm installed | |
shell: command -v rvm >/dev/null 2>&1 | |
register: is_rvm_exist | |
ignore_errors: yes | |
- debug: msg="{{ is_rvm_exist.rc }}" # it returns rc 1 | |
- debug: var=is_rvm_exist | |
- name: Check is ls installed | |
shell: command -v ls >/dev/null 2>&1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example which shows how to reach nested ansible variable which is partially different. | |
# Run that plabook with ansible-playbook -e "env=test" ansible-nested-variable.yml | |
--- | |
# | |
- hosts: localhost | |
connection : ssh | |
gather_facts: no | |
vars: | |
cidr_blocks: | |
vpc_production_cidr_block: "10.10.0.0/28" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<TaskerData sr="" dvi="1" tv="4.8u1"> | |
<Task sr="task18"> | |
<cdate>1369143331769</cdate> | |
<edate>1454785550311</edate> | |
<id>18</id> | |
<nme>Say Today Tasks</nme> | |
<pri>100</pri> | |
<Action sr="act0" ve="7"> | |
<code>547</code> | |
<Str sr="arg0" ve="3">%newline1</Str> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# https://unix.stackexchange.com/a/152025/457201 | |
# 1 . Usage copy the regular expression which is hard to understand | |
# 2. Run `sh regulex.query.sh` | |
mk_regulex_query() { | |
url_encode() { | |
# http://stackoverflow.com/a/298258/3541063 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
# _ _ | |
# __ _| | _____ _ _ ___ _______| |__ | |
# \ \/ / |/ / _ \ | | / __| |_ / __| '_ \ | |
# > <| < __/ |_| \__ \_ / /\__ \ | | | | |
# /_/\_\_|\_\___|\__, |___(_)___|___/_| |_| | |
# |___/ | |
last_class="none" | |
current_map=default |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# About vimium https://github.com/philc/vimium | |
# Tab move next or previous right hand | |
map J nextTab | |
map K previousTab | |
# Tab move next or previous for left hand | |
map e nextTab | |
map r previousTab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; For more check my blog http://en.enisozgen.com/ansible-surround/ | |
;; Surroun with quotes and curly brackets | |
;; evil-surround-edit: | |
;; SPC s h converts: item --> {{ item }} | |
;; SPC s H converts: item --> "{{ item }}" | |
(add-hook 'yaml-mode-hook (lambda () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.tagged-ignored { | |
display: none; | |
} | |
.tagged-interesting { | |
background-color: #ff76508c; | |
} |
NewerOlder