Skip to content

Instantly share code, notes, and snippets.

Chris Rebert cvrebert

View GitHub Profile
@cvrebert
cvrebert / wat.md
Last active Feb 11, 2016
HTML focus events
View wat.md
@cvrebert
cvrebert / build.log
Created Jan 5, 2016
HTML validator build log
View build.log
$ python ./build/build.py update dldeps build test
"git" submodule update --init
Submodule path 'jing-trang': checked out '35eb11b84a230ee4d7168f12f98a28bf40e940aa'
https://repo1.maven.org/maven2/com/ibm/icu/icu4j/54.1.1/icu4j-54.1.1.jar
https://repo1.maven.org/maven2/com/shapesecurity/salvation/1.0.3/salvation-1.0.3.jar
https://repo1.maven.org/maven2/commons-codec/commons-codec/1.10/commons-codec-1.10.jar
https://repo1.maven.org/maven2/commons-fileupload/commons-fileupload/1.3.1/commons-fileupload-1.3.1.jar
https://repo1.maven.org/maven2/commons-io/commons-io/2.4/commons-io-2.4.jar
https://repo1.maven.org/maven2/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
https://repo1.maven.org/maven2/commons-logging/commons-logging/1.2/commons-logging-1.2-adapters.jar
@cvrebert
cvrebert / log.txt
Created Nov 7, 2015
Build transcript for libsass issue #1523
View log.txt
~/Downloads/tmp/sassc (master) $ make
/Applications/Xcode.app/Contents/Developer/usr/bin/make BUILD="static" -C /Users/chris/Downloads/tmp/libsass
mkdir lib
cc -Wall -O2 -DLIBSASS_VERSION="\"d188\"" -I /Users/chris/Downloads/tmp/libsass/include -stdlib=libc++ -fPIC -fPIC -c -o src/cencode.o src/cencode.c
c++ -Wall -O2 -DLIBSASS_VERSION="\"d188\"" -std=c++0x -I /Users/chris/Downloads/tmp/libsass/include -stdlib=libc++ -fPIC -fPIC -c -o src/ast.o src/ast.cpp
In file included from src/ast.cpp:1:
src/ast.hpp:2082:18: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
if (typeid(*(*this)[0]) == typeid(Type_Selector))
^
src/ast.hpp:2101:21: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
@cvrebert
cvrebert / bootstrapish.css
Created Oct 16, 2015
WebKit/Blink bug related to Bootstrap issue #17913
View bootstrapish.css
/*!
* Simplified from Bootstrap v3.3.5 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css
*/
b,
strong {
font-weight: bold;
}
@cvrebert
cvrebert / gist:e453cf70678c7dce5a83
Created Aug 3, 2015
bootstrap-sass #941 counterexample
View gist:e453cf70678c7dce5a83
$ npm install bower grunt grunt-contrib-sass
<snipped successful installation>
$ ./node_modules/.bin/bower install bootstrap-sass
bower bootstrap-sass#* cached git://github.com/twbs/bootstrap-sass.git#3.3.4
bower bootstrap-sass#* validate 3.3.4 against git://github.com/twbs/bootstrap-sass.git#*
bower bootstrap-sass#* new version for git://github.com/twbs/bootstrap-sass.git#*
bower bootstrap-sass#* resolve git://github.com/twbs/bootstrap-sass.git#*
bower bootstrap-sass#* download https://github.com/twbs/bootstrap-sass/archive/v3.3.5.tar.gz
bower bootstrap-sass#* extract archive.tar.gz
bower bootstrap-sass#* resolved git://github.com/twbs/bootstrap-sass.git#3.3.5
@cvrebert
cvrebert / dist-files.log
Created Jun 16, 2015
bootstrap v3.3.5 and bower
View dist-files.log
$ bower install bootstrap
bower bootstrap#* not-cached git://github.com/twbs/bootstrap.git#*
bower bootstrap#* resolve git://github.com/twbs/bootstrap.git#*
bower bootstrap#* download https://github.com/twbs/bootstrap/archive/v3.3.5.tar.gz
bower bootstrap#* progress received 2.9MB of 3.1MB downloaded, 94%
bower bootstrap#* extract archive.tar.gz
bower bootstrap#* resolved git://github.com/twbs/bootstrap.git#3.3.5
bower jquery#>= 1.9.1 cached git://github.com/jquery/jquery.git#2.1.4
bower jquery#>= 1.9.1 validate 2.1.4 against git://github.com/jquery/jquery.git#>= 1.9.1
bower bootstrap#~3.3.5 install bootstrap#3.3.5
View gist:c8575aced21ff59901f6
Index: appe.xml
===================================================================
--- appe.xml (revision 2813)
+++ appe.xml (working copy)
@@ -8,7 +8,7 @@
bugs. They're still good instructions, and are referenced from <xref
linkend="users-to-volunteers"/><phrase output="printed"> in <xref
linkend="managing-volunteers"/></phrase>. But as they are a living
-document, I felt it didn't make sense to include a frozen snaphot of
+document, I felt it didn't make sense to include a frozen snapshot of
@cvrebert
cvrebert / npm-ls.txt
Created Apr 26, 2015
npm-shrinkwrap portion of `npm ls`
View npm-ls.txt
bootstrap@3.3.4 /Users/chris/code/bootstrap
├─┬ npm-shrinkwrap@200.4.0
│ ├── array-find@0.1.1
│ ├─┬ error@4.4.0
│ │ ├── camelize@1.0.0
│ │ └── xtend@4.0.0
│ ├─┬ json-diff@0.3.1
│ │ ├─┬ cli-color@0.1.7
│ │ │ └── es5-ext@0.8.2
│ │ ├─┬ difflib@0.2.4
@cvrebert
cvrebert / Main.java
Created Apr 14, 2015
Trying to get createdAt of an MkComment throws IllegalStateException
View Main.java
import java.io.IOException;
import java.util.Date;
import com.jcabi.github.*;
import com.jcabi.github.mock.*;
public class Main {
public static void main(String[] args) throws IOException {
Github gh = new MkGithub("mock_gh");
Comment cmt = gh
.repos().create(javax.json.Json.createObjectBuilder().add("name", "foobar").build())
@cvrebert
cvrebert / Main.java
Created Apr 13, 2015
jcabi MkGithub example code no longer compiles
View Main.java
package qux;
import java.io.IOException;
import com.jcabi.github.*;
import com.jcabi.github.mock.*;
public class Main {
public static void main(String[] args) {
Github github = null;
try {
You can’t perform that action at this time.