This file contains 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
// import jax | |
// import jax.numpy as jnp | |
// from jax.experimental.export import export | |
// | |
// def f(a,b): | |
// return jnp.add(a,b) | |
// | |
// lhs = jax.ShapeDtypeStruct(export.symbolic_shape("a,10"), np.float32) | |
// rhs = jax.ShapeDtypeStruct(export.symbolic_shape("1"), np.float32) | |
// export.export(f)(polyA, poly2A) |
This file contains 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
# Useful script for detaching the screen of Surface Book. | |
# Run if detach light blinks red indicating that it cannot be detached | |
# since applications are preventing the detach. | |
# | |
# Option 1: Copy-paste into powershell window. | |
# | |
# Option 2: Run as PowerShell script (requires execution policy change): | |
# https://superuser.com/questions/106360/how-to-enable-execution-of-powershell-scripts | |
# | |
Try { |
This file contains 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
<div id="player"></div> | |
<div style="float: left; width: 50%;"> | |
<div id="video-chat" hidden="true" style="margin-bottom: 10px;"> | |
<div id="vid-box"></div> | |
<button onclick="end()">End Call</button> | |
</div> | |
<form name="loginForm" id="login" action="#" onsubmit="return login(this);"> | |
<input type="text" name="username" id="username" placeholder="Enter A Username"/> | |
<input type="submit" name="login_submit" value="Log In"> |
This file contains 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
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> | |
<script src="https://cdn.pubnub.com/pubnub-3.7.14.min.js"></script> | |
<script src="https://cdn.pubnub.com/webrtc/webrtc.js"></script> |
This file contains 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
<div id="tic-tac-box" style="float: left; width: 47%;"></div> | |
<div style="float: left; width: 50%;"> | |
<div id="video-chat" hidden="true"> | |
<div id="vid-box"></div> | |
<button onclick="end()">End Call</button> | |
</div> | |
<form name="loginForm" id="login" action="#" onsubmit="return login(this);"> | |
<input type="text" name="username" id="username" placeholder="Enter A Username"/> | |
<input type="submit" name="login_submit" value="Log In"> | |
</form> |
This file contains 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
<uses-feature android:name="android.hardware.camera" /> | |
<uses-feature android:name="android.hardware.camera.autofocus" /> | |
<uses-feature | |
android:glEsVersion="0x00020000" | |
android:required="true" /> | |
<uses-permission android:name="android.permission.CAMERA" /> | |
<uses-permission android:name="android.permission.RECORD_AUDIO" /> | |
<uses-permission android:name="android.permission.INTERNET" /> | |
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | |
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> |
This file contains 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
<div id="vid-box"><!-- Stream goes here --></div> | |
<form name="streamForm" id="stream" action="#" onsubmit="return stream(this);"> | |
<input type="text" name="streamname" id="streamname" placeholder="Pick a stream name!" /> | |
<input type="submit" name="stream_submit" value="Stream"> | |
<div id="stream-info">Watching: <span id="here-now">0</span></div> | |
</form> | |
<form name="watchForm" id="watch" action="#" onsubmit="return watch(this);"> | |
<input type="text" name="number" placeholder="Enter stream to join!" /> |
This file contains 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
<div id="vid-box"></div> | |
<div id="vid-thumb"></div> | |
<form name="loginForm" id="login" action="#" onsubmit="return login(this);"> | |
<input type="text" name="username" id="username" placeholder="Pick a username!" /> | |
<input type="submit" name="login_submit" value="Log In"> | |
</form> | |
<form name="callForm" id="call" action="#" onsubmit="return makeCall(this);"> |
This file contains 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
<div id="vid-box"></div> | |
<form name="loginForm" id="login" action="#" onsubmit="return login(this);"> | |
<input type="text" name="username" id="username" placeholder="Pick a username!" /> | |
<input type="submit" name="login_submit" value="Log In"> | |
</form> | |
<form name="callForm" id="call" action="#" onsubmit="return makeCall(this);"> | |
<input type="text" name="number" placeholder="Enter user to dial!" /> | |
<input type="submit" value="Call"/> |
This file contains 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
<link rel="import" href="paper-fab"> | |
... | |
<paper-fab icon="send"></paper-fab> |
NewerOlder