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
library(dplyr) | |
library(dggridR) | |
library(rgeos) | |
library(rgdal) | |
library(raster) | |
library(sf) |
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
https://gist.github.com/singhabhinav/132b8196abac026b43fa | |
https://medium.com/@awesomejerry/https-with-sslforfree-and-nginx-manually-448b1cc8e8ab |
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
Step 1 - Create .crt file | |
cat domainname.crt domainname.ca-bundle > domainname-ssl-bundle.crt | |
Step 2- | |
Add lines for ssl_certificate in nginx configuration | |
server { | |
listen 80 default_server; |
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
$list=Get-PnpDevice | Sort-Object -Property Name | Where-Object{ | |
( $_.ConfigurationFlags -NotLike '*DISABLED*') -and | |
( $_.FriendlyName -like '*touch screen*' ) }| ft Name, InstanceId -AutoSize | |
if($list.count==1){ | |
Get-PnpDevice | Where-Object {$_.FriendlyName -like '*touch screen*'} | Disable-PnpDevice -Confirm:$false | |
}else{ | |
Get-PnpDevice | Where-Object {$_.FriendlyName -like '*touch screen*'} | Enable-PnpDevice -Confirm:$false | |
} |
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
||img.cdn.asandl.com/Panel/*.gif | |
||iranjo.cf/* | |
||iranjo.cf/*.az |
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
create table SPATIAL_SCHEMA.wildfire as | |
select *, sin(radians(11.25)- radians(inza..ST_X(inza..ST_Centroid(geom))))*cos(radians(58.28252559)) as x, | |
(cos(radians(inza..ST_Y(inza..ST_Centroid(geom))))*sin(radians(58.28252559)))-(sin(radians(inza..ST_X(inza..ST_Centroid(geom))))*cos(radians(58.28252559))*cos(radians(11.25)-radians(inza..ST_X(inza..ST_Centroid(geom)))) ) as y, | |
degrees(atan2(x,y)) as bearing | |
from SPATIAL_SCHEMA.finalgrid | |
where resolution=22 |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-eqiv="X-UA-Compatible" content="IE-edge"> | |
<meta name="viewpoint" content="width=device-width, initial-scale=1"> | |
<title>sample</title> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script> | |
<!-- Latest compiled and minified CSS --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> |
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
installing boost python | |
sudo apt-get install libboost-python-dev |
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
installing python gdal ubunto | |
udo add-apt-repository -y ppa:ubuntugis/ppa | |
sudo apt update | |
sudo apt upgrade # if you already have gdal 1.11 installed | |
sudo apt install gdal-bin python-gdal python3-gdal # if you don't have gdal 1.11 already installed |
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
cd /nz/var | |
mkdir inza | |
cd inza | |
--Copy files using winSCP | |
chmod 777 unpack | |
./unpack | |
--we must login as root | |
exit | |
exit | |
username:root |