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
#include <Password.h> | |
#include <Wire.h> | |
#include <Key.h> | |
#include <Keypad.h> | |
#define trigPin_1 3 | |
#define echoPin_1 4 |
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
import math | |
import turtle | |
x = -700 | |
a = 0.0 | |
wn = turtle.Screen() | |
wn.bgcolor('lightblue') | |
fred = turtle.Turtle() |
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/bash | |
putsc() { | |
echo -en "\e[34m :: \e[0m $@" | |
} | |
putscl() { | |
putsc "$@\n" | |
} |
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
from random import randint | |
from time import sleep | |
dicenum = randint(1, 6) | |
print("Rolling dice...") | |
print("") | |
print(" _______ \n /\ \ \n /()\ () \ \n/ \_______\ \n\ /() / \n \()/ () / \n \/_____()/") | |
print("") |
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
# -*- coding: utf-8 -*- | |
from time import sleep | |
import sys | |
def gen_box(lenght, height): | |
box = "" | |
i = 0 | |
while i != height: | |
y = 0 |
NewerOlder