Skip to content

Instantly share code, notes, and snippets.

@zbal
zbal / gist:6172020
Last active October 4, 2019 01:46
rename - delete - create -- git ...
Vincents-MacBook-Pro:sandbox balou$ git init
Initialized empty Git repository in /Users/balou/workspace/sandbox/.git/
Vincents-MacBook-Pro:sandbox balou$ vim a
Vincents-MacBook-Pro:sandbox balou$ cat a
aaaaa
Vincents-MacBook-Pro:sandbox balou$ git add a
Vincents-MacBook-Pro:sandbox balou$ git status
# On branch master
#
@zbal
zbal / gist:5675401
Created May 30, 2013 02:28
Network mapbox from Shanghai

From office (professional connection) - MacOSX

Traceroute

Run 1

Vincents-MacBook-Pro:demo balou$ traceroute a.tiles.mapbox.com
traceroute: Warning: a.tiles.mapbox.com has multiple addresses; using 216.137.55.37
traceroute to dnv9my2eseobd.cloudfront.net (216.137.55.37), 64 hops max, 52 byte packets
 1  server-216-137-55-37.hkg1.r.cloudfront.net (216.137.55.37)  0.999 ms  1.068 ms  0.653 ms
@zbal
zbal / gist:5226450
Created March 23, 2013 04:28
netsted with_items
main playbook:
tasks:
- include: $item/tasks/main.yml
when_string: "'$item' in $group_names"
with_items:
- apache
- php
included file ex. apache/tasks/main.yml: