- Create a new repo (gp-pages-simple)
- Go to settings
- Choose a theme
- Edit your
index.md
file - Commit to master branch
- Go to username.github.io/gp-pages-simple
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
- height*curse: | |
- 1@25:-,1:=curse | |
- height*moisture: | |
- 1@2:rock,1:snow | |
- 1@2:grass,3:plants | |
- 2@moisture*fertility: | |
- 1@1:dirt,2:grass,3:plants | |
- 2@2:dirt,3:grass,1:plants | |
- 1@3:sand,2:dirt | |
- 1@2:sand,1:dirt,1:grass,1:plants,2:=water |
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
let username = ""; | |
let repo = ""; | |
window.onload = () => { | |
fetch(`https://api.github.com/repos/${username}/${repo}/releases/latest`).then(response => { | |
response.json().then(json => { | |
console.log(json); | |
}); | |
}); | |
} |
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
extends Area | |
onready var viewport = $"../Viewport" | |
onready var collion = $CollisionShape | |
var last_collided = Vector3.ZERO | |
var mouse_mask = 0 | |
var mesh_size_x = 0.5 | |
var mesh_size_y = 0.5 | |
var uv_offset_x = -0.1 | |
var uv_offset_y = -0.1 |
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
{ | |
"putc": { | |
"prefix": "putc", | |
"body": [ | |
"." | |
] | |
}, | |
"putn": { | |
"prefix": "putn", | |
"body": [ |
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
# ##### BEGIN GPL LICENSE BLOCK ##### | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License | |
# as published by the Free Software Foundation; either version 2 | |
# of the License, or (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
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
class Duck(): | |
def quack(self): | |
print("quack!") | |
class Goose(Duck): | |
def quack(self): | |
print("honk!") | |
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/sh | |
echo "foo" | |
# Pipe commands between patterns into container | |
sed -n "/^### SCRIPT START ###/,/^### SCRIPT END ###/p" "$0" | docker exec -i -e MESSAGE="bar" <id> /bin/bash - | |
echo "baz" | |
# Exit original script | |
exit |
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
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"blocks": [ | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"segments": [ | |
{ | |
"type": "session", | |
"style": "plain", |
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 click | |
import webbrowser | |
import os | |
import random | |
import tempfile | |
from time import sleep | |
random.seed() | |
tmp = tempfile.NamedTemporaryFile() |