Skip to content

Instantly share code, notes, and snippets.

View JoelMarcey's full-sized avatar

Joel Marcey JoelMarcey

View GitHub Profile
$ pa11y https://docusaurus.io
Welcome to Pa11y
> Running Pa11y on URL https://docusaurus.io
Results for URL: https://docusaurus.io/
• Error: Img element missing an alt attribute. Use the alt attribute to specify a short text alternative.
├── WCAG2AA.Principle1.Guideline1_1.1_1_1.H37
Verifying that "joelmarcey.id" is my Blockstack ID. https://explorer.blockstack.org/name/joelmarcey.id
@JoelMarcey
JoelMarcey / gist:215ea77e546496ab5758bcc86fe4152c
Created December 19, 2017 02:48
Prettier run on Docusaurus #316
diff --git a/examples/basics/core/Footer.js b/examples/basics/core/Footer.js
index c3fb922..2aff77c 100644
--- a/examples/basics/core/Footer.js
+++ b/examples/basics/core/Footer.js
@@ -10,12 +10,12 @@ const React = require('react');
class Footer extends React.Component {
docUrl(doc, language) {
const baseUrl = this.props.config.baseUrl;
- return baseUrl + 'docs/' + (language? language + '/' : '') + doc;
+ return baseUrl + 'docs/' + (language ? language + '/' : '') + doc;
div, span {
box-sizing: border-box;
position: relative;
display: flex;
flex-direction: column;
align-items: stretch;
flex-shrink: 0;
align-content: flex-start;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:url" content="http://nuclide.io/nuclide/" />
<meta property="og:site_name" content="Nuclide"/>
@JoelMarcey
JoelMarcey / gist:6ce7acda06a475afcb32
Created December 18, 2015 20:23
static_file.extensions defaults
array(11) {
["zip"]=>
string(15) "application/zip"
["jpeg"]=>
string(10) "image/jpeg"
["html"]=>
string(9) "text/html"
["css"]=>
string(8) "text/css"
["gif"]=>
<?hh // strict
namespace HHVM\UserDocumentation;
require_once(BuildPaths::PHP_INI_SUPPORT_IN_HHVM);
final class PHPIniSupportInHHVMMarkdownBuildStep extends BuildStep {
public function buildAll(): void {
Log::i("\nPHPIniSupportInHHVMMarkdownBuild");
$settings = PHPIniSupportInHHVM::getData();
Option | Option | Option | Option | Option
------ |------ |------ |------ |------
[allow_url_fopen](http://php.net/manual/en/filesystem.configuration.php#ini.allow-url-fopen) |[apc.enable_cli](http://php.net/manual/en/apc.configuration.php#ini.apc.enable-cli) |[apc.enabled](http://php.net/manual/en/apc.configuration.php#ini.apc.enabled) |[apc.stat](http://php.net/manual/en/apc.configuration.php#ini.apc.stat) |[curl.namedPools](http://php.net/manual/en/ini.list.php)
[doc_root](http://php.net/manual/en/ini.core.php#ini.doc-root) |[expose_php](http://php.net/manual/en/ini.core.php#ini.expose-php) |[extension_dir](http://php.net/manual/en/ini.core.php#ini.extension-dir) |[file_uploads](http://php.net/manual/en/ini.core.php#ini.file-uploads) |[hphp.build_id](http://php.net/manual/en/ini.list.php)
[hphp.compiler_id](http://php.net/manual/en/ini.list.php) |[hphp.compiler_version](http://php.net/manual/en/ini.list.php) |[max_file_uploads](http://php.net/manual/en/ini.core.php#ini.max-file-uploads) |[mbstring.h
gst
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" to publish your local commits)
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
renamed: 09-examples-examples/async-mysql.php -> 010-examples-examples/async-mysql.php
renamed: 09-examples-examples/basic.php -> 010-examples-examples/basic.php
renamed: 09-examples-examples/basic.php.hhconfig -> 010-examples-examples/basic.php.hhconfig
@JoelMarcey
JoelMarcey / gist:5260222bbf29df93ace4
Created November 21, 2015 04:30
malloc_usable_size
[joelm@devbig429:/var/tmp/oss_sync_and_push/hhvm] (master) $ sfind malloc_usable_size
Binary file ./third-party/wangle/libwangle.a matches
./third-party/wangle/CMakeLists.txt:12:# like malloc_usable_size() from either malloc.h
Binary file ./third-party/wangle/CMakeFiles/wangle.dir/src/wangle/concurrent/ThreadPoolExecutor.cpp.o matches
./third-party/webscalesqlclient/mysql-5.6/rocksdb/table/block.h:47: return malloc_usable_size(contents_.allocation.get());
./third-party/webscalesqlclient/mysql-5.6/rocksdb/util/arena.cc:187: blocks_memory_ += malloc_usable_size(block);
./third-party/webscalesqlclient/mysql-5.6/rocksdb/build_tools/build_detect_platform:312: # Test whether malloc_usable_size is available
./third-party/webscalesqlclient/mysql-5.6/rocksdb/build_tools/build_detect_platform:316: size_t res = malloc_usable_size(0);
./third-party/libsqlite3/sqlite3.c:15458:** the malloc_usable_size() interface exists
./third-party/libsqlite3/sqlite3.c:15483:** The MSVCRT