Updates composer.lock hash without updating any packages
composer update --lock
///<reference path="./typings/jquery/jquery.d.ts"/> | |
'use strict'; | |
class Main { | |
constructor() { | |
jQuery(document).ready(() => { | |
console.log('Hello from app/scripts/ts/Main.ts'); | |
}); | |
} | |
} |
# place under ${HOME}/.aria2/ | |
# Daemonize, rpc and session save. | |
# The daemon is launched by the rpc query and | |
# stops when all downloads are completed. | |
continue | |
daemon=true | |
on-download-complete=exit | |
dir=/home/**youruser**/path/to/download/folder |
Updates composer.lock hash without updating any packages
composer update --lock
<?php | |
// autoload_namespace.php generated by Composer | |
$vendorDir = dirname(__DIR__); | |
$baseDir = dirname($vendorDir); | |
return array( | |
'Volcanus\\Validation' => $vendorDir . '/volcanus/validation/src/', | |
'Symfony\\Component\\HttpFoundation' => $vendorDir . '/symfony/http-foundation/', |
javascript:q=location.href;if(document.getSelection){d=document.getSelection();}else{d='';};p=document.title;void(open('https://pinboard.in/add?later=yes&noui=yes&jump=close&tags=TAGS GO HERE&url='+encodeURIComponent(q)+'&description='+encodeURIComponent(d)+'&title='+encodeURIComponent(p),'Pinboard','toolbar=no,width=100,height=100')); | |
// Copy and paste the above into a new bookmark. Replace "TAGS GO HERE" with your tags. Presto! |
// Execute this in the console of on your own playlist | |
var videos = document.querySelectorAll('.yt-simple-endpoint.style-scope.ytd-playlist-video-renderer'); | |
var r = []; | |
var json = []; | |
r.forEach.call(videos, function(video) { | |
var url = 'https://www.youtube.com' + video.getAttribute('href'); | |
url = url.split('&list=WL&index='); | |
url = url[0]; |
// Execute this in the console of on your own playlist | |
var videos = document.querySelectorAll('.yt-simple-endpoint.style-scope.ytd-playlist-video-renderer'); | |
var r = []; | |
var json = []; | |
r.forEach.call(videos, function(video) { | |
var url = 'https://www.youtube.com' + video.getAttribute('href'); | |
url = url.split('&list=WL&index='); | |
url = url[0]; |