This file contains hidden or 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 | |
| # Output github Pull Requests into a file | |
| cmd="hub pr list -s closed -L 15 --format='%uD %H %t %b %n============%n'"; | |
| tempfile=~/tmp.txt; | |
| echo '------======IOS=====-------' > $tempfile | |
| cd ~/Documents/projects/project/ios/ | |
| eval $cmd >> $tempfile | |
| echo '------======Backend=====-------' >> $tempfile | |
| cd ~/Documents/projects/project/backend/ | |
| eval $cmd >> $tempfile |
This file contains hidden or 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
| class Imagemagick < Formula | |
| desc "Tools and libraries to manipulate images in many formats" | |
| homepage "https://www.imagemagick.org/" | |
| # Based on https://raw.githubusercontent.com/Homebrew/homebrew-core/6f014f2b7f1f9e618fd5c0ae9c93befea671f8be/Formula/imagemagick.rb | |
| # Please always keep the Homebrew mirror as the primary URL as the | |
| # ImageMagick site removes tarballs regularly which means we get issues | |
| # unnecessarily and older versions of the formula are broken. | |
| url "https://dl.bintray.com/homebrew/mirror/imagemagick-6.9.7-3.tar.xz" | |
| mirror "https://www.imagemagick.org/download/ImageMagick-6.9.7-3.tar.xz" | |
| sha256 "801767344b835b810a5f88c26f062f0fa01a97264dfe9bf5e5adf59a0b5c91a1" |
This file contains hidden or 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
| import requests | |
| # In a parallel universe we use import string string.printable | |
| CHARACTERS = "abcdefghijklmnopqrstuvwxyz0123456789" | |
| URL = "http://XX.YYY.ZZZ.XX:8070/auth/v1_1" | |
| HEADERS = {'User-Agent' : 'ed9ae2c0-9b15-4556-a393-23d500675d4b', 'content-type' : 'application/json; charset=utf-8' } | |
| PAYLOAD ={} | |
| DISCOVERED_PASSWORD = "f" | |
| def check(chars): | |
| print('---') |
This file contains hidden or 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
| # Takes an emails.csv file and output it without any '.' | |
| # run with python3 doocrate-clean-mails.py > cleaned_emails.txt | |
| # also remember to concat the original emails to this output | |
| import csv | |
| with open('emails.csv') as csv_file: | |
| emails = csv.reader(csv_file, delimiter=',') | |
| line_count = 0 | |
| for email in emails: | |
| if(email[0].endswith("@gmail.com")): |
OlderNewer