- CPU: Apple M3 (8 cores)
- RAM: 24 GB
- OS: Darwin 24.6.0 arm64 (macOS Sequoia)
- Compiler: Apple clang 17.0.0 (clang-1700.6.3.2)
- Rust: rustc 1.93.1 (01f6ddf75 2026-02-11)
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
| /* benchmark_adler32.cc -- benchmark adler32 variants | |
| * Copyright (C) 2020 Nathan Moinvaziri | |
| * For conditions of distribution and use, see copyright notice in zlib.h | |
| */ | |
| #include <stdint.h> | |
| #include <stdio.h> | |
| #include <stdint.h> | |
| #include <assert.h> |
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
| #include <stdint.h> | |
| #include <stdio.h> | |
| #include <stdint.h> | |
| #include <benchmark/benchmark.h> | |
| #include "zbuild.h" | |
| #include "zutil.h" | |
| extern "C" void cpu_check_features(); |
transpile es6 into es5 using babel cli.
first install required packages globally.
npm install -g @babel/core @babel/node @babel/preset-env @babel/clithen use command below to perform transpilation.
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
| // | |
| // Author: Jonathan Blow | |
| // Version: 1 | |
| // Date: 31 August, 2018 | |
| // | |
| // This code is released under the MIT license, which you can find at | |
| // | |
| // https://opensource.org/licenses/MIT | |
| // | |
| // |
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
| git branch -r | Select-String -Pattern "->" -NotMatch | Select-String -pattern "^ origin/" | foreach { $_ -replace '^ origin/', '' } | Foreach { git checkout $_ } |
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
| add_filter('upload_dir', 'cdn_upload_url'); | |
| function cdn_upload_url($args) | |
| { | |
| if (!is_admin()) { | |
| $args['baseurl'] = 'https://your-awesome-cdn.net/wp-content/uploads'; | |
| } | |
| return $args; | |
| } |
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
| <?php | |
| /** | |
| * The plugin bootstrap file | |
| * | |
| * This file is read by WordPress to generate the plugin information in the plugin | |
| * admin area. This file also includes all of the dependencies used by the plugin, | |
| * registers the activation and deactivation functions, and defines a function | |
| * that starts the plugin. | |
| * | |
| * @link http://example.com |
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 python | |
| """ Script to scrape images from a flickr account. | |
| Author: Ralph Bean <rbean@redhat.com> | |
| """ | |
| import ConfigParser | |
| import urllib | |
| import requests |
Original link: http://www.concentric.net/~Ttwang/tech/inthash.htm
Taken from: http://web.archive.org/web/20071223173210/http://www.concentric.net/~Ttwang/tech/inthash.htm
Reformatted using pandoc
Thomas Wang, Jan 1997
last update Mar 2007
NewerOlder