Skip to content

Instantly share code, notes, and snippets.

View urosevic's full-sized avatar

Aleksandar Urosevic urosevic

View GitHub Profile
@urosevic
urosevic / hfc-bulk-import-code-into-posts-fix.php
Created December 29, 2023 18:25
Script to make compatible with Head & Footer Code a bulk imported code into posts with CSV/XML file via WP All Import
<?php
/**
* Head & Footer Code - Bulk Import Code Into Posts Fix
*
* Script to make compatible with Head & Footer Code
* a bulk imported code into posts with CSV/XML file via WP All Import
*
* Reference: https://wordpress.org/support/topic/bulk-import-code-into-posts-with-csv-xml-file/
*
@urosevic
urosevic / how-to-download-lynda.md
Last active June 20, 2020 10:44 — forked from DonRichards/how-to-download-lynda.md
How to Download Lynda with youtube-dl

How to Download from Lynda with youtube-dl

Pre-Requirements

  • 1-month free trial or paid learning plan on Linda.com
  • Add Cookies Export extension to your Google Chrome / Chromium / Microsoft Edge browser
  • Install standalone tool youtube-dl to your Windows machine by following instructions on Installation instructions

Get set for download

  1. Visit in your browser Lynda.com and login to your account.
@urosevic
urosevic / jquery.stockticker.js
Created May 12, 2019 09:29
Stock Ticker: Do not call quote update from front-end
var stockticker_loaded = false;
var stocktickers_load = function() {
var stocktickers = jQuery('.stock-ticker-wrapper');
if ( 'undefined' !== typeof stocktickers ) {
jQuery.each(stocktickers, function(i,v){
var obj = jQuery(this);
jQuery.ajax({
type: 'post',
dataType: 'json',
url: stockTickerJs.ajax_url,