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 STARTING_SIZE = getWidth(); | |
| const MIN_SIZE = 5; | |
| const CENTER_X = getWidth()/2; | |
| const CENTER_Y = getHeight()/2; | |
| let parentSideLength; | |
| function start() { | |
| drawFigure(STARTING_SIZE, MIN_SIZE); |
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 lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>Axcelott</title> | |
| <style> | |
| :root { |
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
| 5 gosub 3000 | |
| 10 input "pick word"; wo$ | |
| 15 gosub 3000 | |
| 20 gu$="" | |
| 30 wrng$="" | |
| 40 li%=10 | |
| 50 rem initial value for guess. | |
| 60 for i = 1 to len(wo$) |
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
| defmodule Model do | |
| @doc """ | |
| A function that given the current value calculates the | |
| difference between the current and next value. | |
| """ | |
| @type t :: (value() -> dvalue()) | |
| @doc """ | |
| The value the model will mutate. | |
| """ |
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
| let element = window; | |
| Object.keys(window).forEach((key) => { | |
| if (/^on/.test(key)) { | |
| element.addEventListener(key.slice(2), (event) => { | |
| if(event.type.includes("mouse") || event.type.includes("pointer") || event.type.includes("key")) return; | |
| console.log(event); | |
| }); | |
| } | |
| }); |
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
| #!/bin/sh | |
| # Script to copy files from GCS bucket to Bunny(.net) Storage. | |
| # This script assumes you're logged into the `gcloud` cli, and | |
| # that all the files are at the top-level of the bucket and/or zone. | |
| # Usage: | |
| # ./copy.sh <BUCKET> <ZONE> <PASSWORD> [FLAGS] | |
| # Arguments: | |
| # $1: GCS bucket ID |
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
| #!/bin/sh | |
| # Script to copy files from GCS bucket to Bunny(.net) Storage. | |
| # This script assumes you're logged into the `gcloud` cli, and | |
| # that all the files are at the top-level of the bucket and/or zone. | |
| # Usage: | |
| # ./copy.sh <BUCKET> <ZONE> <PASSWORD> [FLAGS] | |
| # Arguments: | |
| # $1: S3 bucket ID |
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
| { | |
| "dependencies": { | |
| "axios": "^1.4.0" | |
| } | |
| } |
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
| .organization.profile .ui.container:first-child { | |
| margin: 38px auto; | |
| } | |
| .organization.profile p:empty { | |
| display: none; | |
| } | |
| .organization.profile .org-avatar { | |
| width: 130px; |