Answer: JavaScript has both strict and type–converting comparisons:
- Strict comparison (e.g., ===) checks for value equality without allowing coercion
- Abstract comparison (e.g. ==) checks for value equality with coercion allowed
#@title Stable Diffusion web UI(最新版)をGoogle Colabで起動するためのコマンド | |
#@markdown ## このColabノートブックについて | |
#@markdown [Stable Diffusion web UI](https://github.com/AUTOMATIC1111/stable-diffusion-webui) をGoogle Colabで起動するためのノートブックとなります。 | |
#@markdown 利用したいモデルや拡張機能、LoRAなどにチェックを入れた上で実行ボタンを押すことで、設定した内容でStable Diffusion web UIが起動します。 | |
#@markdown また各項目には公式ページへのリンクをつけています。利用の際は公式ページよりライセンスなどを確認した上でご利用ください。 | |
### Stable Diffusion web UIインストール |
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+
//Attach to player object | |
using UnityEngine; | |
using UnityEngine.Networking; | |
using System.Collections; | |
public class Voice : NetworkBehaviour | |
{ | |
int lastSample; | |
AudioClip c; |
#!/bin/bash | |
# Adapted from https://stackoverflow.com/a/47436840 | |
function lib_installed() { /sbin/ldconfig -N -v $(sed 's/:/ /' <<< $LD_LIBRARY_PATH) 2>/dev/null | grep $1; } | |
function check() { lib_installed $1 && echo "$1 is installed" || echo -e "\nERROR: $1 is NOT installed\n"; } | |
check libcuda.so | |
check libcudart | |
check libcudnn |
#!/bin/bash | |
echo "GETTING STARTED..." | |
# Go Home | |
cd ~ | |
# Create code environment | |
mkdir -p ~/Documents/code/workspace | |
mkdir -p ~/Documents/code/scripts |
/* | |
FREQ.SIMPLE | |
Calculates a simple frequency table of the values in a column | |
Inputs: | |
1. data - a single column of data | |
*/ | |
FREQ.SIMPLE = LAMBDA(data, |
/* | |
CORRELMATRIX | |
Returns a correlation matrix | |
Inputs: | |
x - an array of 2:n numeric columns of equal size for which to calculate the correlation of each pair of 2 columns | |
has_header - TRUE if the first row of x contains column headers. If omitted or FALSE, x is assumed to not include a header row | |
ranked - if TRUE, calculate the Spearman Ranked Correlation Coefficient. If FALSE or omitted, calculate the Pearson Correlation Coefficient | |
*/ |
For local development you could also use Nginx with PHP as an replacement for XAMPP.
c:\nginx
c:/nginx/config/nginx.conf
and replace the server { ... }
section with this configuration:// Copyright (c) 2015-2021, bacondither | |
// All rights reserved. | |
// | |
// Redistribution and use in source and binary forms, with or without | |
// modification, are permitted provided that the following conditions | |
// are met: | |
// 1. Redistributions of source code must retain the above copyright | |
// notice, this list of conditions and the following disclaimer | |
// in this position and unchanged. | |
// 2. Redistributions in binary form must reproduce the above copyright |