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
| Creative Commons Attribution-ShareAlike 4.0 International Public | |
| License | |
| Copyright (c) {initial_release_year} - present {organization_name} | |
| By exercising the Licensed Rights (defined below), You accept and agree | |
| to be bound by the terms and conditions of this Creative Commons | |
| Attribution-ShareAlike 4.0 International Public License ("Public | |
| License"). To the extent this Public License may be interpreted as a | |
| contract, You are granted the Licensed Rights in consideration of Your |
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(raster) | |
| # Load worldpop TIF file metadata | |
| usa <- raster('usa_ppp_2020.tif') | |
| # Get GADM shapefile | |
| gadm.usa <- getData(name="GADM", country="USA",level=1) | |
| # Get single admin 1 shape | |
| gadm.wa <- gadm.usa[gadm.usa$NAME_1 == "Washington",] |
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
| #!/bin/bash | |
| unset CD | |
| # Update package lists and upgrade out of date packages | |
| ## Git | |
| add-apt-repository ppa:git-core/ppa | |
| ## R Lang | |
| apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 |
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
| .toc-macro ul { | |
| list-style: none !important; | |
| } | |
| .toc-macro .TOCOutline::after { | |
| content: '.' | |
| } | |
| #vcs-best-practices > .aui-navgroup-horizontal .aui-nav .menu-item { | |
| z-index: auto; |
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
| .aui.swift .confluenceTd, .aui.swift .confluenceTh { | |
| border: none; | |
| border-bottom: 1px solid #dfe1e6; | |
| } |
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
| .wiki-content table.confluenceTable.tablesorter>thead>tr>th { | |
| background-color: transparent; | |
| } | |
| table.aui.confluenceTable > thead { | |
| border-top: none; | |
| border-bottom-width: 1px; | |
| } |
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
| <!-- @FearTheCowboy's Simple PowerShell Task for MSBuild --> | |
| <UsingTask TaskName="PowerShell" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v12.0.dll"> | |
| <ParameterGroup><ScriptBlock ParameterType="System.String" Required="true" /></ParameterGroup> | |
| <Task><Reference Include="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v12.0.dll"/><Code Type="Class" Language="cs"><![CDATA[ | |
| public class PowerShell : Microsoft.Build.Tasks.Exec { | |
| public string ScriptBlock {set { EchoOff=true; Command = string.Format( "@powershell \"Invoke-Command -ScriptBlock {{ $errorActionPreference='Stop'; {0} ; exit $LASTEXITCODE }} \"", value.Replace("\"","\"\"").Replace("\r\n",";").Replace("\n",";").Replace("\r",";")); } } | |
| }]]></Code></Task> | |
| </UsingTask> |
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
| <# | |
| .Synopsis | |
| Moves the Default IIS Directory to another drive | |
| .DESCRIPTION | |
| Moves the Default IIS Directory to another drive | |
| Configure-IISMove IIS based on these three links: | |
| https://technet.microsoft.com/en-us/library/jj635855(v=ws.11).aspx | |
| http://blogs.iis.net/thomad/moving-the-iis7-inetpub-directory-to-a-different-drive | |
| https://support.microsoft.com/en-nz/kb/2752331 | |
| .EXAMPLE |
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
| ### PowerShell template profile | |
| ### Version 1.03 - Tim Sneath <[email protected]> | |
| ### From https://gist.github.com/timsneath/19867b12eee7fd5af2ba | |
| ### | |
| ### This file should be stored in $PROFILE.CurrentUserAllHosts | |
| ### If $PROFILE.CurrentUserAllHosts doesn't exist, you can make one with the following: | |
| ### PS> New-Item $PROFILE.CurrentUserAllHosts -ItemType File -Force | |
| ### This will create the file and the containing subdirectory if it doesn't already | |
| ### | |
| ### As a reminder, to enable unsigned script execution of local scripts on client Windows, |
NewerOlder