This file has been truncated, but you can view the full file.
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
var BABYLON; | |
(function (BABYLON) { | |
var Color3 = (function () { | |
function Color3(r, g, b) { | |
if (r === void 0) { r = 0; } | |
if (g === void 0) { g = 0; } | |
if (b === void 0) { b = 0; } | |
this.r = r; | |
this.g = g; | |
this.b = b; |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>three.js webgl - Video Cube UV Mapping</title> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> | |
<style> | |
body { | |
font-family: Monospace; |
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
//ES5, built from typescript | |
var testN = 12; | |
function firstNPrime_original(n) { | |
var i = 1, j = 0, k = 0; | |
var result = []; | |
while (++i && result.length != n) { | |
k = i; | |
j = 0; | |
while (--k) { | |
if (i % k == 0) |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom"> | |
<Folder> | |
<name>Rotunda</name> | |
<LookAt> | |
<longitude>-70.275892744</longitude> | |
<latitude>43.643763678</latitude> | |
<altitude>0.6973439480105</altitude> | |
<heading>338.6753641716</heading> | |
<tilt>85.92185372407</tilt> |
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
alias "l"="ls -alh" | |
alias "lg"="l | grep " | |
alias "hg"="history | grep " | |
# export PS1="\[\e[34;1m\][\$(date +%k:%M)\w]\$ \[\e[0m\]" | |
export SVN_EDITOR=vim | |
alias "st"="git status --untracked-files=no" | |
alias "di"="git diff ." | |
alias "r"="r --quiet" | |
alias "pyactivate"='source ./.venv/bin/activate && export CURRENT_VENV="${PWD##*/}"' |
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
#!/bin/bash | |
# | |
# sudo sh create.ubuntu.sh > results.txt 2>&1 | |
echo | |
echo "###############################################" | |
echo "###############################################" | |
echo "Starting script - $(date)" | |
sudo curl https://gist.githubusercontent.com/user01/ea1937bafe920f66d1455f24e65ee27d/raw/646cf86f912b95098f3a29af99a7bb4d18d437e1/.bash_aliases > ~/.bash_aliases | |
sudo curl https://gist.githubusercontent.com/user01/ea1937bafe920f66d1455f24e65ee27d/raw/646cf86f912b95098f3a29af99a7bb4d18d437e1/.tmux.conf > ~/.tmux.conf |
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 torch | |
from torch.autograd import Variable | |
import torch.nn as nn | |
import torch.nn.functional as F | |
import torch.optim as optim | |
EPOCHS_TO_TRAIN = 50000 | |
class Net(nn.Module): |
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
# -*- coding: utf-8 -*- | |
"""Find games from seed with certain cards""" | |
import argparse | |
from loveletter.game import Game | |
PARSER = argparse.ArgumentParser( | |
description='Find a game seed with desired card set ') |
OlderNewer