Skip to content

Instantly share code, notes, and snippets.


Vinicius Guerrero vini-guerrero

  • São Paulo
Block or report user

Report or block vini-guerrero

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View GodotFireball
shader_type canvas_item;
uniform bool hide_background = true;
uniform int flame_amount = 1;
vec2 hash( vec2 p ){
p = vec2( dot(p,vec2(127.1,311.7)),
dot(p,vec2(269.5,183.3)) );
return -1.0 + 2.0 * fract(sin(p) * 43758.5453123);
bl_info = {
"name": "Add-on Template",
"description": "",
"author": "p2or",
"version": (0, 0, 2),
"blender": (2, 80, 0),
"location": "3D View > Tools",
"warning": "", # used for warning icon and text in addons panel
vini-guerrero /
Created Apr 26, 2019
Godot-Facebook Script
Godot Scene
extends Node
var fb
vini-guerrero /
Created Jan 29, 2019
This snippet checks if the router is available to port forward using Godot's RPC system
extends Node2D
func _ready():
var port = 12345
var upnp =
for i in range(upnp.get_device_count()):
var upnp_device = upnp.get_device(i)
print('- igd_our_addr: ', upnp_device.igd_our_addr)
View authState.js
import React from 'react'
import { BrowserRouter as Router, Route, Link, Redirect, withRouter } from 'react-router-dom'
import authState from './CoreComponents/authState'
import PrivateRoute from './CoreComponents/privateRoute'
import fakeAuth from './CoreComponents/fakeAuth'
const Public = () => <h3>Public</h3>
const Protected = () => <h3>Protected</h3>
class Login extends React.Component {
You can’t perform that action at this time.