(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf8"> | |
| <title>Float Label Pattern</title> | |
| <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"> | |
| <style type="text/css" media="screen"> | |
| .row { | |
| /*position: relative;*/ | |
| padding-top: 24px; |
| /* | |
| ----------------------------------- | |
| Emoji - natural display for the web | |
| ----------------------------------- | |
| These font face definitions allows to display emoji glyphs intermingled with | |
| arbitrary characters outside emoji unicode blocks. | |
| Usage |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| var initalArray = [1, 2, 3] | |
| let pointer: UnsafeMutablePointer<Int> = UnsafeMutablePointer(initalArray) | |
| let arrary = Array(UnsafeBufferPointer(start: pointer, count: initalArray.count)) |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import base64 | |
| MESSAGE = ''' | |
| EUYQGhMMSx0cU0FIU1MCFAQPG01NQ0gTAEICChUGBxZTRVxBSQoZFQYKHQpKSUNURhcVEgoUFR1I | |
| SltDSBkBTRwKEAgQHxFCSkFJDgkJCgoGCkMLAQBGUklUQhMPAgAJCgYLV0MOSR0VAxAaABZBQVRP | |
| TRICCRVIAk5IEg4dVFRfRkYZBgRARBI= | |
| ''' |
| h1 { | |
| font-size: 1.25em; | |
| } | |
| h2 { | |
| font-size: 1.125em; | |
| } | |
| h3 { | |
| font-size: 1.05em; |
| /* How to Hook with Logos | |
| Hooks are written with syntax similar to that of an Objective-C @implementation. | |
| You don't need to #include <substrate.h>, it will be done automatically, as will | |
| the generation of a class list and an automatic constructor. | |
| %hook ClassName | |
| // Hooking a class method | |
| + (id)sharedInstance { |
| # Defaults / Configuration options for homebridge | |
| # The following settings tells homebridge where to find the config.json file and where to persist the data (i.e. pairing and others) | |
| HOMEBRIDGE_OPTS=-U /var/lib/homebridge | |
| # If you uncomment the following line, homebridge will log more | |
| # You can display this via systemd's journalctl: journalctl -f -u homebridge | |
| # DEBUG=* |