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
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying | |
# file Copyright.txt or https://cmake.org/licensing for details. | |
#.rst: | |
# FindOpenMP | |
# ---------- | |
# | |
# Finds OpenMP support | |
# | |
# This module can be used to detect OpenMP support in a compiler. If |
#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 */ |
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
:: | |
:: 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 |
@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 |
#%% | |
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() |
"""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 |
#!/bin/bash | |
SOURCE="$1" | |
if [ "${SOURCE}" == "" ]; then | |
echo "Must specify a source url" | |
exit 1 | |
fi | |
DEST="$2" | |
#if [ "${DEST}" == "" ]; then |
@echo off | |
::echo Waiting For 2.5 Hour... | |
TIMEOUT /T 9000 /NOBREAK | |
shutdown /h | |
::echo. | |
::echo (Put some Other Processes Here) | |
::echo. | |
::pause >nul |