Skip to content

Instantly share code, notes, and snippets.

View Rushilwiz's full-sized avatar
🗼
i use arch btw

Rushil Umaretiya Rushilwiz

🗼
i use arch btw
View GitHub Profile
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
p {
text-align: center;
font-size: 60px;
margin-top: 0px;
font-family: sans-serif
@Rushilwiz
Rushilwiz / desklamp.ino
Created January 6, 2023 02:09
arduino code for the time scheduled desk lamp I have
// include the Time library
#include <Time.h>
// define the pin that the light is connected to
const int LIGHT_PIN = 9;
// set the time that the light should be turned off
const int TURN_OFF_HOUR = 22; // 22:00 (10:00 PM)
const int TURN_OFF_MINUTE = 0;
@Rushilwiz
Rushilwiz / hello.c
Created October 18, 2022 19:01
x11 hello world
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
#include <X11/Xaw/Label.h>
int main(int argc, char* argv[])
{
XtAppContext app_context;
Widget toplevel, hello;
toplevel = XtVaAppInitialize(
@Rushilwiz
Rushilwiz / gist:73f153420cb41fb3eb768bf8fc20239a
Created October 18, 2022 13:54
Cloudpath WPA2-Enterprise Network-Manager
# Replace file locations, ifname, password, etc
nmcli connection add \
type wifi con-name "Fairfax" ifname "wlp0s20f3" ssid "Fairfax" -- \
wifi-sec.key-mgmt wpa-eap 802-1x.eap tls 802-1x.identity "1795923@byod.fcps.edu" \
802-1x.ca-cert ~/.wifi/root.cer \
802-1x.private-key-password "PASSWORD" 802-1x.private-key ~/.wifi/1795923@byodfcpsedu.p12
@Rushilwiz
Rushilwiz / birthday-cake-svg-animation.markdown
Created January 18, 2022 12:52
Birthday Cake SVG Animation

Keybase proof

I hereby claim:

  • I am rushilwiz on github.
  • I am rumaretiya (https://keybase.io/rumaretiya) on keybase.
  • I have a public key ASAsrGIa4UIPi88gj_7a_nGzR7grXFvhzW-UsvFIDYOJPwo

To claim this, I am signing this object: