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 tensorflow as tf | |
| hello = tf.constant('Hello, TensorFlow!') | |
| sess = tf.Session() | |
| print(sess.run(hello)) |
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
| %% Remove items from workspace | |
| clear; | |
| %% Interval of x | |
| x = linspace(-10, 10, 10000); | |
| %% Example 1 | |
| orig = x; | |
| a_0 = 0; | |
| a_k = @(k) 0; |
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
| clear; | |
| %% Data Set | |
| t = [-2; -1; 0; 1; 2]; | |
| y = [ 4; 3; 1; -1; -3]; | |
| %% Degree of approximation | |
| % n = 1; % linear | |
| % n = 2; % quadratic | |
| % n = 3; % cubic |
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); |
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
| <!-- 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
| 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
| #!/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_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
| #!/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 |
OlderNewer