Skip to content

Instantly share code, notes, and snippets.

1048primaryKey
1049primaryKey
1050primaryKey
1051primaryKey
1052primaryKey
1053primaryKey
115primaryKey
1162primaryKey
1163primaryKey
1164primaryKey
module.exports = function(hljs) {
return {
case_insensitive: true,
lexemes: '[.%]?' + hljs.IDENT_RE,
keywords: {
keyword:
'lock rep repe repz repne repnz xaquire xrelease bnd nobnd ' +
'aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw
@bdefore
bdefore / auth.js
Created October 6, 2015 10:36 — forked from insin/auth.js
Redux auth duck
var {handleResponse} = require('.utils')
var {setErrorMessages} = require('./messages')
var CHECK_TOKEN = 'auth/CHECK_TOKEN'
var CHECK_TOKEN_FAILURE = 'auth/CHECK_TOKEN_FAILURE'
var CHECK_TOKEN_SUCCESS = 'auth/CHECK_TOKEN_SUCCESS'
var LOGIN = 'auth/LOGIN'
var LOGIN_FAILURE = 'auth/LOGIN_FAILURE'
# built application files
*.apk
*.ap_
# files for the dex VM
*.dex
# Java class files
*.class
// . must match a single character
// * may match zero or more characters
// a-z must match that character
// order matters
assert(".", "a", true);
assert("..", "aa", true);
assert("..", "a", false);
assert("abc", "abc", true);
assert("ab", "abc", false);
→ mrt
Stand back while Meteorite does its thing
Done installing smart packages
Ok, everything's ready. Here comes Meteor!
[[[[[ ~/Documents/code/meteor/template-data ]]]]]
<template name="foo">
<img src="{{imagePath}}">
</template>
bdefore: ~/Documents/code/hover/casperjs-webgl
→ casperjs test --log-level=debug googletesting.js
Test file: googletesting.js
FAIL TypeError: 'undefined' is not a function (evaluating 'casper.test.begin')
# type: uncaughtError
# error: "TypeError: 'undefined' is not a function (evaluating 'casper.test.begin')"
TypeError: 'undefined' is not a function (evaluating 'casper.test.begin')
/Users/bdefore/Documents/code/hover/casperjs-webgl/googletesting.js:22
FAIL 1 tests executed in 0.012s, 0 passed, 1 failed.
[2013-01-23T11:25:00.023] [42127] FATAL <root> - Redis::CommandError - ERR wrong number of arguments for 'srandmember' command:
(gem) redis-3.0.2/lib/redis/client.rb:85:in `Redis::Connection::Ruby#format_error_reply'
(gem) newrelic-redis-1.4.0/lib/newrelic_redis/instrumentation.rb:41:in `block in Redis::Connection::Ruby#format_reply'
(gem) newrelic_rpm-3.5.5.38/lib/new_relic/agent/method_tracer.rb:240:in `Redis::Connection::Ruby#read'
(gem) newrelic-redis-1.4.0/lib/newrelic_redis/instrumentation.rb:37:in `Redis::Client#read'
config/initializers/redis.rb:32:in `block in Redis::Client#io'
(gem) redis-3.0.2/lib/redis.rb:36:in `block in Redis::Client#read'
/Users/d4/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/monitor.rb:211:in `Redis::Client#call'
(gem) redis-3.0.2/lib/redis.rb:36:in `Redis::Client#process'
config/initializers/redis.rb:31:in `Redis::Client#ensure_connected'
[2012-11-07 11:58:05] make
making all in crypto...
( echo "#ifndef MK1MF_BUILD"; \
echo ' /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \
echo ' #define CFLAGS "/usr/local/bin/gcc-4.2 -fPIC -fno-common -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -I/Users/d4/.rvm/usr/include -arch x86_64 -O3 -DL_ENDIAN -Wall"'; \
echo ' #define PLATFORM "darwin64-x86_64-cc"'; \
echo " #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
echo '#endif' ) >buildinf.h
/usr/local/bin/gcc-4.2 -I. -I.. -I../include -fPIC -fno-common -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -I/Users/d4/.rvm/usr/include -arch x86_64 -O3 -DL_ENDIAN -Wall -c -o cryptlib.o cryptlib.c
In file included from cryptlib.c:117: