Skip to content

Instantly share code, notes, and snippets.

🎮
Let's make a game

Will Saymon Wyru

🎮
Let's make a game
Block or report user

Report or block Wyru

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
@LotteMakesStuff
LotteMakesStuff / AutohookAttribute.cs
Last active May 25, 2020
[Autohook] property drawer for unity - Add this [Autohook] attribute to a property to and the inspector will automagically hook up a valid reference for you if it can find a component attached to the same game object that matches the field you put it on. You can watch a demo of this in action here https://youtu.be/faVt09NGzws <3
View AutohookAttribute.cs
// NOTE DONT put in an editor folder!
using UnityEngine;
public class AutohookAttribute : PropertyAttribute
{
}
@rafael-neri
rafael-neri / validar_cpf.php
Last active May 24, 2020
Validar CPF em PHP (Completo)
View validar_cpf.php
<?php
function validaCPF($cpf) {
// Extrai somente os números
$cpf = preg_replace( '/[^0-9]/is', '', $cpf );
// Verifica se foi informado todos os digitos corretamente
if (strlen($cpf) != 11) {
return false;
@denji
denji / README.md
Last active Jun 1, 2020 — forked from Cubixmeister/README.md
Simple Sentry docker-compose.yml
View README.md
  1. Download docker-compose.yml to dir named sentry
  2. Change SENTRY_SECRET_KEY to random 32 char string
  3. Run docker-compose up -d
  4. Run docker-compose exec sentry sentry upgrade to setup database and create admin user
  5. (Optional) Run docker-compose exec sentry pip install sentry-slack if you want slack plugin, it can be done later
  6. Run docker-compose restart sentry
  7. Sentry is now running on public port 9000
@jonsuh
jonsuh / js-ajax-php-json-return.html
Last active May 24, 2020
jQuery AJAX Call to PHP Script with JSON Return
View js-ajax-php-json-return.html
<div class="the-return">
[HTML is replaced when successful.]
</div>
You can’t perform that action at this time.