This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import Handsontable, {DropdownEditor} from 'handsontable'; | |
import extend from 'lodash/extend'; | |
const AutocompleteEditor = Handsontable.editors.DropdownEditor; | |
export function enhancerRenderer(func) { | |
return (...args) => { | |
args[1].innerHTML = ReactDOMServer.renderToString(func.apply(null, args)); | |
return args[1] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
) | |
func main() { | |
fmt.Println(kanaSwitch("あ ダ チ ヂ ぃ ok い ぅ hip hip う ぇ え ぉ お か ")) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://www.javascriptag.com/1719_16924713/ | |
// http://stackoverflow.com/questions/16648076/sort-array-on-key-value | |
<div ng-controller="MyController"> | |
<input | |
type="search" | |
ng-model="itemName" | |
placeholder="Search..." /> | |
<ul> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../paper-button/paper-button.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icons/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
#paper_button { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eth0 Link encap:Ethernet HWaddr 08:00:27:12:96:98 | |
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0 | |
inet6 addr: fe80::a00:27ff:fe12:9698/64 Scope:Link | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
RX packets:838 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:636 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:1000 | |
RX bytes:100353 (100.3 KB) TX bytes:87593 (87.5 KB) | |
eth1 Link encap:Ethernet HWaddr 08:00:27:68:4e:fd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare var $: any; | |
declare var Box2D: any; | |
declare var Stage: any; | |
var stage: any; | |
declare var Ticker: any; | |
declare var addDebug: any; | |
declare var Bitmap: any; | |
// Box2d vars | |
var b2Vec2 = Box2D.Common.Math.b2Vec2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript(function(){var links=document.querySelectorAll('a.l'),count=links.length;while(count--){links[count].onmousedown=null;if((/url=/i).test(links[count].href)){links[count].href=decodeURIComponent(links[count].href.match(/url=([a-z0-9\-+%._]+)&/i)[1].replace(/\+/g, ' '));}};})() |