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
extends Spatial | |
export (int) var num_points = 3 | |
export (Vector2) var pane_scale = Vector2.ONE | |
var points = [] | |
var polygons = [] | |
var intersection = null | |
var default_verts = [ | |
Vector2(0,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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta charset="UTF-8"> | |
<title>Raquat.ro</title> | |
<script> | |
function updateFrame(page) { | |
switch (page) { | |
case 'lewdgen': |
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> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta charset="UTF-8"> | |
<title>Preshow Checklist</title> | |
<style> | |
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:300'); | |
body { | |
font-family: "Roboto Slab", sans-serif; | |
margin: 2em; |
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 subprocess | |
import re | |
last_re = re.compile('\s{2,}') | |
ip_re = re.compile('\d+\.\d+\.\d+\.\d+') | |
temp = open("/etc/motd-base",'r') | |
base = temp.read() | |
temp.close() |
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
# Usage: python3 slicer.py [image] [size in pixels] | |
# Requires Pillow | |
import os | |
import sys | |
from PIL import Image | |
image_url = sys.argv[1] | |
size = int(sys.argv[2]) | |
print(image_url, 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
{ | |
"name": "testSceneConditionals2", | |
"child": false, | |
"actors": ["actor1"], | |
"body": "{actor:actor1} has a test with two outcomes in this paragraph.{condition:actor1.modattr.health:25:testSceneConditionals2_true:testSceneConditionals2_false}" | |
} |
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 re | |
import random | |
from Condition import Condition | |
class SceneProcessor(): | |
scenelist = {} | |
def __init__(self, scenelist=[]): | |
for scene in scenelist: | |
self.scenelist[scene.getName()] = scene |
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 math | |
import colorsys | |
def scale(mult,step): | |
value = (mult)*(255/step) | |
if value % 1 > 0.5: | |
return math.ceil(value) | |
else: | |
return int(value) |
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
GIMP Palette | |
Name: Game Boy Color | |
Columns: 7 | |
# | |
254 255 252 Untitled | |
254 148 148 Untitled | |
254 232 195 Untitled | |
254 254 164 Untitled | |
121 255 50 Untitled | |
97 165 253 Untitled |
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
GIMP Palette | |
Name: 8-bit Binned | |
Columns: 19 | |
# | |
0 0 0 - | |
36 0 0 - | |
73 0 0 - | |
109 0 0 - | |
146 0 0 - | |
146 35 0 - |
NewerOlder