Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@robrich
robrich / AuthorApi.js
Last active October 15, 2018 22:21
Move from promises to async/await
import delay from './delay';
import { authors } from './authorData'
//This would be performed on the server in a real app. Just stubbing in.
let maxid = authors.reduce(((currentMax, {id}) => currentMax>id ? currentMax : id), 0 );
const generateId = (author) => {
return ++maxid;
};
@robrich
robrich / hammerhead-from-lrx21o-to-lrx22c.md
Last active August 29, 2015 14:12 — forked from eyecatchup/hammerhead-from-lrx21o-to-lrx22c.md
@jonmcoe is right, it's trivial to get into stock recovery's options
  UPDATE `NEXUS 5` 
     SET `VERSION`='5.0.1', `BUILD`='LRX22C', `RECOVERY`='CUSTOM', `ROOTED`=1 
   WHERE `VERSION`='5.0' && `BUILD`='LRX21O' && `RECOVERY`='CUSTOM' && `ROOTED`=1 
         && `WANNA_KEEP_USERDATA`=1;

A manual OTA for rooted hammerheads, quasi.

@robrich
robrich / hammerhead-from-lrx21o-to-lrx22c.md
Last active August 29, 2015 14:12 — forked from eyecatchup/hammerhead-from-lrx21o-to-lrx22c.md
@jonmcoe is right: it's trivial to get into recovery mode from the stock recovery
  UPDATE `NEXUS 5` 
     SET `VERSION`='5.0.1', `BUILD`='LRX22C', `RECOVERY`='CUSTOM', `ROOTED`=1 
   WHERE `VERSION`='5.0' && `BUILD`='LRX21O' && `RECOVERY`='CUSTOM' && `ROOTED`=1 
         && `WANNA_KEEP_USERDATA`=1;

A manual OTA for rooted hammerheads, quasi.