Use GitHub One Dark Theme instead.
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
| # pull | |
| git fetch origin 'refs/bugs/:refs/bugs/' 'refs/identities/:refs/identities/' | |
| rm -rf .git/git-bug/cache |
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
| {"title":"DOM selectors vs Map","initialization":"const div1 = document.createElement('div');\nconst div2 = document.createElement('div');\n\ndiv1.id = 'div1';\ndiv2.id = 'div2';\n\ndocument.body.appendChild(div1);\ndocument.body.appendChild(div2);","setup":"const CACHE = new Map([ '#div1', '#div2' ].map((id) => [ id, document.querySelector(id) ]));","tests":[{"name":"document.querySelector()","code":"document.querySelector('#div1');\ndocument.querySelector('#div2');","results":{"aborted":false,"count":974549,"cycles":7,"hz":12675847.742922727,"stats":{"moe":4.2038890931148654e-10,"rme":0.5328785807245754,"sem":2.1448413740381967e-10,"deviation":1.7686815070708803e-9,"mean":7.889018709287727e-8,"variance":3.12823427345452e-18,"numSamples":68},"times":{"cycle":0.07688235294117646,"elapsed":6.128,"period":7.889018709287727e-8,"timeStamp":1625279944537}},"platforms":{"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36 Edg/91.0.864.64":{"aborted":fa |
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
| [2019-09-10T06:47:33Z TRACE wgpu_native::command::allocator] recycling comb submitted in 194 when 194 is done | |
| [2019-09-10T06:47:33Z TRACE wgpu_native::command::allocator] recycling comb submitted in 193 when 194 is done | |
| [2019-09-10T06:47:33Z TRACE winit::platform_impl::platform::window_delegate] Triggered `windowWillEnterFullscreen:` | |
| [2019-09-10T06:47:33Z TRACE winit::platform_impl::platform::window_delegate] Locked shared state in `window_will_enter_fullscreen` | |
| [2019-09-10T06:47:33Z TRACE winit::platform_impl::platform::window_delegate] Unlocked shared state in `window_will_enter_fullscreen` | |
| [2019-09-10T06:47:33Z TRACE winit::platform_impl::platform::window_delegate] Completed `windowWillEnterFullscreen:` | |
| [2019-09-10T06:47:33Z TRACE winit::platform_impl::platform::window_delegate] Triggered `windowDidResize:` | |
| [2019-09-10T06:47:33Z INFO shadow::framework] Resizing to PhysicalSize { width: 3840.0, height: 2400.0 } | |
| [2019-09-10T06:47:33Z INFO wgpu_native::device] creating swap chain SwapChainDescriptor { usage |
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
| $ RUST_LOG=info cargo run --bin colour-uniform --features metal | |
| Compiling hal-examples v0.1.0 (/Users/parasyte/other-projects/gfx/examples) | |
| Finished dev [unoptimized + debuginfo] target(s) in 11.09s | |
| Running `/Users/parasyte/other-projects/gfx/target/debug/colour-uniform` | |
| Chosen: AdapterInfo { name: "AMD Radeon Pro 560", vendor: 0, device: 0, device_type: DiscreteGpu } | |
| AdapterInfo { name: "Intel(R) HD Graphics 630", vendor: 0, device: 0, device_type: IntegratedGpu } | |
| Limits { max_image_1d_size: 16384, max_image_2d_size: 16384, max_image_3d_size: 2048, max_image_cube_size: 16384, max_image_array_layers: 2048, max_texel_elements: 268435456, max_uniform_buffer_range: 1073741824, max_storage_buffer_range: 1073741824, max_push_constants_size: 4096, max_memory_allocation_count: 4096, max_sampler_allocation_count: 18446744073709551615, max_bound_descriptor_sets: 8, max_framebuffer_layers: 2048, max_per_stage_descriptor_samplers: 16, max_per_stage_descriptor_uniform_buffers: 31, max_per_stage_descriptor_sto |
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 bash | |
| # With revisions from @parasyte for macOS compatibility | |
| # Requires bash >= 5 (mapfile) | |
| if [[ "$1" == "--keep-versions" ]]; then | |
| keep_versions="1" | |
| fi | |
| purple="\e[0;35m" | |
| reset="\e[0m" |
Given the sequence A000045 and an input parameter n, produce the Nth number in the sequence.
I assume no responsibility for the use of these instructions, or any negative impact they may have. You probably shouldn't do this. (Unless you really, truly hate vile cruftware like Java.)
- Reboot into Recovery Mode.
- Power-on and hold
⌘ + Runtil Apple Logo appears. - If your hard drive is encrypted:
- Start "Restore From Time Machine Backup"
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
| var capstone = require("capstone"); | |
| var code = new Buffer([ | |
| 0x55, 0x48, 0x8b, 0x05, 0xb8, 0x13, 0x00, 0x00 | |
| ]); | |
| var cs = new capstone.Cs(capstone.ARCH_X86, capstone.MODE_64); | |
| cs.detail = true; | |
| cs.disasm(code, 0x1000).forEach(function (insn) { | |
| console.log( |
NewerOlder