Skip to content

Instantly share code, notes, and snippets.

View kuczmama's full-sized avatar
🔥
Building Cool Stuff

Mark Kuczmarski kuczmama

🔥
Building Cool Stuff
View GitHub Profile
@pigeonburger
pigeonburger / quizlet-to-csv.js
Created April 8, 2022 04:53
Quizlet to CSV file
/*
Converts a Quizlet set to a CSV file and downloads it to your computer.
HOW TO USE:
1. Open your browser's console
2. Copy all the below code into it, and press enter.
3. The list will be saved to your downloads as a CSV file!
*/
const terms = document.getElementsByClassName('SetPageTerms-term');
@Badestrand
Badestrand / preact-mini.html
Last active July 23, 2023 03:48
Simple preact in browser
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style rel="stylesheet" type="text/less">
* {
margin: 0;
padding: 0;
@anilshanbhag
anilshanbhag / concentration.py
Last active June 15, 2023 15:12
Script to block/unblock websites using /etc/hosts
#!/usr/bin/python
"""
Greatest productivity script ever created. Adds whole bunch of entries to /etc/hosts
Need to manually delete it !:/
"""
import sys
lines = open('/etc/hosts').readlines()