Chrome ExtensionのLive HTTP Headersを調査した。Firefox用のものではない。Firefox用のものではない。
11/7追記
- 類似 or 同様の方法で難読化scriptを埋め込んでいる拡張機能が大量にあったため、Googleに報告済み。
- https://twitter.com/bulkneets/status/795260268221636608
Summary in english.
Chrome ExtensionのLive HTTP Headersを調査した。Firefox用のものではない。Firefox用のものではない。
11/7追記
Summary in english.
| # 例1 | |
| "書き込み内容" ` | |
| | % { [Text.Encoding]::UTF8.GetBytes($_) } ` | |
| | Set-Content -Path ".\BOMlessUTF8.txt" -Encoding Byte | |
| # 例2 | |
| Get-Content -Path ".\Source.txt" -Raw -Encoding Default ` | |
| | % { [Text.Encoding]::UTF8.GetBytes($_) } ` | |
| | Set-Content -Path ".\BOMlessUTF8.txt" -Encoding Byte |
以下転載:
| program プログラム; | |
| uses | |
| System.SysUtils | |
| {$IFDEF ANDROID} | |
| , Androidapi.JniBridge | |
| {$ELSEIF IOS} | |
| , iOSapi.Foundation | |
| {$ENDIF} | |
| ; |
This is my constantly updated The Division config.
Put the Files graphic settings.cfg and state.cfg in ...\Users\$USER\Documents\My Games\Tom Clancy's The Division !
These settings are optimized for the Dark Zone. Constant 60 FPS at a resolution of 1920x1080.
| .container { | |
| padding: 3rem; | |
| } | |
| .js-hide { | |
| display: none; | |
| } |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| # 16進数文字列で出力 | |
| (100).ToString("X") | |
| # => 64 | |
| # 16進数から10進数文字列に変換 | |
| [Convert]::ToString(0x64, 10) | |
| # => 100 | |
| [Convert]::ToString("0x64", 10) | |
| # => 100 |
| {-# LANGUAGE DeriveFunctor, FlexibleContexts, UndecidableInstances #-} | |
| import Control.Monad.Free | |
| import Control.Monad (void) | |
| import Control.Monad.Identity | |
| import Data.Void | |
| import Test.QuickCheck | |
| -- Free Monadの使用例 |
| import os | |
| from subprocess import check_call | |
| def post_save(model, os_path, contents_manager): | |
| """post-save hook for converting notebooks to .py and .html files.""" | |
| if model['type'] != 'notebook': | |
| return # only do this for notebooks | |
| d, fname = os.path.split(os_path) | |
| check_call(['jupyter', 'nbconvert', '--to', 'script', fname], cwd=d) | |
| check_call(['jupyter', 'nbconvert', '--to', 'html', fname], cwd=d) |