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
| """ | |
| The most atomic way to train and run inference for a GPT in pure, dependency-free Python. | |
| This file is the complete algorithm. | |
| Everything else is just efficiency. | |
| @karpathy | |
| """ | |
| import os # os.path.exists | |
| import math # math.log, math.exp |
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
| #!/usr/bin/env bash | |
| # | |
| # The bumbailiff allows the team to take up a small amount of technical debt | |
| # (TODOs in the code) for a limited period. After that period the script fails. | |
| # | |
| # Originally written by Aslak Hellesoy | |
| # | |
| set -ef -o pipefail | |
| IFS=$'\n' # make newlines the only separator |
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
| fastlane_version "1.94.0" | |
| default_platform :ios | |
| platform :ios do | |
| desc "Run Unity Editor tests" | |
| lane :test_unit do | |
| unity( | |
| run_editor_tests: true | |
| ) |
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
| (ns instagram | |
| "Functions to authenticate against Instagram's API. | |
| See http://instagram.com/developer/authentication/ for parameter details." | |
| (:require [clj-http.client :as client])) | |
| (defn create-auth-url [client-id redirect-uri] | |
| (str "https://api.instagram.com/oauth/authorize/?client_id=" client-id | |
| "&redirect_uri=" redirect-uri | |
| "&response_type=code")) |
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
| <div id="fb-root"></div> | |
| <script> | |
| (function() { | |
| window.fbAsyncInit = function() { | |
| FB.Event.subscribe('edge.create', function(response) { | |
| _gaq.push(['_trackSocial', 'facebook', 'like', response]); | |
| }); | |
| FB.Event.subscribe('edge.remove', function(response) { | |
| _gaq.push(['_trackSocial', 'facebook', 'unlike', response]); | |
| }); |
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
| Application to build and deploy | |
| https://github.com/grahambrooks/bvira | |
| Nodes | |
| ec2-72-44-36-76.compute-1.amazonaws.com <--- Tomcat?? | |
| ec2-184-73-9-162.compute-1.amazonaws.com<--- dead | |
| ec2-50-16-60-233.compute-1.amazonaws.com<--- Goserver |