Discover gists
<?xml version="1.0" encoding="utf-8"?> | |
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<user>S-1-5-21-1953236517-242735908-2433092285-500</user> | |
<keys> | |
<key installerType="Unknown" displayName="TeamViewer" displayVersion="15.12.4"> | |
<RegistryView>Registry32</RegistryView> | |
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TeamViewer</KeyPath> | |
<DefaultValue /> | |
<InstallLocation><![CDATA[C:\Program Files (x86)\TeamViewer]]></InstallLocation> | |
<UninstallString><![CDATA["C:\Program Files (x86)\TeamViewer\uninstall.exe"]]></UninstallString> |
def integral(self, lower, upper, precision=10000): | |
if lower > upper: | |
lower, upper = upper, lower | |
self.sign = -1 | |
number_of_points = (upper - lower) * precision | |
xs = np.linspace(lower, upper, int(number_of_points)) | |
integral = 0 | |
super_sum = 0 | |
sub_sum = 0 | |
for index in tqdm(range(len(xs) - 1)): |
public interface IStrategy { | |
List<Route> getRoutes(String source, String destination); | |
} |
export JAVA_HOME=/path/to/java |
# Visualising the actual values vs predicted values | |
compare_df <- data.frame( | |
actual=my.test, | |
xgb_n=yhat.xgb, | |
xgb_tuned=yhat2.xgb | |
) | |
# Actual vs predicted values (default parameter values) | |
library(scales) | |
ggplot(compare_df) + |
def batch_pairwise_sqdist(x: T.Tensor, y: T.Tensor, c_code=cuda_ext_available): | |
""" | |
Calculates the pair-wise square distance between two sets of points. | |
To get the Euclidean distance, explicit square root needs to be applied | |
to the output. | |
:param x: | |
a tensor of shape ``(m, nx, d)`` or ``(nx, d)``. | |
If the tensor dimension is 2, the tensor batch dim is broadcasted. | |
:param y: |
/etc/security/limits.conf | |
#<user> <type> <item> <value> | |
* soft nofile 1048576 | |
* hard nofile 1048576 | |
root soft nofile 1048576 | |
root hard nofile 1048576 | |
/etc/sysctl.conf | |
net.ipv4.ip_local_port_range = 12000 65535 |
SELECT DISTINCT t.id, t.cim, GROUP_CONCAT(DISTINCT sz.nev SEPARATOR ', ') | |
FROM termek_szerzo tsz | |
LEFT JOIN termek t ON t.id = tsz.termek_id | |
LEFT JOIN szerzo sz ON sz.id = tsz.szerzo_id | |
WHERE tsz.szerzo_id IN(112, 20, 72, 584, 1158, 1023, 1242, 80, 28, 64, 1403, 1522, 60, 113) | |
AND t.tt_id = 1 | |
AND t.rendelheto = 1 | |
AND t.kiado_id = 7 | |
GROUP BY t.id | |
ORDER BY t.cim |
var open = window.XMLHttpRequest.prototype.open, | |
send = window.XMLHttpRequest.prototype.send, | |
onReadyStateChange; | |
function openReplacement(method, url, async, user, password) { | |
var syncMode = async !== false ? 'async' : 'sync'; | |
console.warn( | |
'Preparing ' + | |
syncMode + | |
' HTTP request : ' + |
esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.7.0-20190802001-standard | |
# https://esxi-patches.v-front.de/ |