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
services: | |
mssql: | |
container_name: mssql-db | |
hostname: mssql-db | |
image: mcr.microsoft.com/mssql/server:2022-latest | |
environment: | |
ACCEPT_EULA: 'Y' | |
MSSQL_SA_PASSWORD: 'Passw0rd' | |
MSSQL_DATA_DIR: /var/opt/mssql/data |
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
#EXTM3U name="广东电信IPTV" | |
#EXTINF:-1 tvg-name="广东卫视" group-title="IPTV-广东电视台",广东卫视 | |
http://192.168.168.1:8888/rtp/239.77.0.2:5146 | |
#EXTINF:-1 tvg-name="广东卫视" group-title="IPTV-广东电视台",广东卫视 | |
http://192.168.168.1:8888/rtp/239.77.1.2:5146 | |
#EXTINF:-1 tvg-name="广东卫视" group-title="IPTV-广东电视台",广东卫视高清 | |
http://192.168.168.1:8888/rtp/239.77.1.19:5146 | |
#EXTINF:-1 tvg-name="广东卫视" group-title="IPTV-广东电视台",广东卫视高清 | |
http://192.168.168.1:8888/rtp/239.77.1.152:5146 | |
#EXTINF:-1 tvg-name="广东卫视" group-title="IPTV-广东电视台",广东卫视高清 |
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
<el-input | |
ref="carModelInput" | |
v-model="carModelSelected.label" | |
placeholder="请选择" | |
clearable | |
class="w300" | |
@clear="clearCarModel"> | |
<el-button slot="append" icon="el-icon-search" @click="carTypeVisible = true" /> | |
</el-input> | |
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
git update-index --skip-worktree /path/to/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
WIFI:T:WPA;S:wifiname;P:wifipasswd;; | |
WIFI 表示这个是一个连接 WiFi 的协议 | |
S 表示后面是 WiFi 的 SSID,wifiname 也就是 WiFi 的名称 | |
P 表示后面是 WiFi 的密码,wifipasswd 是 WiFi 的密码 | |
T 表示后面是密码的加密方式,WPA/WPA2 大部分都是这个加密方式,也使用WPA。如果写WPA/WPA2我的小米手机无法识别。 | |
H 表示这个WiFi是否是隐藏的,直接打开 WiFi 扫不到这个信号。苹果还不支持隐藏模式 |
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
add_header Access-Control-Allow-Origin *; | |
add_header Access-Control-Allow-Methods 'GET, POST, OPTIONS'; | |
add_header Access-Control-Allow-Headers 'DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization'; | |
if ($request_method = 'OPTIONS') { return 204; } |
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
First you need to install pkg-config | |
brew install pkg-config | |
The official guide tell you that: | |
Installation in /usr/local: | |
./autogen.sh |
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 <stdio.h> | |
#import <stdlib.h> | |
typedef struct node | |
{ | |
int data; | |
struct node *left; | |
struct node *right; | |
} Node; |
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 <stdio.h> | |
void bubbleSort(int arr[], int length){ | |
for (int i = 0; i < length-1; ++i) | |
{ | |
for (int j = 0; j < length-1-i; ++j) | |
{ | |
if (arr[j]>arr[j+1]) | |
{ | |
int temp = arr[j]; |
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 <stdio.h> | |
void merge(int arr[], int leftIndex, int mid, int rightIndex){ | |
int leftSize = mid-leftIndex; | |
int rightSize = rightIndex - mid + 1; | |
int leftArr[leftSize]; | |
int rightArr[rightSize]; | |
// 1. fill left array | |
for (int i = 0; i < leftSize; ++i) |
NewerOlder