Pluralsight do not permit users to download their videos.
If you are an user of pluralsight you have agreed with their ToS,
and are thusly refrained from doing so.
Use this knowledge at your own risk.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Login to pluralsight in chrome and Open a course you want to download | |
//Example - https://app.pluralsight.com/library/courses/aws-automating-cloudformation/table-of-contents | |
//Click on "Start" or "Resume Course" Button | |
//chapter listing | |
var list = document.getElementsByTagName("section"); | |
var counter=0; | |
for (var i=0; i<list.length; i++) { | |
if ( list[i].className.match(/\bmodule\b/) ) { | |
var header_text = list[i].getElementsByTagName("h2")[0].innerText; | |
var ul = list[i].getElementsByClassName('clips'); |
PluralSight John Papa Course:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//1 | |
var jq = document.createElement('script'); | |
jq.src = "https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"; | |
document.getElementsByTagName('head')[0].appendChild(jq); | |
//2 | |
jQuery.noConflict(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public V put(K key, V value) { | |
Entry<K, V> entry = this.root; | |
if (entry == null) { | |
this.root = new Entry<>(key, value, null); | |
return null; | |
} | |
int cmp; | |
Entry<K, V> parent; | |
Comparator<? super K> cpr = comparator; | |
if (cpr != null) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Key implements Comparable<Key>{ | |
private static int MORE = 1; | |
private static int LESS = -1; | |
private static int SAME = 0; | |
private int index; | |
public Key(int index) { | |
this.index = index; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public V get(Object key) { | |
Entry<K, V> entry = getEntry(key); | |
return (entry == null ? null : entry.value); | |
} | |
private Entry<K, V> getEntry(Object key) { | |
if (comparator != null) { | |
return getEntryUsingComparator(key); | |
} | |
if (key == null) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class LazySingleton { | |
private static LazySingleton instance; | |
private LazySingleton(){ | |
} | |
public static LazySingleton getInstance(){ | |
if(instance == null){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class StaticSingleton { | |
private static StaticSingleton instance = new StaticSingleton(); | |
private StaticSingleton(){ | |
} | |
public static StaticSingleton getInstance(){ | |
return instance; |