(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.
| import { Component } from "React"; | |
| export var Enhance = ComposedComponent => class extends Component { | |
| constructor() { | |
| this.state = { data: null }; | |
| } | |
| componentDidMount() { | |
| this.setState({ data: 'Hello' }); | |
| } | |
| render() { |
(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.
| {% if craft.request.isAjax %} | |
| {% set layout = "_ajaxLayout" %} | |
| {% else %} | |
| {% set layout = "_layout" %} | |
| {% endif %} | |
| {% extends layout %} | |
| {% set limit = 10 %} | |
| {% set params = { section: 'news', limit: limit} %} |
| module Jekyll | |
| require 'haml' | |
| class HamlConverter < Converter | |
| safe true | |
| priority :low | |
| def matches(ext) | |
| ext =~ /haml/i | |
| end |
| #!/bin/sh | |
| # Copyright 2011 Dvir Volk <dvirsk at gmail dot com>. All rights reserved. | |
| # | |
| # Redistribution and use in source and binary forms, with or without | |
| # modification, are permitted provided that the following conditions are met: | |
| # | |
| # 1. Redistributions of source code must retain the above copyright notice, | |
| # this list of conditions and the following disclaimer. | |
| # |
| <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
| // EE Site | |
| $config['app_version'] = "231"; | |
| $config['license_number'] = ""; | |
| $config['install_lock'] = ""; | |
| $config['is_system_on'] = "y"; | |
| $config['site_label'] = 'Sample.'; | |
| $config['cookie_prefix'] = ''; |