sudo dnf install httpd_tools
htpasswd -c -b -B passwdfile usama pass123 # -c Create new file, -B Use bcrypt algo, -b use password from command rather then stdin htpass
htpasswd -b passwdfile ahmad pass321 # Append credentials in the same file, notice absent of -c flag
This file contains hidden or 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
| images/ | |
| layers/ | |
| node_modules/ | |
| .cache/ | |
| manifests/ |
To implement the TikTok-like Recommender System on Azure, follow this structured approach using the services outlined in the updated TOML configuration:
-
Azure Event Hubs: Set up for real-time data streaming to handle user interaction events.
-
Azure Machine Learning: Use for training models with real-time data flow and trigger model training events per new data.
-
Azure Blob Storage: Employ for storing batch data with geo-redundant configuration for resilience.
-
Azure Kubernetes Service (AKS): Deploy model servers and manage containerized applications, with auto-scaling enabled for efficiency.
Last update: Fri Jul 26 08:23:20 UTC 2019 by @luckylittle
This file contains hidden or 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
| Vagrant.configure(2) do |config| | |
| ... | |
| id_rsa_pub = File.read("#{Dir.home}/.ssh/id_rsa.pub") | |
| config.vm.provision "copy ssh public key", type: "shell", | |
| inline: "echo \"#{id_rsa_pub}\" >> /home/vagrant/.ssh/authorized_keys" | |
| end |
This file contains hidden or 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
| # --------------------------------------------------------------------------- | |
| # | |
| # 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 |
This file contains hidden or 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
| # knife cheat | |
| ## Search Examples | |
| knife search "name:ip*" | |
| knife search "platform:ubuntu*" | |
| knife search "platform:*" -a macaddress | |
| knife search "platform:ubuntu*" -a uptime | |
| knife search "platform:ubuntu*" -a virtualization.system | |
| knife search "platform:ubuntu*" -a network.default_gateway |
This file contains hidden or 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
| #!/usr/bin/env ruby | |
| Dir.chdir File.join(__FILE__, "../..") | |
| unless ENV['EDITOR'] | |
| puts "No EDITOR found. Try:" | |
| puts "export EDITOR=vim" | |
| exit 1 | |
| end | |
| unless ARGV.count == 2 |
NewerOlder