오렌지파이5플러스
로 간단한 데탑환경 만들기- 2.5Gbps 듀얼랜을 이용하여
스위칭허브
없이데이지체인
으로 구성된 클러스터 만들기
This file contains 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 ( | |
"fmt" | |
"io" | |
"net/http" | |
"regexp" | |
"strings" | |
) |
This file contains 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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Calendar</title> | |
<link rel="icon" href="data:,"> |
This file contains 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 CUDA and OpenCL code | |
Compilation: | |
* CUDA (*.cu): nvcc filename.cu | |
* CUDA + CUBLAS (*.cu): nvcc filename.cu -lcublas | |
* OpenCL (*.c): gcc filename.c -lOpenCL |
This file contains 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 | |
curl --progress-bar -Lo clblast.zip "https://github.com/CNugteren/CLBlast/releases/download/1.5.3/CLBlast-1.5.3-Windows-x64.zip" | |
curl --progress-bar -Lo opencl.zip "https://github.com/KhronosGroup/OpenCL-SDK/releases/download/v2023.04.17/OpenCL-SDK-v2023.04.17-Win-x64.zip" | |
md openclblast | |
tar -xf clblast.zip -C openclblast | |
tar -xf opencl.zip -C openclblast | |
xcopy openclblast\OpenCL-SDK-v2023.04.17-Win-x64 openclblast /E /Y |
This file contains 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 | |
set BUILDTOOLS_VERSION=33.0.0 | |
cd jre | |
set JAVA_HOME=%cd% | |
set PATH=%cd%;%cd%\bin;%PATH% | |
cd .. | |
cd tools |
This file contains 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
@rem cd tidb-server | |
@rem go build -o ../bin | |
@echo off | |
set "tidbstorepath=%cd%\store\tidb" | |
set "tidbstorepath=%tidbstorepath:\=/%" | |
echo Listening at localhost:4000 |
This file contains 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
<html> | |
<head> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.0/moment.min.js"></script> | |
<script type="text/javascript" src="https://unpkg.com/[email protected]/build/output/knockout-latest.js"></script> | |
</head> | |
<body> | |
<div class="cal-cavity"> | |
<button onclick="moveThisMonth()">Goto this month</button> |
This file contains 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 2D JavaScript Vector Class | |
Hacked from evanw's lightgl.js | |
https://github.com/evanw/lightgl.js/blob/master/src/vector.js | |
*/ | |
function Vector(x, y) { |
NewerOlder