This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="hyperapp.js"></script> | |
<script> | |
// State | |
const state = { |
This file contains 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
def is_digit( num ) : | |
if num in list( map( lambda n: str( n ), range( 10 ) ) ) : | |
return True | |
return False | |
class Tokenizer : | |
def __init__( self, formula ) : | |
self.formula = formula | |
self.tokens = [] |
- [翻訳記事]マイクロフロントエンド - マイクロサービスのフロントエンドへの応用
- バックエンドのマイクロサービスと連携した各アプリケーションのライブラリ,フレームワークに依存しない UI,処理を提供するフロントエンドのモジュールのこと
- 特徴
- どのアプリケーションでも使用できる
- フレームワークに依存しない
- 技術選択が自由になる
- 連携には DOM の API を使用する
- Web Components など(Polyfill が必要そう)
- インポートすれば全ての機能を利用できる
- 特徴
- パーツ毎に独立させる
This file contains 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 Foundation | |
import MediaPlayer | |
@objc(MusicLibrary) class MusicLibrary : CDVPlugin { | |
func getAlbums(_ command: CDVInvokedUrlCommand) { | |
let albumItems = MPMediaQuery.albums().items as [MPMediaItem]? | |
if albumItems == nil { | |
let result = CDVPluginResult(status: CDVCommandStatus_OK, messageAs: []) |
This file contains 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
TypeScript 1 hr 49 mins ███████▎░░░░░░░░░░░░░ 35.0% | |
Slim 1 hr 42 mins ██████▉░░░░░░░░░░░░░░ 32.8% | |
Ruby 47 mins ███▏░░░░░░░░░░░░░░░░░ 15.2% | |
JavaScript 17 mins █▏░░░░░░░░░░░░░░░░░░░ 5.8% | |
YAML 10 mins ▋░░░░░░░░░░░░░░░░░░░░ 3.5% |