Skip to content

Instantly share code, notes, and snippets.

View AElouai's full-sized avatar

ELOUAI ALI AElouai

  • Maroc
View GitHub Profile
#!/bin/bash
# Demarage script
cd /media/obito/holder/pluralsight
read name
mkdir "$name"
cd "$name"
read text
youtube-dl -r 600k --username XXXX --password 'XXXXX' $text -o "%(playlist_index)s. %(title)s.%(ext)s"
//load jquery first
var jq = document.createElement('script');
jq.src = "https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js";
//Select all invetations using script blow then click on cancle invetaion and it done :D
jQuery(function($){
$('.entityblock').each(function(index){
var this_card = $(this);
this_card.find('.entity-checkbox-label').click();
@AElouai
AElouai / regionCountry.js
Created September 30, 2016 11:56
List of Region / Country of the world in Json
[
{region :"Afrique du Nord", country:"Algérie" },
{region :"Afrique du Nord", country:"Égypte" },
{region :"Afrique du Nord", country:"Libye" },
{region :"Afrique du Nord", country:"Maroc" },
{region :"Afrique du Nord", country:"Mauritanie" },
{region :"Afrique du Nord", country:"Soudan" },
{region :"Afrique du Nord", country:"Tunisie" },
{region :"Afrique du Nord", country:"Soudan du Sud"},
{region :"Afrique subsaharienne", country:"Burundi" },
//load jquery first
var jq = document.createElement('script');
jq.src = "https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js";
// how to use :>
// open 'les connaissez-vous' section
//and past the code below into the consol
// PS : change the tag in line 22 to suit your needs
https://www.youtube.com/watch?v=20MDfZZ3-18&list=PLPIzp-E1msrZbuE1BW0xxYCNBtLkoUHfO&index=32
https://www.youtube.com/watch?v=xk-YfIdH0_Y