View _react-iterateIiHocChildren.js
render() {
const view = super.render()
// if (elementsTree && elementsTree.type === 'input') {
// newProps = {value: 'may the force be with you'}
// }
// depth first - stack - last in first out
// iterate depth first until a Field is found
const fields = [];
const elements = [view]; // stack
View urdu-alfaz.txt
bauli - well
balti - bucket
mushak (?) - leather water bag large
chuprasi - errand man
parcha - magazine
shaukeen - fan of
pasandida - favorite
dharmiyan - same as bheech
ghut - strong or tight
View _ff-addon-snippet-playSound.js
function audioContextCheck() {
if (typeof Services.appShell.hiddenDOMWindow.AudioContext !== 'undefined') {
return new Services.appShell.hiddenDOMWindow.AudioContext();
} else if (typeof Services.appShell.hiddenDOMWindow.mozAudioContext !== 'undefined') {
return new Services.appShell.hiddenDOMWindow.mozAudioContext();
} else {
throw new Error('AudioContext not supported');
}
}
View regex_patt_release.md

Find: ^.*?console\.(warn|info|log|error|exception).*?$ Replace with: ``

View _es6-BFS-DFS.js
// getChildren(win) - returns array of windows that are child to `win`
// isTrue(win) - just a random callback
function recurseDFS(win) {
// depth first
let coll = [];
coll.push(isTrue(win));
let children = getChildren(win);
for (let child of children) {
coll.push(...recurseDFS(child));
View vscode-deficiencies-rel-atom.md

Editor

  • tab sanity ("Atomic Soft Tabs")
  • find, find/replace, in all files in dir, not just buffer
  • expand selection should not include quotes
  • going to matching bracket, should go to the nearest bracket if its not at a bracket
  • atom does not have scroll up/down pgup/pgdown while not moving cursor - TODO: get ext
  • atom does not remember/restore last line/highlgiht on restore of file - TODO: get ext

Extensions

  • auto install
View Cannot use string to access properties.txt
I am getting an error in the following.
const SET = {
'simple-line-icons': {
foo: ...
}
};
export type IconName = $Keys<typeof SET['simple-line-icons']>
View _ff-addon-snippet-GetArgs.js
Cu.import('resource://gre/modules/ctypes.jsm');
var objc = ctypes.open(ctypes.libraryName('objc'));
// BASIC TYPES
var CHAR = ctypes.char;
var ID = ctypes.voidptr_t;
var SEL = ctypes.voidptr_t;
var BOOL = ctypes.signed_char;
var NSUINTEGER = ctypes.unsigned_long;
var NSBUNDLE = ctypes.voidptr_t;