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
Política de privacidad para aplicaciones de Android | |
1. Introducción | |
Esta política de privacidad explica cómo se recopila, usa y comparte la información cuando usas nuestra aplicación de Android. | |
Es importante que leas y entiendas esta política antes de usar la aplicación. | |
2. ¿Qué información recopilamos? | |
Nuestra aplicación no recopila ningún dato personal de los usuarios. |
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 Node | |
# usign Settings | |
func _ready(): | |
#read config from file | |
Settings.load() | |
var myconfig = Settings.data | |
myconfig['new_param'] = 'new_value' | |
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 Node | |
class_name NetworkedConnect | |
var _connected_to_server = false | |
var _connection_alive = Timer.new() | |
var _host | |
var _port | |
var _debug = false |
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 Node2D | |
var playback = null | |
var phase = 0.1 | |
const hz = 1024 | |
const notes = {'s':0.01,'do':0.8,'re':0.9,'mi':1.01,'fa':1.06,'sol':1.18,'la':1.34,'si':1.52} | |
# Q: DO, W: RE, E: MI, R: FA, T: SOL, Y: LA, U: SI | |
const keys = {81:'do',87:'re',69:'mi',82:'fa',84:'sol',89:'la',85:'si'} |
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 Skeleton | |
func _ready(): | |
$SkeletonIK.start() | |
func _on_time_timeout(): | |
if $SkeletonIK.get_target_node() == ".": | |
$SkeletonIK.set_target_node(NodePath("../Position3D")) | |
else: | |
$SkeletonIK.set_target_node(NodePath(".")) |
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 | |
length=5; | |
number=$(for i in $(seq $length); do echo -n $(( $(od -An -N2 -i /dev/random)%10 )); done); | |
secret=$(echo -n $number-$(uuidgen)); | |
hash=$(echo -n $secret | sha256sum); | |
echo $number $secret $hash; |
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/python | |
import sys | |
secret = sys.argv[1] | |
input = sys.argv[2] | |
t = 0 | |
f = 0 | |
p = 0 | |
for d in input: |
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
func _ready(): | |
for anim in $AnimationPlayer2.get_animation_list(): | |
$AnimationPlayer.add_animation(anim, $AnimationPlayer2.get_animation(anim)) | |
#example: running animations ported | |
$AnimationPlayer.connect("animation_finished", self, "rotate_anim") | |
$AnimationPlayer.play("test1") | |
func rotate_anim(anim_name): | |
$AnimationPlayer.play("test2") |