Skip to content

Instantly share code, notes, and snippets.

View lorensr's full-sized avatar

Loren ☺️ lorensr

View GitHub Profile
Verifying that +loren is my openname (Bitcoin username). https://onename.io/loren
$ curl --verbose https://dl-ssl.google.com/android/repository/repository-10.xml | pbcopy
* Hostname was NOT found in DNS cache
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 74.125.129.91...
* Connected to dl-ssl.google.com (74.125.129.91) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
* Server certificate: *.google.com
* Server certificate: Google Internet Authority G2
> location.reload()
< undefined
[Error] Deprecated attempt to access property 'userAgent' on a non-Navigator object.
(anonymous function) (logging.js, line 345)
global code (logging.js, line 354)
[Error] Deprecated attempt to access property 'userAgent' on a non-Navigator object.
(anonymous function) (random.js, line 256)
global code (random.js, line 300)
[Error] Deprecated attempt to access property 'userAgent' on a non-Navigator object.
_launchConnection (ddp.js, line 2698)
```
Server listening on 0.0.0.0 port 22.
debug2: fd 4 setting O_NONBLOCK
debug3: sock_set_v6only: set socket 4 IPV6_V6ONLY
debug1: Bind to port 22 on ::.
Server listening on :: port 22.
debug3: fd 5 is not O_NONBLOCK
debug1: Server will not fork when running in debugging mode.
debug3: send_rexec_state: entering fd = 8 config len 683
debug3: ssh_msg_send: type 0
import { mockServer, MockList } from 'graphql-tools';
import casual from 'casual-browserify';
// customize mocking per type (i.e. Integer, Float, String)
mockServer(schema, {
Int: () => 6,
Float: () => 22.1,
String: () => 'Hello',
});

Keybase proof

I hereby claim:

  • I am lorensr on github.
  • I am lorensr (https://keybase.io/lorensr) on keybase.
  • I have a public key whose fingerprint is 356A 3B12 19AC E975 2FFF 4423 6EF7 6787 12F6 9A11

To claim this, I am signing this object:

macbook:todos me$ git:(master) 5M DEBUG=nightmare:*,electron:* TEST_BROWSER_VISIBLE=1 TEST_BROWSER_DRIVER=nightmare meteor test --once --driver-package dispatch:mocha
[[[[[ Tests ]]]]]
=> Started proxy.
=> Started MongoDB.
W20170331-20:05:34.861(-4)? (STDERR) Note: you are using a pure-JavaScript implementation of bcrypt.
W20170331-20:05:35.301(-4)? (STDERR) While this implementation will work correctly, it is known to be
W20170331-20:05:35.301(-4)? (STDERR) approximately three times slower than the native implementation.
W20170331-20:05:35.302(-4)? (STDERR) In order to use the native implementation instead, run
W20170331-20:05:35.303(-4)? (STDERR)
@lorensr
lorensr / css-checkbox.sass
Created December 16, 2011 03:52
Webkit custom checkbox made from CSS only - no image
$input-size: 1.25em
$check-size: $input-size / 6
$r-check-scale: 4
$r-check-trans: (($r-check-scale - 1) / 2) * $check-size
$l-check-scale: 2.6
$l-check-trans: (($l-check-scale - 1) / 2) * $check-size
@media screen and (-webkit-min-device-pixel-ratio:0)
input, textarea, select
-webkit-appearance: none
@lorensr
lorensr / contributor-agreement.md
Last active June 23, 2018 02:23
Contributor Agreement

GraphQL Guide Contributor Agreement

This GraphQL Guide Contributor Agreement (this "Agreement") applies to any Contribution you make to any Work.

This is a binding legal agreement on you and any organization you represent. If you are signing this Agreement on behalf of your employer or other organization, you represent and warrant that you have the authority to agree to this Agreement on behalf of the organization.

1. Definitions

"Contribution" means any original work, including any modification of or addition to an existing work, that you submit to The GraphQL Guide in any manner for inclusion in any Work.

hcp-repro $ meteor run android-device --mobile-server "192.168.0.189:3000"
[[[[[ ~/jobs/hcp-repro ]]]]]
=> Started proxy.
WARNING: Attempting to install plugin cordova-plugin-statusbar@2.2.1, but it should have a minimum version of 2.3.0 to ensure compatibility with the
current platform versions. Installing the minimum version for convenience, but you should adjust your dependencies.
WARNING: Attempting to install plugin cordova-plugin-splashscreen@4.0.1, but it should have a minimum version of 4.1.0 to ensure compatibility with the
current platform versions. Installing the minimum version for convenience, but you should adjust your dependencies.
=> Started MongoDB.
Subproject Path: CordovaLibns [=========== ] 40% 8.4s