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
# If using macOS, please first install Command-Line Tools, Homebrew, and cmake via the following commands: | |
# $ xcode-select --install | |
# $ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
# $ brew install cmake | |
# declear vars | |
WORK_SPACE=$(pwd) | |
REPO_DIR=${WORK_SPACE}/remote_repo | |
PROJECT_DIR=${WORK_SPACE}/my_project |
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
#!/usr/bin/env bash | |
# Cause the script to exit on any errors | |
# Reference: https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/ | |
set -euo pipefail | |
# install dependencies | |
sudo apt install autoconf automake libtool curl make g++ unzip | |
# clone git repo |
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
#!/usr/bin/env bash | |
# Cause the script to exit on any errors | |
# Reference: https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/ | |
set -eo pipefail | |
# use CUDA 9.0 | |
chcuda 9.0 | |
# common variables |
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
#!/usr/bin/env bash | |
# Cause the script to exit on any errors | |
# Reference: https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/ | |
set -eo pipefail | |
WORKSPACE=$(pwd) | |
git clone https://github.com/pathak22/noreward-rl | |
git clone https://github.com/openai/go-vncdriver |
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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge] | |
"InPrivateModeAvailability"=dword:00000002 | |
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 | |
ID=$1 | |
ZIP="https://stickershop.line-scdn.net/stickershop/v1/product/${ID}/android/stickers.zip" | |
ICON="https://stickershop.line-scdn.net/stickershop/v1/product/${ID}/LINEStorePC/main.png" | |
DIR="${HOME}/line/${ID}" | |
echo LINE store: https://store.line.me/stickershop/product/${ID} | |
if [ -d "${DIR}" ]; then |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\Policies\Google\Chrome] | |
"IncognitoModeAvailability"=dword:00000002 |
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
<!-- Office 365 client configuration file. | |
For detailed information regarding configuration options visit: http://aka.ms/ODT. | |
To use the configuration file be sure to remove the comments. | |
Download Office Deployment Tool: https://www.microsoft.com/en-us/download/details.aspx?id=49117 | |
Installation command: .\setup.exe /configure .\configuration-Office365-x64.xml --> | |
<Configuration> | |
<Add OfficeClientEdition="64"> | |
<Product ID="O365ProPlusRetail"> | |
<Language ID="en-us" /> |
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
package main | |
import "os" | |
import "fmt" | |
import "strings" | |
import "github.com/hacdias/fileutils" | |
import "github.com/asdine/storm" | |
import fb "github.com/filebrowser/filebrowser/lib" | |
import "github.com/filebrowser/filebrowser/lib/bolt" |
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
figure; | |
subplot(2, 2, 1); | |
fimplicit(@(x, y) (x.^2) - x.*y + (y.^2) - sqrt(2).*x + 2*sqrt(2).*y - 4, [-5 5 -5 5]); | |
grid on; title('ex1-origin'); | |
subplot(2, 2, 2); | |
fimplicit(@(x, y) (x.^2) - x.*y + (y.^2) - 6, [-5 5 -5 5]); | |
grid on; title('ex1-translation'); | |
subplot(2, 2, 3); |
NewerOlder