This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Α-ΠΟ-ΚΑ-ΛΥ-ΨΙΣ Ι-Η-ΣΟΥ ΧΡΙ-ΣΤΟΥ ΗΝ Ε-ΔΩ-ΚΕΝ ΑΥ-ΤΩ | |
Ο ΘΕ-ΟΣ ΔΕΙ-ΞΑΙ ΤΟΙΣ ΔΟΥ-ΛΟΙΣ ΑΥ-ΤΟΥ Α ΔΕΙ ΓΕ-ΝΕ-ΣΘΑΙ ΕΝ | |
ΤΑ-ΧΕΙ ΚΑΙ Ε-ΣΗ-ΜΑ-ΝΕΝ Α-ΠΟ-ΣΤΕΙ-ΛΑΣ ΔΙ-Α ΤΟΥ ΑΓ-ΓΕ- | |
ΛΟΥ ΑΥ-ΤΟΥ ΤΩ ΔΟΥ-ΛΩ ΑΥ-ΤΟΥ Ι-Ω-ΑΝ-ΝΗ ΟΣ Ε-ΜΑΡ-ΤΥ- | |
ΡΗ-ΣΕΝ ΤΟΝ ΛΟ-ΓΟΝ ΤΟΥ ΘΕ-ΟΥ ΚΑΙ ΤΗΝ ΜΑΡ-ΤΥ-ΡΙ-ΑΝ Ι-Η- | |
ΣΟΥ ΧΡΙ-ΣΤΟΥ Ο-ΣΑ ΤΕ ΕΙ-ΔΕΝ ΜΑ-ΚΑ-ΡΙ-ΟΣ Ο Α-ΝΑ-ΓΙ- | |
ΝΩ-ΣΚΩΝ ΚΑΙ ΟΙ Α-ΚΟΥ-ΟΝ-ΤΕΣ ΤΟΥΣ ΛΟ-ΓΟΥΣ ΤΗΣ ΠΡΟ-ΦΗ-ΤΕΙ-ΑΣ | |
ΚΑΙ ΤΗ-ΡΟΥΝ-ΤΕΣ ΤΑ ΕΝ ΑΥ-ΤΗ ΓΕ-ΓΡΑΜ-ΜΕ-ΝΑ Ο ΓΑΡ ΚΑΙ-ΡΟΣ | |
ΕΓ-ΓΥΣ Ι-Ω-ΑΝ-ΝΗΣ ΤΑΙΣ Ε-ΠΤΑ ΕΚ-ΚΛΗ-ΣΙ-ΑΙΣ ΤΑΙΣ ΕΝ ΤΗ | |
Α-ΣΙ-Α ΧΑ-ΡΙΣ Υ-ΜΙΝ ΚΑΙ ΕΙ-ΡΗ-ΝΗ Α-ΠΟ ΤΟΥ Ο ΩΝ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defclass MyApp [object] | |
(defn --init-- [self &kwargs args] | |
(setv self.routes {})) | |
(defn route [self route-str &kwargs args] | |
(fn [f] | |
(do (assoc self.routes route-str f) | |
f)))) | |
(setv app (MyApp)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Geometrical representation of square of pi? | |
a) Let's say I have a circle with a diameter $1$. Then a perimeter is $π$ (pi) and ratio between a perimeter and a diameter is $π$. | |
[![PI][1]][2] | |
b) I want to use π as a diameter of another circle, which gives a perimeter of $π*π = π^2$ and a ratio $\frac{π^2}{π} = π$. | |
[![PI squared][2]][1] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##Decimal expansion and notation | |
###Background | |
For David's response on: | |
http://math.stackexchange.com/questions/1371400/four-mathematical-notations-for-fraction-1-999-and-how-to-show-present-they-ar/1372077#1372077 | |
I want to explain background of the numerical musings, which I was already pondering on other topics like: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from IPython.core.magic import register_line_magic | |
from IPython.display import HTML | |
from tagpy import helper as h, table | |
@register_line_magic | |
def runtests(line): | |
""" | |
The %runtests magic searches your IPython namespace for functions | |
with names that begin with 'test'. It will attempt to run these | |
functions (calling them with no arguments), and report whether they |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root.load = (apis) -> | |
for api in apis | |
eval('root.'+api+' = require("./widgets/'+api+'").'+api) | |
return this |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spun = (msg) -> | |
timestamp = gmdatenow() | |
signature = get_signature(host, path, secret_key, access_key, timestamp, version) | |
msg.http(scheme + "://" + host + path) | |
.query | |
timestamp: timestamp | |
version: version | |
access_key: access_key | |
signature: signature | |
type: 'json' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spun = (msg) -> | |
msg.http("http://api.spinnerchief.com:9001/") | |
.query | |
wordquality: 9 | |
wordscount: 3 | |
api_key: env.HUBOT_SPINNERCHIEF_API_KEY | |
username: env.HUBOT_SPINNERCHIEF_USERNAME | |
password: env.HUBOT_SPINNERCHIEF_PASSWORD | |
.post(msg.match[1]) (err, res, body) -> | |
if err |
NewerOlder