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
gem 'devise' | |
gem 'omniauth' | |
gem 'omniauth-facebook' | |
gem 'omniauth-google-oauth2' | |
gem 'omniauth-windowslive' |
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
#compdef docker-machine | |
# ------------------------------------------------------------------------------ | |
# Description | |
# ----------- | |
# | |
# Completion script for Docker Machine (http://docs.docker.com/machine/). | |
# Adapted from boot2docker completion by hhatto (https://github.com/hhatto) | |
# and docker completion by @aeonazaan and @bobmaerten. | |
# | |
# ------------------------------------------------------------------------------ |
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
{ | |
"_json"=>[ | |
{ | |
"farm"=>{ | |
"uid"=>"04a814ed-7041-4b04-a51b-c6bd41c593ca", | |
"name"=>"demo API dev", | |
"farm_code"=>"30247504101420" | |
}, | |
"indicator"=>{ | |
"uid"=>"970d9d0b-37d1-4602-a687-2b8ce6b621e0", |
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 | |
# This script basically find duplicateds based on titles, keep the first one and delete the other ones. | |
# /!\ Be careful if you have different IDs that potentially have the same title. | |
# You need 1password client and jq to make it work | |
json_data=$(op item list --format json) | |
duplicates=$(echo "$json_data" | jq -r '.[] | .title' | sort | uniq -d) | |
while read -r title; do |
OlderNewer