This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "landingPage": "/friends/?refresh&welcome", | |
| "features": { | |
| "networking": true | |
| }, | |
| "steps": [ | |
| { | |
| "step": "mkdir", | |
| "path": "wordpress/wp-content/mu-plugins" | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "landingPage": "/wp-admin/", | |
| "steps": [ | |
| { | |
| "step": "setSiteOptions", | |
| "options": { | |
| "permalink_structure": "/%postname%/" | |
| } | |
| }, | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "landingPage": "/friends/", | |
| "steps": [ | |
| { | |
| "step": "login", | |
| "username": "admin", | |
| "password": "password" | |
| }, | |
| { | |
| "step": "setSiteOptions", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Copy Issue Link | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.0 | |
| // @description Adds a copy button to issue links on GitHub | |
| // @author Alex Kirk | |
| // @match https://github.com/* | |
| // @grant none | |
| // ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // | |
| // Project: phpLiteAdmin (https://www.phpliteadmin.org/) | |
| // Version: 1.9.8.2 | |
| // Summary: PHP-based admin tool to manage SQLite2 and SQLite3 databases on the web | |
| // Last updated: 2019-09-05 | |
| // Developers: | |
| // Dane Iracleous (daneiracleous@gmail.com) | |
| // Ian Aldrighetti (ian.aldrighetti@gmail.com) | |
| // George Flanagin & Digital Gaslight, Inc (george@digitalgaslight.com) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Assign to a shortcut, for example: | |
| # { "keys": ["ctrl+shift+a"], "command": "paste_as_link" }, | |
| # If you have a text selected and a link in the clipboard, this will make a HTML or Markdown link out of it. | |
| import sublime | |
| import sublime_plugin | |
| import re | |
| class PasteAsLinkCommand(sublime_plugin.TextCommand): | |
| def run(self, edit): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $json = json_decode('[{ | |
| "step": "runSql", | |
| "sql": { | |
| "resource": "literal", | |
| "name": "schema.sql", | |
| "contents": "" | |
| } | |
| }]'); | |
| $files = glob( './friends-demo*.sql' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Run this script inside a git directory and have Githubs gh command in the path. | |
| import subprocess | |
| import json | |
| from datetime import datetime | |
| import statistics | |
| def run_command(command): | |
| result = subprocess.run(command, shell=True, text=True, capture_output=True) | |
| if result.returncode != 0: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "landingPage": "/wp-admin/?welcome=0", | |
| "preferredVersions": { | |
| "php": "8.0", | |
| "wp": "latest" | |
| }, | |
| "steps": [ | |
| { | |
| "step": "login", | |
| "username": "admin", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "landingPage": "/wp-admin/?welcome=0", | |
| "preferredVersions": { | |
| "php": "8.0", | |
| "wp": "latest" | |
| }, | |
| "steps": [ | |
| { | |
| "step": "login", | |
| "username": "admin", |