View topics.txt
Control-flow (conditionals)
Control-flow (loops)
Equality
Exception handling
Inheritance
Pattern matching
Polymorphism
Recursion
Variables
View Playlist
https://open.spotify.com/user/ihid/playlist/21VGlswVvue1Twda6NTafN
View thoughts.js
// Problem: This doesn't work
// true || throw new Error('some_var not defined')
// > Uncaught SyntaxError: Unexpected token throw
// I would approach this by creating another function, either for
// after the ||, or to wrap the whole thing. It's not exactly ideal
// but it feels idiomatic in a functional language.
//--
// Suggestion 1: Define a wrapper function for throw
View config.rb
require 'propono'
Propono.config do |config|
config.access_key = "AKIAIPE2MSOM5ZFGQBCQ"
config.secret_key = "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"
config.queue_region = "eu-west-1"
end
require 'twitter'
@twitter = Twitter::REST::Client.new do |config|
config.consumer_key = "OG9Zkag09onRe7b5ZLecO7HGb"
View instructions
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
View article.md

Introduction

In my last article I introduced you to Propono - a pub/sub wrapper for Ruby. If you missed it, then I'd recommend going and having a read before you move on to this. To recap, Propono makes it exceptionally easy to publish and subscribe to messages between services using two simple methods:

# Service 1
Propono.listen_to_queue(:user) do |message|
  p "Message Received"
  p message
end
View indicare.rb
require 'net/http'
module Indicare
class NewsFeedItemProcessor < Larva::Processor
def news_feed_item_created
publish_to_flumen
end
private
def publish_to_flumen
nfi = MeducationSDK::NewsFeedItem.find(id)
View rules.md

For An Raster Image

  • Large File = Original File
  • Small File = 900x

For a single PPT

  • Large File = We output the first slide at 3000x
  • Small File = We output the first slide at 900x

For a single PPT

  • Large File = We output the first page at 3000x
View Hello.txt
So prefix this with `javascript:` and compress it to one line and it works a treat. I've been playing with it in the chrome inspetor to get started
View manifest_creator.rb
cloudfront_url = "https://123123.cloudfront.com"
images_dir = "/users/12321/"
manifest_file_path = "/users/12321/manifest.json"
images = Dir["#{@processing_directory}/html/**/*.jpg"].map do |filename|
"#{cloudfront_url}/#{images_dir}/#{filename}"
end
delivery_data = {images: images}