I hereby claim:
- I am stephanie-wang on github.
- I am swangster (https://keybase.io/swangster) on keybase.
- I have a public key whose fingerprint is CCCD 57CE 7B21 D165 B132 632B D26B 31FD FDFF A3DB
To claim this, I am signing this object:
| [Desktop Entry] | |
| Name=AoE2 URL Opener | |
| Comment=Play this game on Steam (Open URL) | |
| Exec=/home/<youruser>/.local/bin/aoe2url %u | |
| Icon=steam_icon_813780 | |
| Terminal=false | |
| Type=Application | |
| MimeType=x-scheme-handler/aoe2de; | |
| Categories=Game; |
| #!/bin/bash | |
| # see https://github.com/microsoft/RoadDetections | |
| # 1) get the data | |
| wget https://usaminedroads.blob.core.windows.net/road-detections/Oceania-Full.zip | |
| # 2) extract the records for Australia, second column of tsv only | |
| zgrep AUS Oceania-Full.zip | cut -f2 > AUS.geojson | |
| # 3) convert to GPKG, works better in QGIS |
| Please see this guide its better: | |
| https://aoe2.arkanosis.net/linux/ | |
| # Activating Proton with Steam Play | |
| # https://www.linuxjournal.com/content/introduction-linux-gaming-thanks-protondb | |
| # Select Proton Version 6.3-6 | |
| # Install AOE DE from steam | |
| # Download vc_redist.x64.exe from Microsoft |
| class XGBQuantile(XGBRegressor): | |
| def __init__(self,quant_alpha=0.95,quant_delta = 1.0,quant_thres=1.0,quant_var =1.0,base_score=0.5, booster='gbtree', colsample_bylevel=1, | |
| colsample_bytree=1, gamma=0, learning_rate=0.1, max_delta_step=0,max_depth=3, min_child_weight=1, missing=None, n_estimators=100, | |
| n_jobs=1, nthread=None, objective='reg:linear', random_state=0,reg_alpha=0, reg_lambda=1, scale_pos_weight=1, seed=None,silent=True, subsample=1): | |
| self.quant_alpha = quant_alpha | |
| self.quant_delta = quant_delta | |
| self.quant_thres = quant_thres | |
| self.quant_var = quant_var | |
| super().__init__(base_score=base_score, booster=booster, colsample_bylevel=colsample_bylevel, |
| #!/bin/bash | |
| if [ -z "$1" ]; then | |
| echo "Error - Usage: $0 <parent-id>" | |
| exit 1 | |
| fi | |
| set -eu | |
| # set -x |
| import ray | |
| import numpy as np | |
| import time | |
| ray.init(address="auto") | |
| @ray.remote | |
| def f(x): |
| from math import cos, log, pi | |
| from qgis.utils import iface | |
| from qgis.PyQt.QtWidgets import QLabel | |
| # Not needed here but could be useful later | |
| # def getScale(zoom_level, screen_dpi=96, latitude=0): | |
| # resolution = (6378137.0 * 2 * pi / 256) * cos(latitude) / (2**zoom_level) | |
| # return (screen_dpi * 1/0.0254 * resolution) | |
| def getZoomLevel(scale, screen_dpi=96, latitude=0): |
I hereby claim:
To claim this, I am signing this object:
| After searching for more than 6 hours trying to understand what is zoho's mail problem to send emails! | |
| After i red lots lots of there answer with no helpul solution i found the issue was that you need to have the ``` sender ``` option | |
| in your nodemailer option same like email with same sender name and sender email. like this : ``` from: '"senderNameSameLikeTheZohoOne" <[email protected]>',``` | |
| my config : | |
| ``` | |
| const transporter = nodemailer.createTransport({ | |
| service:'Zoho', | |
| host: 'smtp.zoho.com', | |
| port: 465, |