Note
to active Office without crack, just follow https://github.com/WindowsAddict/IDM-Activation-Script,
you wiil only need to run
irm https://massgrave.dev/ias | iex
#!/bin/bash | |
# Ollama Model Export Script | |
# Usage: bash ollama-export.sh vicuna:7b | |
# License: MIT (https://ncurl.xyz/s/o_o6DVqIR) | |
# https://gist.github.com/supersonictw/f6cf5e599377132fe5e180b3d495c553 | |
# Interrupt if any error occurred | |
set -e | |
# Declare |
#!/bin/bash | |
DEBIAN_FRONTEND="noninteractive" | |
# Default values for parameters | |
DEFAULT_PHP_VERSION=8.3 | |
DEFAULT_NODE_VERSION=20 | |
DEFAULT_DOMAIN="example.test" | |
DEFAULT_USER="example" | |
DEFAULT_MYSQL_PASSWORD=$(openssl rand -base64 10) |
<?php | |
/** | |
* Call a shortcode function by tag name. | |
* | |
* @param string $tag The shortcode whose function to call. | |
* @param array $atts The attributes to pass to the shortcode function. Optional. | |
* @param array $content The shortcode's content. Default is null (none). | |
* | |
* @return string|bool False on failure, the result of the shortcode on success. | |
*/ |
Note
to active Office without crack, just follow https://github.com/WindowsAddict/IDM-Activation-Script,
you wiil only need to run
irm https://massgrave.dev/ias | iex
When a team signs their commits, it’s easy to verify the commits are actually from the team members.
If you don’t have a GPG key yet, generate one with gpg --gen-key
. Enter the info at the prompt, and then type gpg --list-secret-keys --keyid-format LONG
to view your key info.
At the line starting with sec
, the string between the /
and the space is your PUBLIC_KEY_ID. Note it down, and add run the following command to instruct git to use it:
git config user.signingkey PUBLIC_KEY_ID
git config gpg.program gpg
git config commit.gpgsign true
<?php | |
/** | |
* Programmatically install and activate wordpress plugins | |
* | |
* Usage: | |
* 1. Edit the $pluginSlugs array at the beginning of this file to include the slugs of all the | |
* plugins you want to install and activate | |
* 2. Upload this file to the wordpress root directory (the same directory that contains the | |
* 'wp-admin' directory). | |
* 3. Navigate to <your-domain-wordpress-root>/install-wp-plugins.php (If wordpress is installed |
/** | |
* Prevent update notification for plugin | |
* http://www.thecreativedev.com/disable-updates-for-specific-plugin-in-wordpress/ | |
* Place in theme functions.php or at bottom of wp-config.php | |
*/ | |
function disable_plugin_updates( $value ) { | |
if ( isset($value) && is_object($value) ) { | |
if ( isset( $value->response['plugin-folder/plugin.php'] ) ) { | |
unset( $value->response['plugin-folder/plugin.php'] ); | |
} |