Software required:
After installation and putting the youtube-dl in PATH
youtube-dl \
| # Courtesy of https://stackabuse.com/sorting-algorithms-in-python/ | |
| def partition(nums, low, high): | |
| # We select the middle element to be the pivot. Some implementations select | |
| # the first element or the last element. Sometimes the median value becomes | |
| # the pivot, or a random one. There are many more strategies that can be | |
| # chosen or created. | |
| pivot = nums[(low + high) // 2] | |
| i = low - 1 | |
| j = high + 1 |
| // VMware vRealize Orchestrator action sample. Valid for vRA/vRO 7.0+ | |
| // | |
| // Get or Create a Configuration Element | |
| // | |
| // Action Inputs: | |
| // categoryPath string Configuration Category Path (full path) | |
| // configName string Name of Configuration Element | |
| // | |
| // Action Output: | |
| // return type: ConfigurationElement |
| #!/bin/sh | |
| aria2c --dir=./ --input-file=urls.txt --max-concurrent-downloads=1 --connect-timeout=60 --max-connection-per-server=16 --split=16 --min-split-size=1M --human-readable=true --download-result=full --file-allocation=none | |
| date | |
| # Now create this file in the same directory and paste all urls in it: urls.txt | |
| sudo pacman -S ruby ruby-rdoc gcc make | |
| gem update --user-install | |
| gem install jekyll --user-install | |
| # finally add $HOME/.gem/ruby/2.7.0/bin to your PATH variable |
Software required:
After installation and putting the youtube-dl in PATH
youtube-dl \
| Byobu is a suite of enhancements to tmux, as a command line | |
| tool providing live system status, dynamic window management, | |
| and some convenient keybindings: | |
| F1 * Used by X11 * | |
| Shift-F1 Display this help | |
| F2 Create a new window | |
| Shift-F2 Create a horizontal split | |
| Ctrl-F2 Create a vertical split | |
| Ctrl-Shift-F2 Create a new session |
| # --------------------------------------------------------------------------- | |
| # | |
| # Description: This file holds all my BASH configurations and aliases | |
| # | |
| # Sections: | |
| # 1. Environment Configuration | |
| # 2. Make Terminal Better (remapping defaults and adding functionality) | |
| # 3. File and Folder Management | |
| # 4. Searching | |
| # 5. Process Management |
Movies Recommendation:
Music Recommendation:
| // This example shows how to render pages that perform AJAX calls | |
| // upon page load. | |
| // | |
| // Instead of waiting a fixed amount of time before doing the render, | |
| // we are keeping track of every resource that is loaded. | |
| // | |
| // Once all resources are loaded, we wait a small amount of time | |
| // (resourceWait) in case these resources load other resources. | |
| // | |
| // The page is rendered after a maximum amount of time (maxRenderTime) |