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
@{ | |
RootModule = 'Conda.psm1' | |
ModuleVersion = '1.0.0.0' | |
FunctionsToExport = @( | |
'Initialize-Conda' | |
) | |
CmdletsToExport = '*' | |
VariablesToExport = '*' | |
AliasesToExport = '*' | |
GUID = '23421dee-ca6f-4847-9c93-1268c629964a' |
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
function Initialize-Conda | |
{ | |
$CONDA_ROOT_DIR = "/path/to/Anaconda" # Change this | |
[System.Environment]::SetEnvironmentVariable("CONDA_EXE", "$CONDA_ROOT_DIR/Scripts/conda.exe", [System.EnvironmentVariableTarget]::Process) | |
[System.Environment]::SetEnvironmentVariable("_CE_M", "", [System.EnvironmentVariableTarget]::Process) | |
[System.Environment]::SetEnvironmentVariable("_CE_CONDA", "", [System.EnvironmentVariableTarget]::Process) | |
[System.Environment]::SetEnvironmentVariable("_CONDA_ROOT", "$CONDA_ROOT_DIR", [System.EnvironmentVariableTarget]::Process) | |
[System.Environment]::SetEnvironmentVariable("_CONDA_EXE", "$CONDA_ROOT_DIR/Scripts/conda.exe", [System.EnvironmentVariableTarget]::Process) | |
Import-Module -Scope Global "$Env:_CONDA_ROOT/bin/conda" |
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
function Initialize-Conda | |
{ | |
$CONDA_ROOT_DIR = "C:/path/to/Anaconda" # Change this | |
[System.Environment]::SetEnvironmentVariable("CONDA_EXE", "$CONDA_ROOT_DIR/Scripts/conda.exe", [System.EnvironmentVariableTarget]::Process) | |
[System.Environment]::SetEnvironmentVariable("_CE_M", "", [System.EnvironmentVariableTarget]::Process) | |
[System.Environment]::SetEnvironmentVariable("_CE_CONDA", "", [System.EnvironmentVariableTarget]::Process) | |
[System.Environment]::SetEnvironmentVariable("_CONDA_ROOT", "$CONDA_ROOT_DIR", [System.EnvironmentVariableTarget]::Process) | |
[System.Environment]::SetEnvironmentVariable("_CONDA_EXE", "$CONDA_ROOT_DIR/Scripts/conda.exe", [System.EnvironmentVariableTarget]::Process) | |
Import-Module -Scope Global "$Env:_CONDA_ROOT/shell/condabin/Conda.psm1" |
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
import unittest | |
def multiple3_5(high:int) -> int: | |
sum = 0 | |
for i in range (1, high): | |
if i % 3 == 0: | |
sum += i | |
elif i % 5 == 0: | |
sum += i | |
return sum |
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
Attempt | Score | Vector | |
---|---|---|---|
1 | 88.364 | 0.000 | |
2 | 89.329 | 0.965 | |
3 | 89.471 | 0.142 | |
4 | 90.357 | 0.886 | |
5 | 90.408 | 0.051 | |
6 | 89.743 | -0.665 | |
7 | 90.822 | 0.414 | |
8 | 91.008 | 0.186 | |
9 | 91.310 | 0.302 |
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
$dir = Get-Location | |
[string]::Format("Base: {0}",$dir) | |
foreach ($d in Get-ChildItem -Directory $dir) | |
{ | |
[String]::Format("Processing: {0}",$d) | |
Push-Location $d | |
git reset --hard | |
git pull origin | |
git push origin |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
このGistは私のOpenPGP鍵でリンクされたIDを確認し、このGitHubアカウントにリンクします。 | |
検証のトークン: | |
[Verifying my OpenPGP key: openpgp4fpr:106639287b0be7cda0cb36861fdfd937aff2e40b] |
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
;; Site Lisp Path | |
(if (fboundp 'normal-top-level-add-subdirs-to-load-path) | |
(let* ((my-lisp-dir "~/.emacs.d/site-lisp/") | |
(default-directory my-lisp-dir)) | |
(setq load-path (cons my-lisp-dir load-path)) | |
(normal-top-level-add-subdirs-to-load-path))) |
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
### Keybase proof | |
I hereby claim: | |
* I am hsaito on github. | |
* I am unsignedint (https://keybase.io/unsignedint) on keybase. | |
* I have a public key whose fingerprint is 1066 3928 7B0B E7CD A0CB 3686 1FDF D937 AFF2 E40B | |
To claim this, I am signing this object: |
NewerOlder