Skip to content

Instantly share code, notes, and snippets.

View Hussseinkizz's full-sized avatar
🦉
night... owl

Hussein Kizz ★ Hussseinkizz

🦉
night... owl
View GitHub Profile
@Hussseinkizz
Hussseinkizz / sample.md
Created October 5, 2020 13:27 — forked from bradtraversy/sample.md
Markdown Cheat Sheet

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

This text is italic

Key Sublime Text 3.2.1 Build 3207
----- BEGIN LICENSE -----
Member J2TeaM
Single User License
EA7E-1011316
D7DA350E 1B8B0760 972F8B60 F3E64036
B9B4E234 F356F38F 0AD1E3B7 0E9C5FAD
FA0A2ABE 25F65BD8 D51458E5 3923CE80
87428428 79079A01 AA69F319 A1AF29A4
A684C2DC 0B1583D4 19CBD290 217618CD
# Terminal Cheat Sheet
pwd # print working directory
ls # list files in directory
cd # change directory
~ # home directory
.. # up one directory
- # previous working directory
help # get help
-h # get help
@Hussseinkizz
Hussseinkizz / style.css
Created June 10, 2021 03:47 — forked from traumverloren/style.css
VSCode Customizations for Operator Mono, Fira Code, and Dark Candy Theme
/*
Instructions for MacOS:
- Install the fonts 'Operator Mono' & 'Fira Code'
- Install theme 'Dark Candy'
- Add the following config to the VS Code settings.json:
{
"editor.renderWhitespace": "all",
"editor.fontSize": 14,
@Hussseinkizz
Hussseinkizz / literals.js
Last active November 6, 2023 15:36
Tagged Html Literals
'use strict';
function html(strings, ...values) {
let result = '';
strings.forEach((string, i) => {
result += string + (values[i] || '');
});
return result;
}
const data = {
@Hussseinkizz
Hussseinkizz / simple-react-recorder.jsx
Created August 30, 2024 11:43 — forked from cassidoo/simple-react-recorder.jsx
A simple React microphone component, recording audio and showing the blob in the browser, styled with Tailwind.
"use client";
import { useState, useEffect, useRef } from "react";
function SimpleRecordButton() {
const [isRecording, setIsRecording] = useState(false);
const [audioStream, setAudioStream] = useState(null);
const [mediaRecorder, setMediaRecorder] = useState(null);
const [audioBlob, setAudioBlob] = useState(null);
const [recordingTime, setRecordingTime] = useState(0);
const timerRef = useRef(null);