# Full error:
# C:/msys64/usr/bin/ssh-keygen.exe: error while loading shared libraries: msys-crypto-3.dll: cannot open shared object file: No such file or directory
# Solution: Install missing library
pacman -S libopenssl
This file contains 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 | |
# frozen_string_literal: true | |
require 'creditcard' | |
# Usage: checkValidCreditCard.rb [card_number_0] [card_number_1] [card_number_???] | |
puts "Usage: checkValidCreditCard.rb [card_number_0] [card_number_1] [card_number_???]" if ARGV.empty? | |
index = 0 | |
while (card_number = ARGV.shift) |
This file contains 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 | |
# frozen_string_literal: true | |
# This Ruby CLI app for Time conversion | |
require 'date' | |
def show_help | |
puts <<~TEXT | |
Description: Takes a string with a time representation and outputs a string with a time representation, |
This file contains 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 | |
def to_b(string) | |
case string | |
when /^(true|t|yes|y|1)$/i then true | |
when /^(false|f|no|n|0)$/i then false | |
else raise "Cannot convert to boolean: #{string}" | |
end | |
end | |
This file contains 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 | |
# frozen_string_literal: true | |
# Usage: ruby octal_to_decimal.rb <octal_number> | |
# Covert octal number to decimal number | |
def octal_to_decimal n | |
exponent = 0 | |
result = 0 | |
n = n.to_s |
This file contains 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
#include <iostream> | |
#include <windows.h> | |
#include <urlmon.h> | |
#pragma comment(lib, "urlmon.lib") | |
int main() | |
{ | |
std::string downloadUrl = "https://www.uvnc.eu/download/1400/UltraVnc_1409_X64.msi"; // Replace with the actual download URL | |
std::string filePath = "D:\\Download\\UltraVnc_1409_X64.msi"; // Replace with the desired download path |
Install package
pip install testcontainers
Start docker
sudo systemctl status docker
sudo systemctl start docker
Download Link:
- NLS: https://www.gonitro.com/installers/nls/v13/msi/download
- Enterprise: https://www.gonitro.com/installers/enterprise/v13/msi/download
- Business: https://www.gonitro.com/installers/business/v13/msi/download
Slient install
nitro_pro13_x86.msi /qn /norestart APPLICATION_LANGUAGE=<language_code>
Replace the with listed value below
- Download http://go.microsoft.com/fwlink/?linkid=747875&clcid=0x409
- Install the cert to
trusted root certification authorities
- Download KB https://www.catalog.update.microsoft.com/Search.aspx?q=4474419%20windows%207 (Get the msu file for windows 7)
- Install and restart
OlderNewer