install tekton
kubectl apply --filename https://storage.googleapis.com/tekton-releases/pipeline/latest/release.yaml
kubectl get pods --namespace tekton-pipelines
### Keybase proof | |
I hereby claim: | |
* I am youyongsong on github. | |
* I am ysyou (https://keybase.io/ysyou) on keybase. | |
* I have a public key ASCch2bWEAzQMNeJYD3sBOcXKUZ1gwlOOW44iscGqecM7Ao | |
To claim this, I am signing this object: |
https://press.one/p/address/v?s=163cbf3f84bdc6e3856ee9d5c9e6dea68417be329fb6b7fbd467d4f23443639453bcd5d8982e103607a5900cbc0b2e3e04b24c9be1c3f59e32803d321054e5db1&h=97b84fc2a8bb25e25155c7b2d8702026f6b2b959b63d250ddfdcc13449a46ba5&a=2576143a9eb380ea6ea7741192fa53abe3d038d6&f=P1&v=2 |
{% load trans%}
before using this snippets#include <stdio.h> | |
#include <stdlib.h> | |
#include <termios.h> | |
#include <unistd.h> | |
int getch(); | |
void press_key(); |
#include<stdio.h> | |
#include<stdlib.h> | |
int main() | |
{ | |
char str1[] = "hello world"; | |
char str2[] = "hello world"; | |
char* str3 = "hello world"; | |
char* str4 = "hello world"; |
//二维动态数组的分配与释放 | |
//语言: C & C++ | |
/*-------------------------------------------*/ | |
int row, col; | |
int **mat; | |
//C | |
mat = (int**) malloc(row * sizeof(int *)); | |
for(int i = 0; i < row; i++) | |
mat[i] = (int*) malloc(col * sizeof(int)); |