Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/bin/bash | |
# Copyright (c) 2021 astherier | |
# This software is released under the MIT License. | |
# http://opensource.org/licenses/mit-license.php | |
# | |
#install-cuda-on-wsl.sh | |
#WSL2のUbuntu側で行うCUDA on WSLのセットアップスクリプト | |
#最終更新:2021/07/17 | |
#https://astherier.com/blog/2021/07/windows11-cuda-on-wsl2-setup/ | |
# |
This file has been truncated, but you can view the full file.
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
{ | |
"version": "V2", | |
"requestId": "test1", | |
"timestamp": 0, | |
"lang": "ja", | |
"images": [ | |
{ | |
"format": "jpeg", | |
"name": "test-voucher", |
We can't make this file beautiful and searchable because it's too large.
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
created,d1,d2,d3,d4,d5,d6,d7,d8 | |
2019-07-16T15:00:10.766Z,27.67,60,1008.068,0,41.87,97,1038, | |
2019-07-16T15:00:40.748Z,27.66,59.99,1008.063,0,37.3,99,1050, | |
2019-07-16T15:01:10.650Z,27.64,60.07,1008.057,0,43.65,99,1056, | |
2019-07-16T15:01:41.800Z,27.67,60.15,1008.058,0,39.84,99,1050, | |
2019-07-16T15:02:10.836Z,27.62,60.46,1008.074,0,46.57,100,1060, | |
2019-07-16T15:02:40.887Z,27.66,60.3,1008.072,0,40.09,97,1041, | |
2019-07-16T15:03:10.756Z,27.63,60.59,1008.065,0,38.68,93,1014, | |
2019-07-16T15:03:40.698Z,27.71,60.64,1008.053,0,39.66,95,1029, | |
2019-07-16T15:04:10.739Z,27.79,60.31,1008.064,0,38.84,83,951, |
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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: nginx | |
spec: | |
selector: | |
matchLabels: | |
app: nginx | |
replicas: 2 | |
template: |
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 numpy as np | |
def getSlidingWindow(a, size, step=1): | |
if not ((type(size) == type(0)) and (type(step) == type(0))): | |
raise Exception("type(size) and type(step) must be int.") | |
if step > size: | |
raise Exception("step must not be larger than size.") | |
if size > len(a): | |
raise Exception("size must not be larger than array length.") | |
a = np.asarray(a) |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF8"> | |
<title>Send mail when webpage opened</title> | |
</head> | |
<body> | |
<script> | |
window.onload = function() { | |
var event_name = 'webpage_opened'; |
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
var bleacon = require('bleacon'); | |
var uuidSeed = 'e279e48e-5b42-401d-b3ac-8289017070e6'; | |
var uuid = uuidSeed.replace(/-/g,''); | |
var major = 0; | |
var minor = 0; | |
var measuredPower = -59; | |
console.log('Start iBeacon...'); | |
bleacon.startAdvertising(uuid, major, minor, measuredPower); |
NewerOlder