Skip to content

Instantly share code, notes, and snippets.

@seanbperiod
seanbperiod / amazon-honey-cart-fix.js
Created March 15, 2023 17:16
Amazon Saved Cart Grid with Honey enabled FIX
// ==UserScript==
// @name Fix Amazon Saved Cart Grid with Honey enabled
// @namespace amazon-honey-fix-MBP14
// @version 0.1
// @description Fixes saved cart grid on Amazon from going to 3 columns - particularly on Macbook 14"
// @author Sean Burdick
// @match http*://www.amazon.com/gp/cart/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=amazon.com
// @grant none
// ==/UserScript==
// ==UserScript==
// @name @chaoticvibing Twitter Blue Nerd - twitter.com
// @namespace Violentmonkey Scripts
// @match *://*.twitter.com/*
// @grant none
// @version 1.9.1
// @author @chaoticvibing - GH @busybox11
// @description 11/9/2022, 11:45:28 PM
// @updateURL https://gist.githubusercontent.com/busybox11/53c76f57a577a47a19fab649a76f18e3/raw/twitterblue-nerd.js
// @downloadURL https://gist.githubusercontent.com/busybox11/53c76f57a577a47a19fab649a76f18e3/raw/twitterblue-nerd.js
@thisbit
thisbit / block_patterns_cpt.php
Last active July 20, 2022 07:26
WordPress Block Patterns as Custom Post Type and with Admin Menu item!
<?php
/*
Plugin Name: Custom Block Pattern Builder
Description: Plugin enables visual creation of block patterns in a dedicated CPT
Author: Name Lastname
Author URi: https://sitename.domain
Version: 1.0.0
Text Domain: prefix_
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.txt
<script>
var time = new Date();
var dayOfWeek = time.getDay();
// Set office opening time to 8:15am
var startTime = new Date().setHours(8,15);
// Set office closing time to 4:15pm
var endTime = new Date().setHours(16,15);
@tajnymag
tajnymag / tinder.user.js
Last active March 10, 2024 18:59
Tinder Deblur Userscript (ARCHIVED and DEPRECATED, see https://github.com/tajnymag/tinder-deblur)
// ==UserScript==
// @name Tinder Deblur
// @namespace Violentmonkey Scripts
// @match https://tinder.com/*
// @grant none
// @version 1.4
// @author Tajnymag
// @downloadURL https://raw.githubusercontent.com/tajnymag/tinder-deblur/main/tinder.user.js
// @description Simple script using the official Tinder API to get clean photos of the users who liked you
// ==/UserScript==
@jan-koch
jan-koch / remove-woo-scripts.php
Created February 28, 2020 09:14
Remove WooCommerce related resources except on WooCommerce-based pages (products, cart, checkout, etc). Use on a testing environment before pasting this into your live website!
/**
* This code snippet removes JavaScript and CSS files loaded from WooCommerce if they are not necessary.
*
* Please test this on a staging copy of your website before putting this into the functions.php of your live website.
*/
add_action( 'wp_enqueue_scripts', 'my_remove_woo_assets', 99 );
function my_remove_woo_assets() {
if ( function_exists( 'is_woocommerce' ) ) { // Check if Woo is installed.
if ( ! is_woocommerce() && ! is_cart() && ! is_checkout() ) { // Only run on non-Woo pages.
// Remove unnecessary stylesheets.
@mokoshalb
mokoshalb / Office_kms
Created July 4, 2019 05:36 — forked from CHEF-KOCH/KMS_office.cmd
KMS server Windows
cd\Program Files\Microsoft Office\Office16
cd\Program Files (x86)\Microsoft Office\Office16
cscript OSPP.VBS /sethst:kms.digiboy.ir
cscript OSPP.VBS /actcscript OSPP.VBS /dstatus
slmgr.vbs /ckms
@giovanni-d
giovanni-d / allinonemigration.md
Last active April 21, 2024 19:16
All-in-One WP Migration - Restore From Server (without PRO version) - Restore

All-in-One WP Migration Restore From Server (without pro version)

If you don't want to pay for the PRO version of this plugin, and you want to use the "Restore from Server" functionally that was present in the version 6.77, follow the instructions below:

  1. Open the js file: wp-content/plugins/all-in-one-wp-migration/lib/view/assets/javascript/backups.min.js
  2. On line 1208, replace the code below:
$('.ai1wm-backup-restore').click(function (e) {
@beccasaurus
beccasaurus / . 🔥💋 OkCupid "Who Likes You" Extension .md
Last active May 1, 2024 20:40
🔥💋 OkCupid "Who Likes You" Extension

💘 OkCupid "Who Likes You" Extension


Yes, I did.

The Who Likes You page SUCKS to manage.

@prwhite
prwhite / feedly-colorful-list-view.user.js
Last active May 15, 2020 21:10 — forked from yamalight/README.md
Feedly Colorful Listview [more subtle colors]
// ==UserScript==
// @name Feedly Colorful Listview
// @namespace http://feedly.colorful.list.view
// @description Colorizes items headers based on their source
// @include http*://feedly.com/*
// @include http*://*.feedly.com/*
// @version 0.8.9
// @grant GM_addStyle
// ==/UserScript==