I hereby claim:
- I am ivanvmoreno on github.
- I am ivanvm (https://keybase.io/ivanvm) on keybase.
- I have a public key ASD5zgjroLT4zy4wkIvzt3ikIMdndblih16lCSRhFTFMLgo
To claim this, I am signing this object:
___ ___ ___ ___ | |
/\__\ ___ /\ \ /\__\ /\ \ | |
/::| | /\ \ /::\ \ /:/ / /::\ \ | |
/:|:| | \:\ \ /:/\:\ \ /:/ / /:/\:\ \ | |
/:/|:| |__ /::\__\ /::\~\:\ \ /:/__/ ___ /::\~\:\ \ | |
/:/ |:| /\__\ __/:/\/__/ /:/\:\ \:\__\ |:| | /\__\ /:/\:\ \:\__\ | |
\/__|:|/:/ / /\/:/ / \:\~\:\ \/__/ |:| |/:/ / \:\~\:\ \/__/ | |
|:/:/ / \::/__/ \:\ \:\__\ |:|__/:/ / \:\ \:\__\ | |
|::/ / \:\__\ \:\ \/__/ \::::/__/ \:\ \/__/ | |
/:/ / \/__/ \:\__\ ~~~~ \:\__\ |
watch -n 0.1 /opt/rocm/bin/rocm-smi |
#!/usr/bin/osascript | |
# file: KeepFreedomRunning | |
if application "Freedom" is not running then | |
tell application "Freedom" to run | |
end if |
I hereby claim:
To claim this, I am signing this object:
'use strict' | |
const https = require('https') | |
const { Client } = require('@elastic/elasticsearch') | |
const { ES_ENDPOINT, PATTERN = /^es_log/i, PORT = 8080 } = process.env | |
const client = new Client({ node: ES_ENDPOINT }) | |
const processLog = input => { |
#!/bin/bash | |
BKPDIR= | |
SITE_DOMAIN= | |
SITE_DIR="$BKPDIR"/"$SITE_DOMAIN" | |
WEBROOT=/var/www/"$SITE_DOMAIN" | |
BUCKET_NAME= | |
DBUSER=$(grep DB_USER $SITE_DIR/wp-config.php | awk -F\' '{print$4}') | |
DBNAME=$(grep DB_NAME $SITE_DIR/wp-config.php | awk -F\' '{print$4}') |
const mongoose = require('mongoose') | |
const testSchema = new mongoose.Schema({ | |
id: { | |
type: Number, | |
unique: true, | |
required: true, | |
min: 1, | |
}, | |
}) |
<?php | |
/** | |
* Custom Add To Cart Messages | |
* Add this to your theme functions.php file | |
**/ | |
// woocommerce_add_to_cart_message is now wc_add_to_cart_message | |
add_filter( 'wc_add_to_cart_message', 'custom_add_to_cart_message' ); | |
function custom_add_to_cart_message() { | |
global $woocommerce; |