Skip to content

Instantly share code, notes, and snippets.

View slendidev's full-sized avatar
👁️
Hello

λxy.x slendidev

👁️
Hello
View GitHub Profile
#!/bin/sh
set -e
. ./headers.sh
for PROJECT in $PROJECTS; do
(cd $PROJECT && DESTDIR="$SYSROOT" $MAKE install)
done
Dim arr1(200)
Set oShell = WScript.CreateObject ("WScript.Shell")
For i = 0 to 110 Step 1
arr1(i) = CStr(i)
oShell.run "cmd.exe /C Z: & cd Z:/info/Desktop & mkdir " & CStr(i)
Next
Dim objShell, strProgram
Set objShell = CreateObject("Wscript.Shell")
/build
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 16, 2);
int buttonState = 0;
int program = 1;
int programs = 1;
#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
@slendidev
slendidev / code.ino
Created April 14, 2018 09:40
A simple circuit
#include <Password.h>
#include <Wire.h>
#include <Key.h>
#include <Keypad.h>
#define trigPin_1 3
#define echoPin_1 4
@slendidev
slendidev / code.ino
Created April 14, 2018 09:40
A simple circuit
#include <Password.h>
#include <Wire.h>
#include <Key.h>
#include <Keypad.h>
#define trigPin_1 3
#define echoPin_1 4
@slendidev
slendidev / code.ino
Created April 14, 2018 09:40
A simple circuit
#include <Password.h>
#include <Wire.h>
#include <Key.h>
#include <Keypad.h>
#define trigPin_1 3
#define echoPin_1 4
@slendidev
slendidev / sine.py
Created March 24, 2018 11:25
A simple turtle application.
import math
import turtle
x = -700
a = 0.0
wn = turtle.Screen()
wn.bgcolor('lightblue')
fred = turtle.Turtle()
@slendidev
slendidev / python-3.6-pi.sh
Last active July 15, 2021 17:34
Install python 3.6 on your RPi!
#!/usr/bin/bash
putsc() {
echo -en "\e[34m :: \e[0m $@"
}
putscl() {
putsc "$@\n"
}