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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>Naropa Tree Test</title> | |
| <style> | |
| body { |
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 | |
| # Get current branch name | |
| current_branch=$(git branch --show-current | sed 's|/|-|g') | |
| # Create signoff folder | |
| signoff_dir="signoff" | |
| mkdir -p "$signoff_dir" | |
| # Always use current directory as source |
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 | |
| # Step 1: Generate commit log (oldest first) with parent info | |
| git log --pretty=format:"%h|%ad|%an|%s|%p" --date=short --reverse >git_log.txt | |
| # Step 2: Initialize | |
| declare -A seen | |
| >rebase-plan.txt | |
| # Step 3: Process each line |
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 Extract LinkedIn Applicants | |
| // @namespace http://tampermonkey.net/ | |
| // @version 2025-01-15 | |
| // @description Extracts useful data from the Applicants view on LinkedIn | |
| // @author Ilán Vivanco - https://ilanvivanco.com | |
| // @match https://www.linkedin.com/hiring/jobs/xxxxxx/applicants/xxxxx/detail/?r=UNRATED%2CGOOD_FIT%2CMAYBE | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=linkedin.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 | |
| if ( ! function_exists( 'lets_clear_cache' ) ) { | |
| function lets_clear_cache() { | |
| // WP Rocket | |
| if ( function_exists( 'rocket_clean_domain' ) ) { | |
| rocket_clean_domain(); | |
| } | |
| // W3 Total Cache : w3tc |
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
| <IfModule mod_rewrite.c> | |
| RewriteEngine on | |
| RewriteBase / | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{HTTP_HOST} ^example\.test$ | |
| RewriteRule ^wp-content/uploads/(.*)$ https://example.com/wp-content/uploads/$1 [NC,L] | |
| </IfModule> |
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 | |
| // Hook into the admin menu action to add the options page. | |
| add_action( 'admin_menu', 'epic_add_admin_page' ); | |
| function epic_add_admin_page() { | |
| // Add a new submenu page under Settings tab | |
| add_submenu_page( | |
| 'options-general.php', | |
| 'Epic Posts Listing', |
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
| <?xml version="1.0"?> | |
| <ruleset name="WordPress Theme Coding Standards" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd"> | |
| <description>A custom set of rules to check for a WPized WordPress project</description> | |
| <!-- General PHPCS config. --> | |
| <file>.</file> | |
| <arg value="sp"/> | |
| <arg name="extensions" value="php"/> |
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 | |
| /** | |
| * Plugin Name: Debug - WP Redirect | |
| * Description: Adds debugging output to the HTTP header response to find out which file/function triggered a redirect. | |
| * Author: Philipp Stracker | |
| * Author URI: http://www.stracker.net/ | |
| * Created: 15.09.2015 | |
| * Version: 1.0.0 | |
| * | |
| * Simply activate the plugin and it will add debugging information to all |
NewerOlder