View find-old-branches.sh
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 is a very naive script, it doesn't do grouping and returns all branches | |
# I only really care about branches that have not seen commits in two months | |
# | |
# I am hoping to find some time to write a tool that can output these reports for me | |
# In the meantime, I am using this | |
echo "Merged branches" | |
for branch in `git branch -r --merged | grep -v HEAD`;do echo -e `git log --no-merges -n 1 --format="%ci, %cr, %an, %ae, " $branch | head -n 1` \\t$branch; done | sort -r |
View json
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
[ | |
{ | |
"title": "100", | |
"symbol": "💯", | |
"keywords": | |
"hundred points symbol symbol wow wow win win perfect perfect parties parties" | |
}, | |
{ | |
"title": "1234", | |
"symbol": "🔢", |
View gist:929af36285ae4c1e6f9826626709f796
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
[ | |
{ "Month": "Jan", "Sales_Figure": 21, "Perc": 5 }, | |
{ "Month": "Feb", "Sales_Figure": 32, "Perc": 15 }, | |
{ "Month": "Mar", "Sales_Figure": 19, "Perc": 11 }, | |
{ "Month": "Apr", "Sales_Figure": 8, "Perc": 17 }, | |
{ "Month": "May", "Sales_Figure": 26, "Perc": 5 }, | |
{ "Month": "Jun", "Sales_Figure": 31, "Perc": 2 }, | |
{ "Month": "Jul", "Sales_Figure": 37, "Perc": 28 }, | |
{ "Month": "Aug", "Sales_Figure": 16, "Perc": 14 }, | |
{ "Month": "Sep", "Sales_Figure": 25, "Perc": 19 }, |
View test.json
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
{"test": "Test success!"} |
View Country Currency Codes JSON
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
{ | |
"USD": { | |
"symbol": "$", | |
"name": "US Dollar", | |
"symbol_native": "$", | |
"decimal_digits": 2, | |
"rounding": 0, | |
"code": "USD", | |
"name_plural": "US dollars" | |
}, |
View php expense categories
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
<?php | |
/** | |
* categories.php | |
* Created By User: VPetar | |
* Date: 11/23/2018 | |
* Time: 11:27 AM | |
*/ | |
return [ | |
"incomes" => [ |