Skip to content

Instantly share code, notes, and snippets.

View anonymousraft's full-sized avatar
🏠
Working from home

Hitendra Singh Rathore anonymousraft

🏠
Working from home
View GitHub Profile
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "CollectionPage",
"@id": "https://www.johnscbd.com/collections/cbd-oil-drops/#webpage",
"url": "https://www.johnscbd.com/collections/cbd-oil-drops/",
"name": "CBD Oil in Texas | Best CBD Oil Distributors | John\u2019s CBD",
"inLanguage": "en-US",
"description": "Looking to buy the best CBD oil in Texas? Visit John\u2019s CBD online or store to find high-quality CBD hemp oils for anxiety or pain in Texas. \u2713Lab Tested.",
"hasPart": [
@anonymousraft
anonymousraft / settings.json
Last active June 16, 2020 03:45
VS Code settings
{
"workbench.colorTheme": "Oceanic Next (dimmed bg)",
"files.autoSave": "onFocusChange",
"editor.minimap.enabled": true,
"workbench.statusBar.visible": true,
"workbench.activityBar.visible": true,
"editor.formatOnSave": false,
"workbench.colorCustomizations": {
"statusBar.background": "#333333",
@anonymousraft
anonymousraft / gulpfile.js
Created May 20, 2020 09:11
Gulp 4.0 Compatibility
'use strict';
const { watch, series, src, dest } = require( 'gulp' );
//css packages
const sass = require( 'gulp-sass' );
const autoprefixer = require( 'gulp-autoprefixer' );
//generic package
const sourcemaps = require( 'gulp-sourcemaps' );
@anonymousraft
anonymousraft / functions.php
Created December 16, 2019 03:41
updating specific plugin in wordpress
function auto_update_specific_plugins ( $update, $item ) {
// Array of plugin slugs to always auto-update
$plugins = array (
'akismet',
'buddypress',
);
if ( in_array( $item-&gt;slug, $plugins ) ) {
// Always update plugins in this array
return true;
} else {