Skip to content

Instantly share code, notes, and snippets.

Avatar

MaZderMind MaZderMind

View GitHub Profile
@danhper
danhper / add-use-strict.sh
Created Aug 26, 2015
Add 'use strict' to all js files
View add-use-strict.sh
find $DIR -iname '*.js' -exec sed -i "1 i\'use strict';\n" {} \;
@jgornick
jgornick / gist:0586deadad6bb2693f03
Last active Aug 13, 2017
Ansible: with_items and selectattr equalto
View gist:0586deadad6bb2693f03
---
- name: with_items and selectattr equalto
hosts: 127.0.0.1
connection: local
sudo: no
vars:
users:
- username: user1
state: present