The following steps will install the Linux Mint driver for the TP-Link Archer T4U Plus AC1300 USB Wifi adapter.
-
Open a Linux terminal and run the following commands to download and build the driver.
The following steps will install the Linux Mint driver for the TP-Link Archer T4U Plus AC1300 USB Wifi adapter.
Open a Linux terminal and run the following commands to download and build the driver.
| --- ruby-2.5.5/ext/openssl/lib/openssl/ssl.rb | |
| +++ ruby-2.5.5-gost/ext/openssl/lib/openssl/ssl.rb | |
| @@ -51,6 +51,8 @@ class SSLContext | |
| OpenSSL::OPENSSL_VERSION_NUMBER >= 0x10100000) | |
| DEFAULT_PARAMS.merge!( | |
| ciphers: %w{ | |
| + GOST2001-GOST89-GOST89 | |
| + GOST94-GOST89-GOST89 | |
| ECDHE-ECDSA-AES128-GCM-SHA256 | |
| ECDHE-RSA-AES128-GCM-SHA256 |
| #!/usr/bin/env bash | |
| # | |
| # File: kafka-move-leadership.sh | |
| # | |
| # Description | |
| # =========== | |
| # | |
| # Generates a Kafka partition reassignment JSON snippet to STDOUT to move the leadership | |
| # of any replicas away from the provided "source" broker to different, randomly selected | |
| # "target" brokers. Run this script with `-h` to show detailed usage instructions. |
| $ip = "10.20.30.40" | |
| $result = gwmi -query "SELECT * FROM Win32_PingStatus WHERE Address = '$ip'" | |
| if ($result.StatusCode -eq 0) { | |
| Write-Host "$ip is up." | |
| } | |
| else{ | |
| Write-Host "$ip is down." | |
| Write-Host "Disconnecting..." | |
| rasdial.exe DegreeVPN /DISCONNECT | |
| Write-Host "Connecting..." |
| <advancedLogging> | |
| <server> | |
| <logDefinitions> | |
| <logDefinition rollLogFileOnConfigChanges="false" writeLogDataToDisk="true" baseFileName="APILog" logRaiseTraceEvents="false" enabled="true" logRollOption="Schedule" maxDurationSeconds="86400" maxFileSizeKB="1024" schedule="Hourly" publishLogEvent="true"> | |
| <selectedFields> | |
| <logField id="Date-Local" logHeaderName="date-local" required="false" defaultValue="" /> | |
| <logField id="Time-Local" logHeaderName="time-local" required="false" defaultValue="" /> | |
| <logField id="URI-Stem" logHeaderName="cs-uri-stem" required="false" defaultValue="" /> | |
| <logField id="URI-Querystring" logHeaderName="cs-uri-query" required="false" defaultValue="" /> | |
| <logField id="Referer" logHeaderName="cs(Referer)" required="false" defaultValue="" /> |
| rsync --partial --progress --rsh=ssh user@host:remote_file local_file |
| def ProductFilters.option_with_values(option_scope, option, values) | |
| # get values IDs for Option with name {@option} and value-names in {@values} for use in SQL below | |
| option_values = Spree::OptionValue.where(:presentation => [values].flatten).joins(:option_type).where(OptionType.table_name => {:name => option}).pluck("#{OptionValue.table_name}.id") | |
| return option_scope if option_values.empty? | |
| option_scope = option_scope.where("#{Product.table_name}.id in (select product_id from #{Variant.table_name} v left join spree_option_values_variants ov on ov.variant_id = v.id where ov.option_value_id in (?))", option_values) | |
| option_scope | |
| end | |
| # option scope |