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
| # portal_server | |
| sqlx db reset | |
| sqlx migrate run | |
| # registry_service | |
| yarn reset |
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
| pkill kubectl | |
| kubectl config use-context craig.frost-dev.k8s.ditto.live | |
| # If auth error, get new cert at https://login.dev.k8s.ditto.live | |
| vcluster delete vk8s --namespace craig-frost | |
| kubectl delete ns craig-frost | |
| cd Developer/cloud-services | |
| source .env | |
| ./scripts/deploy.sh prep | |
| # OR | |
| CLOUD_VERSION=ci-2985-6171-bcf43c PERSISTENCE_STORAGE_SIZE=10Gi ./scripts/deploy.sh |
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
| import api, { route } from "@forge/api"; | |
| const fetchSpaces = async () => { | |
| const res = await api.asApp().requestConfluence(route`/wiki/rest/api/space?type=global`, { | |
| headers: { | |
| 'Accept': 'application/json' | |
| } | |
| }); | |
| const data = await res.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
| Results | |
| Waves -> Waves | |
| Waves | |
| Create -> Review | |
| Open -> Open | |
| Upcoming -> Upcoming | |
| Closed -> Closed | |
| Results -> Results | |
| Open | |
| Collecting |
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
| const cssBeams = ` | |
| .hljs { | |
| display: block; | |
| color: #FFFFFF; | |
| line-height: 1.65; | |
| } | |
| .hljs-comment, | |
| .hljs-quote { | |
| color: #95a0ba; |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| <style id="jsbin-css"> | |
| html { | |
| font-family: sans-serif; | |
| } |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| <style id="jsbin-css"> | |
| html { | |
| font-family: sans-serif; | |
| } |
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
| <ul class="bitcss-nav"> | |
| <li class="bitcss-nav__item"><a href="/">Archive</a> | |
| </li> | |
| <li class="bitcss-nav__item"><a href="/">About</a> | |
| </li> | |
| <li class="bitcss-nav__item"><a href="/">Contact</a> | |
| </li> |
NewerOlder