This file contains hidden or 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 |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 <Keypad.h> | |
#define led 5 | |
const byte ROWS = 4; | |
//four rows | |
const byte COLS = 4; | |
//four columns | |
//define the cymbols on the buttons of the keypads |
This file contains hidden or 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 <Wire.h> | |
#include <LiquidCrystal_I2C.h> | |
LiquidCrystal_I2C lcd(0x27, 16, 2); | |
int buttonState = 0; | |
int program = 1; | |
int programs = 1; |
This file contains hidden or 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
/build |
OlderNewer