Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

mevsme

🎯
Focusing
View GitHub Profile
View copyFormValues.js
const getFormValuesObject = (selector) => {
const form = document.querySelector(selector);
const formData = new FormData(form);
const formValues = {};
for (const [name, value] of formData.entries()) {
formValues[name] = value;
}
return formValues;
};
@jez500
jez500 / package.json
Created Dec 26, 2018
Simple Webpack 4 Compile SCSS to CSS config with autoprefix and minify
View package.json
{
"name": "my-project",
"version": "1.0.0",
"description": "Simple SCSS complie with autoprefix and minify",
"scripts": {
"build": "webpack"
},
"devDependencies": {
"autoprefixer": "^9.0.0",
"breakpoint-sass": "^2.7.1",
@bancek
bancek / cue_to_mp3.py
Last active Sep 3, 2022
CUE splitter using ffmpeg (to mp3)
View cue_to_mp3.py
cue_file = 'file.cue'
d = open(cue_file).read().splitlines()
general = {}
tracks = []
current_file = None