- Run the following command and copy the ID of your VM
VBoxManage list vms
=> "virtualMachine" {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}- Go to the Vagrant project configuration folder
| import multiprocessing | |
| from time import sleep | |
| def func(): | |
| name = multiprocessing.current_process().name | |
| print("starting of process named: ", name) | |
| sleep(2) | |
| print("exiting process") | |
| if __name__ == '__main__': |
| #!/usr/bin/python3 | |
| """ | |
| Creates an RSS feed from DBLP JSON data. | |
| Meant to be used as CGI script but can also be used as command-line. | |
| Feedback and pull request welcome. | |
| Martin Monperrus | |
| March 2016 | |
| Licence: public domain | |
| URL: https://gist.github.com/monperrus/978079d39c1cc7b4cbae78ddd1b8ed99 | |
| Operation: https://www.monperrus.net/martin/dblp-rss.py?search=venue:FASE: |
VBoxManage list vms
=> "virtualMachine" {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}Examples here use the default settings, see the VidStab readme on GitHub for more advanced instructions.
Here's an example video I made
brew install ffmpeg --with-libvidstab
| docker ps | awk {' print $1 '} | tail -n+2 > tmp.txt; for line in $(cat tmp.txt); do docker kill $line; done; rm tmp.txt |
| // License: MIT - https://opensource.org/licenses/MIT | |
| // Author: Michele Locati <michele@locati.it> | |
| // Source: https://gist.github.com/mlocati/7210513 | |
| function perc2color(perc) { | |
| var r, g, b = 0; | |
| if(perc < 50) { | |
| r = 255; | |
| g = Math.round(5.1 * perc); | |
| } | |
| else { |
| figlet "I've got something to say" | |
| figlet -f thick "Make Tech ASCIIer" | |
| date | figlet -f basic |
| var id_mathjax_plugin; | |
| (function() { | |
| var mjp = id_mathjax_plugin = { | |
| load_mathjax: function() { | |
| function e(e){var t='.MathJax .mn {background: inherit;} .MathJax .mi {color: inherit;} .MathJax .mo {background: inherit;}',n=e.createElement('style');n.innerText=t;try{n.textContent=t}catch(r){}e.getElementsByTagName('body')[0].appendChild(n);var i=e.createElement('script'),s;i.src='https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML.js',i.type='text/javascript',s='MathJax.Hub.Config({skipStartupTypeset:true,tex2jax:{inlineMath:[[\'$\',\'$\']],displayMath:[[\'\\\\[\',\'\\\\]\']],processEscapes:true}});MathJax.Hub.Startup.onload();',window.opera?i.innerHTML=s:i.text=s,e.getElementsByTagName('head')[0].appendChild(i)}function t(t){t.MathJax===undefined?e(t.document):t.MathJax.Hub.Queue(new t.Array('Typeset',t.MathJax.Hub))}var n=document.getElementsByTagName('iframe'),r,i;t(window);for(r=0;r<n.length;r++)i=n[r].contentWindow||n[r].contentDocument,i.document||(i=i.parentN |
| history | awk '{ print $2}' | sort | uniq -c | sort -n | tail -n 30 | sed -n '{s/^[ \t]*//};p' | gnuplot -p -e 'set xtics rotate out;set style data histogram;set style fill solid 1.0 border -1;plot "-" u 1:xtic(2) notitle' |