Skip to content

Instantly share code, notes, and snippets.

View paulohenriquesn's full-sized avatar

Paulo Henrique paulohenriquesn

View GitHub Profile
// First Hall Method
public int index = 0;
public List<string> texts = new List<string>() { "text1", "text2", "text3" };
void state_hall_1()
{
currentText.text = texts[index];
if (Input.GetKeyDown(KeyCode.Space))
{
if (index != texts.Count)
{
// First Hall Method
public int index = 0;
public List<string> texts = new List<string>() { "text1", "text2", "text3" };
void state_hall_1()
{
if(index++ != texts.Count){
index+=1;
}
currentText.text = texts[index];
if (Input.GetKeyDown(KeyCode.Space))
nome = input("Seu nome: ")
def getinput():
global nome
nome = input('Seu nome novamente')
verify()
def verify():
global nome
if len(nome) <= 3:
+++++
]>++]*]>
++]*R]>++]*
++++.---.+++++++
..+++.R]0>++]0+++++~@]0+++~@++
.<[++++++++.--------.+++.------.--------.P
try
{
//code
}
catch (Exception ex){
System.Diagnostics.Process($"https://google.com/search?q=stackoverflow+%20c#+%20{ex.ToString()}");
}
@paulohenriquesn
paulohenriquesn / index.html
Created December 11, 2015 12:25
Animate CSS/HTML [Text @Keyframe]
style <style type="text/css">
#acess {
color: white;
}
#acess {
width:100%;
@paulohenriquesn
paulohenriquesn / connect.php
Created December 11, 2015 12:19
Connect PHP/MYSQL
<?php
$servername = "localhost";
$username = "username";
$password = "password";
$conn = new mysqli($servername, $username, $password);
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}