Skip to main content

generate jsfiddle files

Project description

Installation

$ [sudo] pip install jsfiddle-generator

How it works

jsfiddle github repo files:

.
├── demo.html
├── demo.css
├── demo.js
├── demo.details

jsfiddle github gist files:

.
├── fiddle.html
├── fiddle.css
├── fiddle.js
├── fiddle.manifest

Examples

create demo.css, demo.js, demo.details in every dir with demo.html:

$ find . -name "demo.html" -exec python -m jsfiddle_generator.repo {} \;

create jsfiddle repo files in every empty dir:

find . -not -path '*/\.*' -type d -links 2 -exec python -m jsfiddle_generator.repo {} \;


paths with spaces:

OS speed command
any slow find ... -exec python -m jsfiddle_generator.repo {} \;
Linux fast find ... -print0 | xargs -d '\n' python -m jsfiddle_generator.repo
macOS fast find ... -print0 | xargs -0 python -m jsfiddle_generator.repo

Related

Links

readme42.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jsfiddle-generator-2020.12.3.tar.gz (2.6 kB view details)

Uploaded Source

File details

Details for the file jsfiddle-generator-2020.12.3.tar.gz.

File metadata

  • Download URL: jsfiddle-generator-2020.12.3.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for jsfiddle-generator-2020.12.3.tar.gz
Algorithm Hash digest
SHA256 c7626ae39e40e2e00ef32457ef657f3a7c9b9ccca39362063cb329be673001e2
MD5 2bb81a5bc9e732bf3711c7b4e0986b8a
BLAKE2b-256 c6056ec9c23c3f201fb2723be28ba3f6b9a6c87451c5024e69dceb733fc8b7d7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page