Original link: http://www.concentric.net/~Ttwang/tech/inthash.htm
Taken from: http://web.archive.org/web/20071223173210/http://www.concentric.net/~Ttwang/tech/inthash.htm
Reformatted using pandoc
Thomas Wang, Jan 1997
last update Mar 2007
| @echo off | |
| ::echo Waiting For 2.5 Hour... | |
| TIMEOUT /T 9000 /NOBREAK | |
| shutdown /h | |
| ::echo. | |
| ::echo (Put some Other Processes Here) | |
| ::echo. | |
| ::pause >nul |
| #!/bin/bash | |
| SOURCE="$1" | |
| if [ "${SOURCE}" == "" ]; then | |
| echo "Must specify a source url" | |
| exit 1 | |
| fi | |
| DEST="$2" | |
| #if [ "${DEST}" == "" ]; then |
| #!/bin/bash | |
| ##/* | |
| ## * @Author: AllenYL | |
| ## * @Date: 2017-11-08 11:37:31 | |
| ## * @Last Modified by: [email protected] | |
| ## * @Last Modified time: 2017-11-08 11:37:31 | |
| ## */ | |
| # |
| """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 |
| #%% | |
| 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() |
| @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 |
| :: | |
| :: 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 |
Original link: http://www.concentric.net/~Ttwang/tech/inthash.htm
Taken from: http://web.archive.org/web/20071223173210/http://www.concentric.net/~Ttwang/tech/inthash.htm
Reformatted using pandoc
Thomas Wang, Jan 1997
last update Mar 2007
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <pthread.h> | |
| #define M 3 | |
| #define K 2 | |
| #define N 3 | |
| #define NUM_THREADS M * N | |
| /* Global variables for threads to share */ |