- Email: [email protected]
- Twitter: @iHiD
- Website or Blog: http://www.ihid.co.uk
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
Instructions for clearing expired DigiCert SSL certificate on OSX by [https://gist.github.com/agraves](agraves) | |
NOTICE: The following instructions "worked for me." Proceed at your own risk. | |
Symptoms: | |
* Visiting several sites, such as github, gravatar, twitter's CDN results in "invalid certificate" errors | |
* For example: http://i.imgur.com/8gPRfI3.png | |
Instructions |
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 | |
# | |
# Take a photo of you, whenever you make a commit | |
# | |
# This is an improved version of Víctor Martínez original post: | |
# http://coderwall.com/p/xlatfq | |
# | |
# Improvements: |
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 | |
# | |
# Take a photo of you, whenever you make a commit | |
# | |
# This is an improved version of Víctor Martínez original post: | |
# http://coderwall.com/p/xlatfq | |
# | |
# Improvements: |
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
def self.create_from_gemfile_url ( url ) | |
return nil if url.nil? | |
if url.match(/^https:\/\/github.com\//) | |
url = url.gsub("https://github.com", "https://raw.github.com") | |
url = url.gsub("/blob/", "/") | |
end | |
uri = URI.parse( url ) | |
http = Net::HTTP.new(uri.host, uri.port) | |
if uri.port == 443 | |
http.use_ssl = true |
- Email: [email protected]
- Twitter: @iHiD
- Website or Blog: http://www.ihid.co.uk
- Company: Various :)