stylesheetのドキュメント

cssのドキュメントを作りたい

stylesheetガイドで検索するといろいろと出てきた

どれが今時なのかいまいちわからない

 

・styledocco
https://jacobrask.github.io/styledocco/

・kss
http://warpspire.com/kss/

hologram
http://trulia.github.io/hologram/

・kaleistyleguide
https://github.com/thomasdavis/kaleistyleguide

・frontnote
https://github.com/frontainer/frontnote

・sc5styleguide
http://styleguide.sc5.io/

 

javaでファイルをダウンロードしようとしたら日本語ファイル名が文字化ける

headerのContent-Dispositionにいろいろセットする

response.addHeader("Content-Disposition", "attachment; filename*=UTF-8''" + URLEncoder.encode(file.getName(), StandardCharsets.UTF_8.name()));

Spring Bootで日本語ファイル名のファイルダウンロード - システム開発メモ

 

半角スペースが+になってしまうのでreplaceしておく

.replace("+", "%20")

テックノート – 【Java】URLエンコード出来ない文字と対応方法

iosでhttp接続できない

type error network request failedっていうエラーが出てた
 
Info.plistを編集
NSAppTransportSecurityのNSAllowsArbitraryLoadsをtrueにする
 
<key>NSAppTransportSecurity</key>
<dict>
    <key>NSAllowsArbitraryLoads</key><true/>
</dict>