Skip to content

Instantly share code, notes, and snippets.

Avatar
✍️
Writing a book

Rudra rudrathegreat

✍️
Writing a book
View GitHub Profile
@rudrathegreat
rudrathegreat / app.js
Created Jan 12, 2021
Mouse Interactions with JS
View app.js
let mouseCursor = document.querySelector(".cursor");
var navList = document.querySelector(".nav-list");
var navListElements = navList.querySelectorAll(".nav-list li");
var heroText = document.querySelector(".hero h1");
var heroImg = document.querySelector(".hero .img");
window.addEventListener("mousemove", cursor);
function cursor(e) {
mouseCursor.style.top = e.pageY + 'px';
View index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css">
<link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap" rel="stylesheet">
<title>Education Model Navigation</title>
</head>
View index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css">
<link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap" rel="stylesheet">
<title>Education Model Navigation</title>
</head>
@rudrathegreat
rudrathegreat / CONTRIBUTING.md
Created Oct 21, 2020 — forked from briandk/CONTRIBUTING.md
A basic template for contributing guidelines that I adapted from Facebook's open source guidelines
View CONTRIBUTING.md

Contributing to Transcriptase

We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's:

  • Reporting a bug
  • Discussing the current state of the code
  • Submitting a fix
  • Proposing new features
  • Becoming a maintainer

We Develop with Github

@rudrathegreat
rudrathegreat / index.html
Last active Sep 28, 2020
Simple Tree View in Pure HTML and CSS
View index.html
<head>
<title>Title</title>
</head>
<body>
<div class="topic-tree">
<ul class="main-menu">
<li>Test</li>
<li>
Test
<input type="checkbox" class="toggle">
@rudrathegreat
rudrathegreat / README.md
Last active Sep 28, 2020
Network Github Template - Building the HTML and CSS
@rudrathegreat
rudrathegreat / FM.py
Created Sep 2, 2020
Catch FM stations using Python
View FM.py
from rtlsdr import RtlSdr
import numpy as np
import scipy.signal as signal
from scipy.io.wavfile import write
sdr = RtlSdr()
F_station = int(105.9e6) # FM Station
duration = 10
F_offset = 250000 # Offset to capture at
View Sample.java
public class Sample
{
public static void main(String[] args)
{
float x, y, z, answer;
x = 5;
y = 2;
z = 3;
answer = ((3*x+y))/(z+2);
System.out.println(answer);
@rudrathegreat
rudrathegreat / Sample.java
Created Sep 15, 2019
Assigning Variables 1
View Sample.java
public class Sample
{
public static void main(String[] args)
{
int num1, num2, answer;
num1 = 1;
num2 = 2;
answer = num1+num2;
System.out.println(answer);
}
@rudrathegreat
rudrathegreat / Sample.java
Created Sep 15, 2019
My first Java Program
View Sample.java
public class Sample
{
public static void main(String[] args)
{
System.out.println("Welcome to Java");
}
}