Skip to content

Instantly share code, notes, and snippets.

View ivmos's full-sized avatar
💭
Hey there I’m using Github

Iván Mosquera ivmos

💭
Hey there I’m using Github
View GitHub Profile
@ivmos
ivmos / fiddle.html
Last active August 29, 2015 14:10
Intro to WebRTC: Let's get media!!
<video id="v"/>
@ivmos
ivmos / fiddle.html
Last active August 29, 2015 14:10
Intro to WebRTC: the offer
<video id="v"/>
@ivmos
ivmos / fiddle.html
Last active August 29, 2015 14:10
Intro to WebRTC: offer and pasting it to callee
<video id="v"/>
<video id="v"/>
@ivmos
ivmos / fiddle.html
Created November 25, 2014 17:54
Intro to WebRTC: offer, receive offer, create answer, receive answer
<video id="v" />
<video id="v"/>
@ivmos
ivmos / fiddle.html
Last active August 29, 2015 14:10
Intro WebRTC: XHR signaling example
<video id="v"/>
@ivmos
ivmos / fiddle.html
Last active August 29, 2015 14:10
Intro WebRTC: XHR signaling example, improved
<form>
My id: <input type="text" id="sessionId"/><br/>
Other id:
<select id="otherId"></select>
<br/>
<input type="button" value="Call &#9742;" id="call"/>
</form>
<video id="v" autoplay/>
#https://ivanmosquera.net/2017/05/15/implication-conditional-equivalence-and-biconditional-nl-and-programming-examples/
def conditional(a,b):
if a:
return b
#https://ivanmosquera.net/2017/05/15/implication-conditional-equivalence-and-biconditional-nl-and-programming-examples/
def conditional(a,b):
if a:
return b
print("\tp\tq\tp =>q")
for p in (True, False):
for q in (True, False):
print("%10s %10s %s" %(p,q, conditional(p, q)))