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
:root { | |
--background-0: hsl(0, 0%, 12%); | |
--background-1: hsl(0, 0%, 18%); | |
--background-2: hsl(0, 0%, 23%); | |
--foreground-2: hsl(0, 0%, 50%); | |
--foreground-1: hsl(0, 0%, 75%); | |
--foreground-0: hsl(0, 0%, 95%); | |
--background-code: hsl(0, 0%, 10%); |
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
package fnt | |
import "core:mem" | |
import "core:fmt" | |
import "core:math" | |
import "core:time" | |
import rl "vendor:raylib" | |
import ttf "vendor:stb/truetype" |
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
package jss | |
import "core:fmt" | |
import "core:time" | |
import "core:mem" | |
import "core:math" | |
import "core:math/rand" | |
Task :: distinct int |
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
local Array = { | |
__tostring = function(self) | |
if #self == 0 then | |
return '[]' | |
end | |
local s = '[' | |
for _, v in ipairs(self) do | |
s = s .. tostring(v) .. ', ' | |
end | |
return s:sub(1, #s - 2) .. ']' |
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
[ | |
{ | |
"key": "ctrl+shift+r", | |
"command": "workbench.action.webview.reloadWebviewAction" | |
}, | |
{ | |
"key": "ctrl+s", | |
"command": "workbench.action.files.saveWithoutFormatting" | |
}, | |
{ |
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
package main | |
import ( | |
"fmt" | |
"time" | |
) | |
const BlocksPerDay = 48 | |
type Block struct { |
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
UEsDBBQAAgAIAOiCNFkXTSdwuAQAALQLAAAGABwALnZpbXJjVVQJAAOky+1mpMvtZnV4CwABBOgDAAAE6AMAAI1WUW/bNhB+16+4BnWVoHGbtHtIBUvD4HYt1q7DlqDbsK4rTZ0sxhTJkZScFPvxO1Ky4sxOswRReMeP3x2PxzsewLlojEQQSvgnnWjA18ynDrhuDPNiQVNr4Wt4jzrMMlXCB9EkiUQPy+yCLZz4gvk3g/zD21eOM4N5l3nbYpIcwGtUaJkEbbzQyiWOgErf0MeVjzwReW3ykbJXu1pUfi1KX/93phJS8ppZl6cdWp9BOjAvGF+1Jgq1KEtUccilMAvNbJm3SrEGSyPb3hfelDWKZe3z017WIR4eyd+8QdVqhcdKO5TI/QBQHJmU2KHMT6KKnEFUXJdCLfPWV9OzwZlaOmSW11EUim9LS6UtcuYwio1uHeYsjk3bbFw6GYhcrdeNLntsEChgUijMn0WNZM47z3zrBoVrmPUjuTNS+AVKvb4RbTCwYV8zE/YQRS8a1K2XqPKzk439VpV6RLSmZB4DLn8+IKI9oSjcG861FR63DkNpvDKUPuR4bwZts2wF11LbMSta67QN++oVbbNAO8xZlJQwHW4r47BPj+e9GxRVYmwblSs9OsJ6DyotywZ9rct8y9OgjWdJ8bM+f/GiJ+JWS6mrKj8biEu80Z32QQ67W9oQm7xkdpUk/Wag7aUDujTeruGnIfP7K6KC7q8VoimFhRxObukXTNF1gR09pTICBP3pLf1aqHAnSP/8JFh8i9cL2hzloUuqVvFg+QG4rGHmMOTPMYSDX6I9BhYnjxIAvELeegSWBQg8gTSEm5bAzNGZK19ASlqWDWsDYtD0JAmqcmMtScbF54ZxLGD2Xpti8Jr0ElmJNieGLZ3m4UaNEyPHz8Pqjfx2kBNRbZUb2sMBXNQInz8BKtdadLGO0QehTyqg4712oFXUhfsCoXyQ/7Qff22wJJLgxBCsVKTHkF6uwnf26nxefP6UHsE/u5DV |
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
-- Main colors | |
bg = '#121212', | |
bg_alt = '#222222', | |
bg_br = '#424242', | |
bg_br_alt = '#525252', | |
fg = '#ece7dd', | |
fg_alt = '#ecd9b2', |
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
// GLFW and OpenGL example with very verbose comments and links to documentation for learning | |
// By Soren Saket | |
// semi-colons ; are not requied in odin | |
// | |
// Every Odin script belongs to a package | |
// Define the package with the package [packageName] statement | |
// The main package name is reserved for the program entry point package | |
// You cannot have two different packages in the same directory |
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
;; Options for this config file | |
(defconst option/alternative-evil-esc (kbd "C-c")) | |
(defconst user/font "JetBrains Mono NL Light") | |
(defconst user/font-height 120) | |
(defconst user/theme 'modus-vivendi) | |
(defconst user/use-alt-window-navigation t) | |
;; Disable startup message, scrollbar, toolbar, menu bar and visual bell for a | |
;; cleaner UI. Also use smaller tab width | |
(setq inhibit-startup-message t) |
NewerOlder