📝 早く読むために、翻訳の精度よりも早いレスポンスやインライン翻訳を優先している。
- FilipePS/Traduzir-paginas-web: Translate your page in real time using Google or Yandex.
- Firefox用. Chromeは誰かが書いてくれる
- InlineなGoogle/Yandex翻訳のブラウザ拡張
- 選択テキストをDeepLのサイトで翻訳する機能もある
const isSite = (domain) => { | |
console.log(domain) | |
const key = "WILL_BE_FIRED." + 'xxxx-xxxx-xxx-xxxx'.replace(/[x]/g, (c) => { | |
const r = Math.floor(Math.random() * 16); | |
return r.toString(16); | |
}); | |
document.cookie = `${key}=1; domain=${domain}; samesite`; | |
// Test wrinting | |
console.log("document.cookie", document.cookie) | |
const canWrite = document.cookie.includes(`${key}=1`); |
📝 早く読むために、翻訳の精度よりも早いレスポンスやインライン翻訳を優先している。
Use https://github.com/jfarley248/iTunes_Backup_Reader
git clone https://github.com/jfarley248/iTunes_Backup_Reader
cd iTunes_Backup_Reader
# apply https://github.com/jfarley248/iTunes_Backup_Reader/pull/12
gh pr checkout https://github.com/jfarley248/iTunes_Backup_Reader/pull/12
User Agent client hintsのJavaScript APIとHTTP Headerについてのメモ
Tested: Chrome Canary 86.0.4231.0
Feature-Policy
HTTP HeaderGit 2.26.0以下*1には、細工したリポジトリをgit clone
したときに、
そのユーザーのCredential(たとえばGitHub.comをcloneするときに使う認証情報)を奪い取れる脆弱性があります。
📝 取得できる認証情報は credential.helper
の設定に依存する
既にPoC(検証するためのコード)もあり、結構簡単なので是非Gitを2.26.1以上にアップデートしましょう。 git submoduleを使うと見た目ではわかりにくい攻撃もできるので、「気をつける」では回避は難しいです。
# https://github.com/secretlint/secretlint | |
name: secretlint | |
on: | |
push: | |
branches: ['main'] | |
pull_request: | |
branches: ['**'] | |
jobs: |
export const h=(t,p,...c)=>({t,p,c,k:p&&p.key}) | |
export const render=(e,d,t=d.t||(d.t={}),p,r,c,m,y)=> | |
// arrays | |
e.map?e.map((e,p)=>render(e,d,t.o&&t.o[p])): | |
// components | |
e.t.call?(e.i=render((render.c=e).t(Object.assign({children:e.c},e.p),e.s=t.s||{},t=> | |
render(Object.assign(e.s,t)&&e,d,e)),t.i||d,t&&t.i||{}),d.t=t=e):( | |
// create notes | |
m=t.d||(e.t?document.createElement(e.t):new Text(e.p)), | |
// diff props |
📝 I submit the same text to GitHub Support.
I want to use same scope for npm package and GitHub Package Registry.
For example, @org
scope exist in npm and GitHub.
@org/foo-public
package is public on npm registry@org/bar-private
package is private on GitHub Package Registry