Skip to content

Instantly share code, notes, and snippets.

View PentaHelix's full-sized avatar

Jakob Kuen PentaHelix

View GitHub Profile
f2 = lambda x : 1/(1+x**2)
lam_cheb = []
lam_unif = []
ns = range(5,45,5)
for n in ns:
x_unif = [5*(-1 + 2*i/n) for i in range(n+1)]
x_cheb = chebyshev(-5, 5, n)
y_unif = [f2(x) for x in x_unif]
Check of character set / codepage inconistency at PDF generation
The error message "PPPD9026E: Character definition UNIC0009 is missing from C0COUN90 characterset"
or "PPPD9026E;"Character definition 09 is missing from T1GI0361 characterset." (since v080724.v620)
indicate that the character referenced with codepoint "UNIC0009" (older message) resp. decimal code
"09" (newer message; decimal code, e.g. 64 refers to x"40" which usually refers to the space character
frequently defined as default character in AFP fonts) is not defined in the character set. In this sample
the error refers to the control character "TAB". In many cases the control characters located in the line
data and taken over into AFP text are the reason for this message. Therefore the solution in such cases is
to remove the control characters from the input data.
Note: Different behavior between older and newer versions: The default behavior was improved.
// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://github.com/*/*/stargazers*
// @grant window.close
// @grant GM_getValue
// @grant GM_setValue
// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://github.com/search*
// @grant window.close
// @grant GM_getValue
// @grant GM_setValue
// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://github.com/*/*/issues*
// @grant window.close
// @grant GM_getValue
// @grant GM_setValue

Keybase proof

I hereby claim:

  • I am pentahelix on github.
  • I am jakobkuen (https://keybase.io/jakobkuen) on keybase.
  • I have a public key ASCQdC7Bob6on_YcjIEY88RGyvA3nRWRaaS_x04WtLCAqgo

To claim this, I am signing this object:

TypeError: Cannot read property 'username' of undefined
at Alias.maybeSetUpDomain (C:\snapshot\now-cli\dist\now.js:4113:138)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
function init()
setName("Ngon")
setDesc("Generates a regular polygon")
setSize(100, 24+64+8+8+18+7+4)
addOutput(24+32)
addParameter("Sides", "Side Count", 24+64+8+8, 3, 3, 10)
addParameter("Angle", "Rotation of Polygon", 24+64+8+8+18, 0, 0, 360)
end
function apply()