- kazocの中の人
- debug view hierlcey
- IBライブレンダリング
- 非同期API
- XCTestExpection
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
| my $regex = qr/ | |
| \A | |
| ( | |
| [a-z][a-z0-9+\-.]*: | |
| ( | |
| \/\/ | |
| ([a-z0-9\-._~%!$&'()*+,;=]+@)? | |
| ([a-z0-9\-._~%]+ | |
| |\[[a-f0-9:.]+\] | |
| |\[v[a-f0-9][a-z0-9\-._~%!$&'()*+,;=:]+\]) |
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
| #!/usr/bin/env python2 | |
| # vim: set fileencoding=utf8 | |
| import re, sys, os, random, time, json, logging, argparse, requests, urllib | |
| from mutagen.id3 import ID3,TRCK,TIT2,TALB,TPE1,APIC,TDRC,COMM,TPOS,USLT | |
| from HTMLParser import HTMLParser | |
| parser = HTMLParser() | |
| s = u'\x1b[1;%dm%s\x1b[0m' # terminual color template |
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
| | Left align | Right align | Center align | | |
| |:-----------|------------:|:------------:| | |
| | This | This | This | | |
| | column | column | column | | |
| | will | will | will | | |
| | be | be | be | | |
| | left | right | center | | |
| | aligned | aligned | aligned | |
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 ( | |
| "flag" | |
| "html/template" | |
| "log" | |
| "net/http" | |
| ) | |
| const ( |
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" | |
| "net/http" | |
| "regexp" | |
| "time" | |
| "github.com/PuerkitoBio/gocrawl" | |
| "github.com/PuerkitoBio/goquery" |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Image gallery</title> | |
| <style id="jsbin-css"> | |
| h1 { | |
| font-family: helvetica, arial, sans-serif; | |
| text-align: center; |
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
| Hello World! |
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
| export default function createStatementData(invoice, plays) { | |
| const result = {}; | |
| result.customer = invoice.customer; | |
| result.performances = invoice.performances.map(enrichPerformance); | |
| result.totalAmount = totalAmount(result); | |
| result.totalVolumeCredits = totalVolumeCredits(result); | |
| return result; | |
| function enrichPerformance(aPerformance) { | |
| const calculator = createPerformanceCaluculator(aPerformance, playFor(aPerformance)); |
OlderNewer