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
// This file is made available under the GPLv3 LICENSE | |
// For more info, see https://www.gnu.org/licenses/gpl-3.0.html | |
// Based on ideas presented in https://hatnix.itch.io/boxit | |
function main() { | |
// HGrid format: | |
// All whitespace is ignored. | |
// Other characters represent tuples of color and symbol | |
// Colors are [w]hite/[r]ed, [b]lue, [g]reen, [o]range/[y]ellow, [p]urple/pink |
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
Scripts for updating Godot demo assets | |
LICENSE: | |
Copyright (c) 2020 Bojidar Marinov | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
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
<!DOCTYPE html> | |
<!-- Thanks to Inigo Quillez (http://iquilezles.org) for many of the functions in the shader code. --> | |
<!-- Thanks to MDN for being awesome. --> | |
<!-- Thanks to WebGLFundamentals (https://webglfundamentals.org) for their framebuffer tutorial. --> | |
<!-- Thanks to gl-matrix.js for the matrix library, and Stats.js for the FPS counter. --> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Raymarcher</title> | |
<style media="screen"> |
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/bash | |
## Helps build/debug/test a Godot (usable for non-godot things as well) | |
################## | |
#-----Common-----# | |
################## | |
function start { | |
start=1$(date -u +"%s") |
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
#!/usr/bin/env bash | |
v=$(echo "$@" | grep -- '-v') | |
d=$(echo "$@" | grep -- '-d') | |
sed_command='' | |
# Doesn't support spaces in names :| | |
for cf in $(find . -not -path '*.git*' -not -name '* *' -type f | sed 's|\./||g'); do | |
if [ ! -z "$v" ]; then |
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
## | |
## WARNING: Deprecated. Use https://gist.github.com/belzecue/6253c8c694d602e715fff0b3f4303344/ instead. | |
## | |
extends Reference | |
class LinkedListItem: | |
extends Reference | |
var next = null |
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
function encript(current, previous) { | |
previous = previous || 0; | |
return (current + previous)%27; | |
} | |
var Canvas = require("canvas"); | |
var fs = require("fs"); | |
var source = process.argv[2]; | |
//---PREPARE--- | |
source = source.toUpperCase(); |
NewerOlder