{"id":15011528,"url":"https://github.com/unfocus/scripts-n-styles","last_synced_at":"2025-10-12T10:13:37.046Z","repository":{"id":1052744,"uuid":"885000","full_name":"unFocus/Scripts-n-Styles","owner":"unFocus","description":"Allows WordPress admin users the ability to add custom CSS and JavaScript directly to individual Post, Pages or custom post types.","archived":false,"fork":false,"pushed_at":"2023-01-03T15:42:58.000Z","size":7677,"stargazers_count":16,"open_issues_count":42,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-09T19:08:57.505Z","etag":null,"topics":["codemirror","css","javascript","lesscss","wordpress-plugin"],"latest_commit_sha":null,"homepage":"http://www.unFocus.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unFocus.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-09-03T04:58:32.000Z","updated_at":"2023-09-07T01:34:35.000Z","dependencies_parsed_at":"2023-01-11T15:49:18.112Z","dependency_job_id":null,"html_url":"https://github.com/unFocus/Scripts-n-Styles","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/unFocus/Scripts-n-Styles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unFocus%2FScripts-n-Styles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unFocus%2FScripts-n-Styles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unFocus%2FScripts-n-Styles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unFocus%2FScripts-n-Styles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unFocus","download_url":"https://codeload.github.com/unFocus/Scripts-n-Styles/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unFocus%2FScripts-n-Styles/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279011053,"owners_count":26084863,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["codemirror","css","javascript","lesscss","wordpress-plugin"],"created_at":"2024-09-24T19:41:12.587Z","updated_at":"2025-10-12T10:13:36.993Z","avatar_url":"https://github.com/unFocus.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dev Server commands\nThe dev server is basically the generic docker images for WordPress, but with things that got in the way ripped out, so that we can tweak wp-config.php constants if we wish. :-/ It should've been easier.\n\n## Start\n`docker-compose up` or `docker-compose up -d`\nBuilds and starts your services.\n\n## Stop\ndocker-compose stop\nStops the services without removing them. Leaves it in the current state to continue working later.\n\n## Backup\n`docker exec sns-db sh -c 'exec mysqldump --all-databases -uroot -p\"$MYSQL_ROOT_PASSWORD\"' \u003e ./dbinit/data.sql`\nCalls into the `sns-db` container and makes a sql dump into the dbinit folder (for a fresh pre-population on next up).\n\nYou can make a new backup and use it as `mkdir -p foo \u0026\u0026 docker exec sns-db sh -c 'exec mysqldump --all-databases -uroot -p\"$MYSQL_ROOT_PASSWORD\"' \u003e ./foo/data.sql \u0026\u0026 USEDB=foo`\n(Change the .env file variable to make it persistently use it.)\n\n## Clean up\n`docker-compose down`\nRemoves most things, but not the data volume (countinue from that data next time).\n`docker-compose down -v --remove-orphans`\nRemoves all (well, most of at least) the things, including the database. (The generic source images remain.) Use this to reset the database to the 'dbinit' backup.\n\n## Change PHP versions\n`export PHPV=7.1 \u0026\u0026 docker-compose up --build`\nChoices are `5.6`, `7.0`, `7.1`\n\n### Bash in the container\n`docker-compose run wordpress /bin/bash`\n\nUse `alias wp='docker-compose exec --user www-data wordpress wp --url=localhost'` to set up a temporary shortcut for using wp-cli in the container.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funfocus%2Fscripts-n-styles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funfocus%2Fscripts-n-styles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funfocus%2Fscripts-n-styles/lists"}