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
| javascript:(function()%7Bvar%20str%20%3D%20location.href%3Bstr%20%3D%20str.replace(%2F%5C.pdf%2Fg%2C%20%22%22)%3Bstr%20%3D%20str.replace(%2Fpdf%2Fg%2C%20%22abs%22)%3Blocation.href%20%3D%20str%7D)() |
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 | |
| # Generate a pseudo UUID | |
| uuid() | |
| { | |
| local N B C='89ab' | |
| for (( N=0; N < 16; ++N )) | |
| do | |
| B=$(( $RANDOM%256 )) |
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
| @echo off | |
| ::echo Waiting For 2.5 Hour... | |
| TIMEOUT /T 9000 /NOBREAK | |
| shutdown /h | |
| ::echo. | |
| ::echo (Put some Other Processes Here) | |
| ::echo. | |
| ::pause >nul |
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 | |
| SOURCE="$1" | |
| if [ "${SOURCE}" == "" ]; then | |
| echo "Must specify a source url" | |
| exit 1 | |
| fi | |
| DEST="$2" | |
| #if [ "${DEST}" == "" ]; 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
| #!/bin/bash | |
| ##/* | |
| ## * @Author: AllenYL | |
| ## * @Date: 2017-11-08 11:37:31 | |
| ## * @Last Modified by: allen7575@gmail.com | |
| ## * @Last Modified time: 2017-11-08 11:37:31 | |
| ## */ | |
| # |
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
| """Simple convolutional neural network classififer.""" | |
| from __future__ import absolute_import | |
| from __future__ import division | |
| from __future__ import print_function | |
| import tensorflow as tf | |
| FLAGS = tf.flags.FLAGS |
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 matplotlib.pyplot as plt | |
| import matplotlib as mpl | |
| import numpy as np | |
| x = np.linspace(0, 20, 100) | |
| plt.plot(x, np.sin(x)) | |
| plt.show() |
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
| @startuml | |
| actor Foo1 | |
| boundary Foo2 | |
| control Foo3 | |
| entity Foo4 | |
| database Foo5 | |
| collections Foo6 | |
| Foo1 -> Foo2 : To boundary | |
| Foo1 -> Foo3 : To control | |
| Foo1 -> Foo4 : To entity |
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
| :: | |
| :: install choco | |
| :: | |
| @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" | |
| :: | |
| :: install wget | |
| :: | |
| choco install -y wget |