https://moox.io/blog/keep-in-sync-git-repos-on-github-gitlab-bitbucket/
This file contains 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
同步atom packages,确保packages都能在任何自己本子上同步! |
This file contains 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
<div class="container"> | |
<template id="app-template"> | |
<div> | |
<h1>{{msg}}</h1> | |
</div> | |
</template> | |
<template id="clock-min"> | |
<div id="min"></div> | |
</template> |
This file contains 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
########### | |
# Buckets # | |
########### | |
scoop bucket add extras | |
scoop bucket add java | |
scoop bucket add nerd-fonts | |
scoop bucket add scoop-clojure https://github.com/littleli/scoop-clojure | |
############ |
This file contains 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
# Install scoop | |
Set-ExecutionPolicy RemoteSigned -scope CurrentUser | |
iwr -useb get.scoop.sh | iex | |
# Prepare scoop | |
scoop install aria2 | |
scoop install git | |
# Add buckets |
This file contains 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
set-executionpolicy remotesigned -scope currentuser | |
$key = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced' | |
Set-ItemProperty $key Hidden 1 | |
Set-ItemProperty $key HideFileExt 0 | |
Set-ItemProperty $key ShowSuperHidden 0 | |
## Install DotNetCore SDK | |
$dotnetInstallFilename = 'dotnet-install.ps1' | |
If(!(test-path $dotnetInstallFilename)) |
This file contains 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
# Culture | |
Set-Culture -CultureInfo en-us | |
# Chocolatey profile | |
$ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" | |
if (Test-Path($ChocolateyProfile)) { | |
Import-Module "$ChocolateyProfile" | |
} | |
# Check git |
This file contains 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
$creds = Get-Credential | |
$username = $creds.GetNetworkCredential().UserName | |
$password = $creds.GetNetworkCredential().Password | |
$proxyServer = "https://local/proxy/server" | |
$webProxy = New-Object System.Net.WebProxy($proxyServer,$true) | |
$webclient = new-object System.Net.WebClient | |
$creds = Get-Credential | |
$webclient.Proxy=$webproxy | |
$webclient.Proxy.Credentials = $creds |
OlderNewer