- plain ol' React
let state = initial
render(view(state), element)
view
is pure!
#!/bin/bash | |
# | |
# Helper functions | |
# | |
function pause(){ | |
read -p "$*" | |
} |
/** | |
* Replace $.ajax on your subdomain with a copy taken | |
* from your base domain. All jQuery AJAX actions go | |
* through $.ajax (i.e. $.get, $.post), so it's all good. | |
*/ | |
(function() { | |
var iframe, | |
onload, | |
queue = [], |
#!/bin/bash | |
# | |
# Helper functions | |
# | |
function pause(){ | |
read -p "$*" | |
} |
#!/usr/bin/env bash | |
source super.bash | |
foo() { | |
echo hello | |
} | |
super_function foo | |
foo() { |
/* https://github.com/nikos/cmskern/blob/master/playapp/public/javascripts/widgets.js*/ | |
/** | |
* Widget for displaying a complete form as specified by the given schema. | |
*/ | |
angular.widget('my:form', function(element) { | |
this.descend(true); // compiler will process children elements | |
this.directives(true); // compiler will process directives |
import urllib | |
import urllib2 | |
import json | |
def lambda_handler(event, context): | |
url = 'https://rightgif.com/search/web' | |
/*global module:false*/ | |
module.exports = function(grunt) { | |
// Project configuration. | |
grunt.initConfig({ | |
min: { | |
ariaAccessibility: { | |
src: ['src/javascripts/jquery.selectBoxIt.ariaAccessibility.js'], | |
dest: 'src/javascripts/jquery.selectBoxIt.ariaAccessibility.min.js' | |
}, |
version: '2.0' | |
services: | |
couchpotato: | |
image: linuxserver/couchpotato | |
ports: | |
- 5050:5050 | |
volumes: | |
- couchpotato:/config:rw | |
- movies:/movies:rw | |
- downloads:/downloads:rw |
license: gpl-3.0 |