name: wpdoc description: > Research and document a WordPress website. Crawls the public site HTML, logs into the WP admin via Playwright, and produces a comprehensive inventory of page types, content counts, plugins, media, frontend libraries, animations, and more. All scraped HTML and documentation are saved to a wpdocs/ subfolder in the current working directory. Use when asked to document a WordPress site, audit WP content, inventory a WP site, research a WordPress site before migration, catalogue what a
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
| #!/bin/bash | |
| # | |
| # test-stock-bookings.sh - Current RMS API Stock Bookings Bug Reproduction | |
| # | |
| # BACKGROUND: | |
| # We've discovered a permissions issue with the Current RMS API's /stock_bookings | |
| # endpoint. While our OAuth authentication works correctly for most endpoints | |
| # (opportunities, clone, etc.), the /stock_bookings endpoint returns 401 Unauthorized | |
| # when using the same credentials. | |
| # |
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
| <footer> | |
| This is the footer! | |
| </footer> |
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
| # Backup/export docker volume to tar archive | |
| docker run --rm -v pgdata:/in -v ./:/out ubuntu tar cvf /out/pgdata.tar /in | |
| # Restore docker volume from tar archive | |
| docker run --rm -v pgdata:/out -v ./:/in ubuntu bash -c "cd /out && tar xvf /in/pgdata.tar" |
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
| from sshtunnel import SSHTunnelForwarder | |
| import pymysql | |
| from pandas import read_sql | |
| from log import logger | |
| class SSHSQLConn: | |
| def __init__( | |
| self, | |
| db_uname="wolf_rendall", |
At Premiere, we are working with a large dataset to build software solutions for order/status tracking, global pricing management, targeted marketing, and sales analytics.
We’re looking for a web developer experienced with Python and interested in learning new technologies to join our team. You’ll work with our remote team to build great products that delight the people using them.
- You’re a critical thinker. You’re able to be highly effective with very few directions.
- You have excellent communication skills. Most communication will be via email or Skype so you will need to convey your ideas clearly and concisely.
- You are super smart and have either a degree in Computer Science or equivalent work experience.
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
| grep -r <find> <path> | awk -F':' '{print $1}' | xargs sed -i 's/<find>/<replace>/g' |
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
| var casper = require('casper').create({ | |
| viewportSize: { | |
| width: 1920, | |
| height: 1080 | |
| }, | |
| verbose: true, | |
| logLevel: 'debug' | |
| }); | |
| var utils = require('utils'); |
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
| {% load crispy_forms_field %} | |
| <{% if tag %}{{ tag }}{% else %}div{% endif %} id="div_{{ field.auto_id }}" class="form-group{% if wrapper_class %} {{ wrapper_class }}{% endif %}{% if form_show_errors%}{% if field.errors %} has-error{% endif %}{% endif %}{% if field.css_classes %} {{ field.css_classes }}{% endif %}"> | |
| {% if field.label and form_show_labels %} | |
| <label for="{{ field.id_for_label }}" class="control-label {{ label_class }}{% if field.field.required %} requiredField{% endif %}"> | |
| {{ field.label|safe }}{% if field.field.required %}<span class="asteriskField">*</span>{% endif %} | |
| </label> | |
| {% endif %} | |
| <div class="controls {{ field_class }}"> | |
| {% crispy_field field %} |
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
| #!/bin/sh | |
| GREP_COLOR='4;5;37;41' | |
| EXIT_STATUS=0 | |
| cd "$( dirname "$( dirname "$( dirname ${BASH_SOURCE[0]} )" )" )" | |
| commitcheck () { | |
| FILES=$1 | |
| FORBIDDEN=$2 |
NewerOlder