Skip to content

Commit

Permalink
Site updated: 2024-10-05 14:33:06
Browse files Browse the repository at this point in the history
  • Loading branch information
xwal committed Oct 5, 2024
1 parent e72908d commit 66642b3
Show file tree
Hide file tree
Showing 478 changed files with 144,962 additions and 0 deletions.
505 changes: 505 additions & 0 deletions 2014/08/19/Sublime-support-chinese-input/index.html

Large diffs are not rendered by default.

494 changes: 494 additions & 0 deletions 2014/08/19/Ubuntu-install-config/index.html

Large diffs are not rendered by default.

503 changes: 503 additions & 0 deletions 2014/09/03/Windows-app-antivirus/index.html

Large diffs are not rendered by default.

482 changes: 482 additions & 0 deletions 2014/09/10/XULRunner-app-solution/index.html

Large diffs are not rendered by default.

1,066 changes: 1,066 additions & 0 deletions 2014/10/11/Markdown-syntax/index.html

Large diffs are not rendered by default.

485 changes: 485 additions & 0 deletions 2014/10/11/VC-tips/index.html

Large diffs are not rendered by default.

479 changes: 479 additions & 0 deletions 2014/10/13/Qt-Chinese-garbled/index.html

Large diffs are not rendered by default.

475 changes: 475 additions & 0 deletions 2014/10/13/Qt-read-ms-word/index.html

Large diffs are not rendered by default.

492 changes: 492 additions & 0 deletions 2014/11/05/QtWebKit-decrease-memory/index.html

Large diffs are not rendered by default.

482 changes: 482 additions & 0 deletions 2015/11/03/Openfire-install/index.html

Large diffs are not rendered by default.

497 changes: 497 additions & 0 deletions 2015/11/22/RaspberryPi-install-openfire/index.html

Large diffs are not rendered by default.

712 changes: 712 additions & 0 deletions 2015/12/24/SVN-Git/index.html

Large diffs are not rendered by default.

Binary file added 2015/12/28/i18n-l10n/QQ20151228-0@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 2015/12/28/i18n-l10n/QQ20151228-1@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 2015/12/28/i18n-l10n/QQ20151228-2@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 2015/12/28/i18n-l10n/QQ20151228-3@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 2015/12/28/i18n-l10n/QQ20151228-4@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 2015/12/28/i18n-l10n/QQ20151228-5@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 2015/12/28/i18n-l10n/QQ20151228-6@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 2015/12/28/i18n-l10n/QQ20151228-7@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 2015/12/28/i18n-l10n/QQ20151228-8@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
531 changes: 531 additions & 0 deletions 2015/12/28/i18n-l10n/index.html

Large diffs are not rendered by default.

488 changes: 488 additions & 0 deletions 2016/01/18/iOS-Usage-Website/index.html

Large diffs are not rendered by default.

520 changes: 520 additions & 0 deletions 2016/01/20/iOS-directory-and-flow/index.html

Large diffs are not rendered by default.

Binary file added 2016/01/21/iOS-Notification/Push-Overview.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
576 changes: 576 additions & 0 deletions 2016/01/21/iOS-Notification/index.html

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 2016/01/21/iOS-Payment/QQ20160121-0@2x.png
Binary file added 2016/01/21/iOS-Payment/QQ20160121-1@2x.png
Binary file added 2016/01/21/iOS-Payment/QQ20160121-2@2x.png
Binary file added 2016/01/21/iOS-Payment/QQ20160124-0@2x.png
Binary file added 2016/01/21/iOS-Payment/QQ20160124-1@2x.png
Binary file added 2016/01/21/iOS-Payment/Snip20160124_1.png
Binary file added 2016/01/21/iOS-Payment/Snip20160124_2.png
Binary file added 2016/01/21/iOS-Payment/Snip20160124_3.png
Binary file added 2016/01/21/iOS-Payment/Snip20160124_4.png
Binary file added 2016/01/21/iOS-Payment/Snip20160124_5.png
861 changes: 861 additions & 0 deletions 2016/01/21/iOS-Payment/index.html

Large diffs are not rendered by default.

Binary file added 2016/01/30/iOS-Socket/Socket层次.jpg
571 changes: 571 additions & 0 deletions 2016/01/30/iOS-Socket/index.html

Large diffs are not rendered by default.

491 changes: 491 additions & 0 deletions 2016/02/18/UIScrollView-AutoLayout/index.html

Large diffs are not rendered by default.

Binary file added 2016/02/18/iOS-Hardware/070034106495370.png
Binary file added 2016/02/18/iOS-Hardware/070035576334022.png
Binary file added 2016/02/18/iOS-Hardware/171313_aywB_2340880.png
Binary file added 2016/02/18/iOS-Hardware/172431_lbhm_2340880.png
Binary file added 2016/02/18/iOS-Hardware/Snip20160128_1.png
600 changes: 600 additions & 0 deletions 2016/02/18/iOS-Hardware/index.html

Large diffs are not rendered by default.

697 changes: 697 additions & 0 deletions 2016/03/18/Bluetooth-Communication/index.html

Large diffs are not rendered by default.

687 changes: 687 additions & 0 deletions 2016/03/18/iOS-Checklist/index.html

Large diffs are not rendered by default.

608 changes: 608 additions & 0 deletions 2016/04/05/Alcatraz/index.html

Large diffs are not rendered by default.

577 changes: 577 additions & 0 deletions 2016/04/12/iOS-Project-List/index.html

Large diffs are not rendered by default.

502 changes: 502 additions & 0 deletions 2016/04/30/Command-Line-Tools/index.html

Large diffs are not rendered by default.

Binary file added 2016/05/26/iOS-Tips/1.sm.webp
Binary file not shown.
Binary file added 2016/05/26/iOS-Tips/2016-10-18-Snip20161017_4.png
Binary file added 2016/05/26/iOS-Tips/2016-10-18-Snip20161017_6.png
Binary file added 2016/05/26/iOS-Tips/iPhone 6屏幕揭秘.pdf
Binary file not shown.
691 changes: 691 additions & 0 deletions 2016/05/26/iOS-Tips/index.html

Large diffs are not rendered by default.

664 changes: 664 additions & 0 deletions 2016/05/27/Develop-Platform/index.html

Large diffs are not rendered by default.

483 changes: 483 additions & 0 deletions 2016/05/28/Linux-RaspberryPi/index.html

Large diffs are not rendered by default.

676 changes: 676 additions & 0 deletions 2016/06/13/iOS-Common-Crypto/index.html

Large diffs are not rendered by default.

645 changes: 645 additions & 0 deletions 2016/06/24/AppStore-Review-Guidelines/index.html

Large diffs are not rendered by default.

705 changes: 705 additions & 0 deletions 2016/06/30/Design-Pattern/index.html

Large diffs are not rendered by default.

530 changes: 530 additions & 0 deletions 2016/07/23/macOS-setup-rtmp-server/index.html

Large diffs are not rendered by default.

666 changes: 666 additions & 0 deletions 2016/07/27/Reveal/index.html

Large diffs are not rendered by default.

Binary file added 2016/07/27/Reveal/reveal/add-linker-flags.jpg
Binary file added 2016/07/27/Reveal/reveal/reveal-app-chooser.jpg
Binary file added 2016/07/27/Reveal/reveal/reveal_show.png
531 changes: 531 additions & 0 deletions 2016/07/27/iOS-Security-Defense-Reveal/index.html

Large diffs are not rendered by default.

524 changes: 524 additions & 0 deletions 2016/07/29/macOS-Setup-Guide-Setting/index.html

Large diffs are not rendered by default.

658 changes: 658 additions & 0 deletions 2016/07/29/macOS-Setup-Guide-Tools/index.html

Large diffs are not rendered by default.

487 changes: 487 additions & 0 deletions 2016/08/05/Design-Inspiration/index.html

Large diffs are not rendered by default.

552 changes: 552 additions & 0 deletions 2016/09/05/Unix-Art/index.html

Large diffs are not rendered by default.

488 changes: 488 additions & 0 deletions 2016/09/09/SNS-Platform/index.html

Large diffs are not rendered by default.

547 changes: 547 additions & 0 deletions 2016/09/21/Official-Accounts/index.html

Large diffs are not rendered by default.

487 changes: 487 additions & 0 deletions 2016/09/24/Singteton-Class/index.html

Large diffs are not rendered by default.

478 changes: 478 additions & 0 deletions 2016/09/26/Continuous-Integration/index.html

Large diffs are not rendered by default.

478 changes: 478 additions & 0 deletions 2016/10/12/Check-Jailbroken/index.html

Large diffs are not rendered by default.

476 changes: 476 additions & 0 deletions 2016/10/24/dungeon2/index.html

Large diffs are not rendered by default.

483 changes: 483 additions & 0 deletions 2016/10/26/Objective-C-Method-Swizzle/index.html

Large diffs are not rendered by default.

575 changes: 575 additions & 0 deletions 2016/11/04/ARC-Best-Practices/index.html

Large diffs are not rendered by default.

497 changes: 497 additions & 0 deletions 2016/11/07/Data-Analysis-With-R/index.html

Large diffs are not rendered by default.

727 changes: 727 additions & 0 deletions 2016/11/11/Effective-Objective-C-2-0/index.html

Large diffs are not rendered by default.

605 changes: 605 additions & 0 deletions 2016/11/13/Cocoa-Dependency-Manager/index.html

Large diffs are not rendered by default.

603 changes: 603 additions & 0 deletions 2016/12/07/Cydia-Sources-and-Tweaks/index.html

Large diffs are not rendered by default.

505 changes: 505 additions & 0 deletions 2016/12/07/Jailbreak-Using-Pangu-and-Cydia-Impactor/index.html

Large diffs are not rendered by default.

517 changes: 517 additions & 0 deletions 2016/12/30/iOS-vs-Android/index.html

Large diffs are not rendered by default.

738 changes: 738 additions & 0 deletions 2017/01/04/Xcode-Toolchain/index.html

Large diffs are not rendered by default.

616 changes: 616 additions & 0 deletions 2017/02/22/Team-Mode-Development-Process/index.html

Large diffs are not rendered by default.

549 changes: 549 additions & 0 deletions 2017/02/23/Cocos2d-x-Install/index.html

Large diffs are not rendered by default.

552 changes: 552 additions & 0 deletions 2017/08/31/Objective-C-Block/index.html

Large diffs are not rendered by default.

499 changes: 499 additions & 0 deletions 2019/12/17/Apple-Developer-Program/index.html

Large diffs are not rendered by default.

559 changes: 559 additions & 0 deletions 2020/04/20/optimize-xcode-build-time/index.html

Large diffs are not rendered by default.

496 changes: 496 additions & 0 deletions 2020/05/01/Function-references-in-Swift-and-retain-cycles/index.html

Large diffs are not rendered by default.

525 changes: 525 additions & 0 deletions 2020/05/04/fastlane-in-action-1/index.html

Large diffs are not rendered by default.

630 changes: 630 additions & 0 deletions 2020/05/24/jailbreak-user-guide/index.html

Large diffs are not rendered by default.

485 changes: 485 additions & 0 deletions 2020/07/28/swift-use-static-framework/index.html

Large diffs are not rendered by default.

550 changes: 550 additions & 0 deletions 2020/08/03/cocoapods-custom-swift-module/index.html

Large diffs are not rendered by default.

489 changes: 489 additions & 0 deletions 2020/08/06/gitalk-comments-batch-initialize/index.html

Large diffs are not rendered by default.

507 changes: 507 additions & 0 deletions 2020/09/08/Safari-Web-Inspector-For-iOS-WebView/index.html

Large diffs are not rendered by default.

524 changes: 524 additions & 0 deletions 2021/05/16/WebKit-iOS-14-adaptation-issues/index.html

Large diffs are not rendered by default.

503 changes: 503 additions & 0 deletions 2021/06/17/missing-arch-in-ffi/index.html

Large diffs are not rendered by default.

483 changes: 483 additions & 0 deletions 2022/04/29/0-Hello-Ethernaut/index.html

Large diffs are not rendered by default.

505 changes: 505 additions & 0 deletions 2022/04/29/The-Ethernaut/index.html

Large diffs are not rendered by default.

488 changes: 488 additions & 0 deletions 2022/05/05/web3-ens-scanner/index.html

Large diffs are not rendered by default.

508 changes: 508 additions & 0 deletions 2022/05/19/1-Fallback/index.html

Large diffs are not rendered by default.

486 changes: 486 additions & 0 deletions 2022/07/11/2-Fallout/index.html

Large diffs are not rendered by default.

496 changes: 496 additions & 0 deletions 2022/07/11/3-Coin-Flip/index.html

Large diffs are not rendered by default.

474 changes: 474 additions & 0 deletions 2022/10/07/Non-Transferable-Token/index.html

Large diffs are not rendered by default.

507 changes: 507 additions & 0 deletions 2022/10/11/4-Telephone/index.html

Large diffs are not rendered by default.

509 changes: 509 additions & 0 deletions 2022/10/26/5-Token/index.html

Large diffs are not rendered by default.

Binary file added 2022/11/01/6-Delegation/call.png
Binary file added 2022/11/01/6-Delegation/delegatecall.png
535 changes: 535 additions & 0 deletions 2022/11/01/6-Delegation/index.html

Large diffs are not rendered by default.

522 changes: 522 additions & 0 deletions 2022/11/03/7-Force/index.html

Large diffs are not rendered by default.

503 changes: 503 additions & 0 deletions 2022/11/03/8-Vault/index.html

Large diffs are not rendered by default.

Binary file added 2022/11/09/merkle-tree/2880.webp
Binary file not shown.
583 changes: 583 additions & 0 deletions 2022/11/09/merkle-tree/index.html

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions 2022/11/09/merkle-tree/merkle-nft-whitelist.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
const { MerkleTree } = require('merkletreejs')
const keccak256 = require('keccak256')

const whitelist = [
'0x7a68Ab63Ba083916a1e4875588b61676F52Bd08b',
'0x9e1D367A900bc7103e3f2f2af9B71ae9d29a3e58',
'0x5191c9832B5bf6512F7216eE24cc0Ba44558993F',
'0xdd9c4E0B11c319E980c00773296fc1bA6e3D3d23',
'0xC4282694CE35e1b2DD7823BBF3693cfe1E99c398'
]
const leaves = whitelist.map(addr => keccak256(addr))
const tree = new MerkleTree(leaves, keccak256)
const root = tree.getHexRoot()
console.log(tree.toString())
console.log(root)

const leaf = keccak256('0x7a68Ab63Ba083916a1e4875588b61676F52Bd08b')
const proof = tree.getProof(leaf)
console.log(tree.getHexProof(leaf))
const verified = MerkleTree.verify(proof, leaf, root, keccak256)
console.log(verified)
Binary file added 2022/11/09/merkle-tree/merkle-por.png
21 changes: 21 additions & 0 deletions 2022/11/09/merkle-tree/merkle-tree.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
const { MerkleTree } = require('merkletreejs')
const SHA256 = require('crypto-js/sha256')

const leaves = ['a', 'b', 'c'].map(x => SHA256(x))
const tree = new MerkleTree(leaves, SHA256)
const root = tree.getHexRoot()
console.log(tree.toString())
console.log(root)

const leaf = SHA256('a')
const proof = tree.getProof(leaf)
console.log(tree.verify(proof, leaf, root)) // true
const verified = MerkleTree.verify(proof, leaf, root, SHA256)
console.log(verified)


const badLeaves = ['a', 'x', 'c'].map(x => SHA256(x))
const badTree = new MerkleTree(badLeaves, SHA256)
const badLeaf = SHA256('x')
const badProof = badTree.getProof(badLeaf)
console.log(badTree.verify(badProof, badLeaf, root)) // false
514 changes: 514 additions & 0 deletions 2022/11/13/9-King/index.html

Large diffs are not rendered by default.

529 changes: 529 additions & 0 deletions 2022/11/21/iOS-Complete-Jailbreak-Guide/index.html

Large diffs are not rendered by default.

514 changes: 514 additions & 0 deletions 2022/11/22/10-Re-entrancy/index.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
chaosky.tech
362 changes: 362 additions & 0 deletions about/index.html

Large diffs are not rendered by default.

Loading

0 comments on commit 66642b3

Please sign in to comment.