Is easy to learn and simple to implement
Leave empty line for a new paragraph.
Consecutive lines of text will continue by default, and they will be wrapped
function Person(/* whatever args your gonna have*/) { | |
this.onSave_ = this.onSave.bind( this ); | |
this.onSetAge_ = this.onSetAge.bind( this ); | |
} | |
Person.prototype.save = function() { | |
this.database.insert( this.properties, this.onSave_ ); | |
}; | |
Person.prototype.setAge = function( newAge ) { | |
this.constructor.validate( "age", this, newAge, this.onSetAge_ ); |
/** | |
* IE 5.5+, Firefox, Opera, Chrome, Safari XHR object | |
* | |
* @param string url | |
* @param object callback | |
* @param mixed data | |
* @param null x | |
*/ | |
function ajax(url, callback, data, x) { | |
try { |
"Bug ba-design, zayin ba-debug" (Hebrew: באג בדיזיין, זין בדיבאג)
I feel sorry for the majority here - non-Israelis who can't get this joke - because it's truly one of the funniest things I've heard in a while. It is a clever play on words, even though it mixes English and Hebrew and isn't all that grammatically correct (it's not even a complete sentence). Remarkably, it is a fact of life as well.
The word zayin (slang for "dick" in Hebrew, pronounced similarly to "sign" in "design") has some of the connotations the word shit has in English. The phrase, therefore, can be translated as "A bug in the design (is) shit in the debugging" or "A bug in the design (is) shit to debug". Another way to interpret this usage of "zayin" is as a shorthand for "lekabel zayin" (lit. "to get dick" - to get screwed; carries very rude connotations), and then a loose translation could be "If there's a bug in the design, you get screwed when you debug".
The original writeup above (which is no longer with us) said this was a com
// Copy paste into your chrome console to periodically hide any comments containing זהות. | |
setInterval(()=>{Array(...document.getElementsByTagName('span')).filter(c=>c.textContent.includes('זהות')).forEach(c=>{c.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.style.display = 'none';});}, 500); |
// To see this run, you first stub out these imports. Then put the file in a Uint8Array. | |
// let slice = new Slice(array); | |
// let font = new OTFFont(slice); | |
// Then you can call methods like font.drawText(canvasContext, ) | |
// | |
// | |
import { ICanvasContext } from "./ICanvasContext" | |
import { log as Log } from "./log" | |
const log = Log.create("OPENTYPE"); |