sudo apt-get -o Acquire::http::proxy="http://192.168.33.1:1087" install clickhouse-client clickhouse-server
phpbrew install php-7.1.15 +default +fpm +sockets +json +iconv +fileinfo +cli +hash +mysql +dbs +mb +openssl=/usr/local/Cellar/openssl/1.0.2o_1
jenv add /Library/Java/JavaVirtualMachines/jdk17011.jdk/Contents/Home
jenv versions
jenv global oracle64-1.6.0.39
jenv local oracle64-1.6.0.39
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
```sh | |
brew search bison | |
brew install bison@2.7 | |
echo 'export PATH="/usr/local/opt/bison@2.7/bin:$PATH"' >> ~/.bash_profile | |
export PATH="/usr/local/opt/bison@2.7/bin:$PATH" | |
``` |
undefined reference to symbol 'CRYPTO_set_id_callback@@OPENSSL_1.0.0'
/lib/i386-linux-gnu/libcrypto.so.1.0.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
把文件中的
EXTRA_LIBS = -lcrypt -lz -lresolv -lcrypt -lpq -lrt -lpq -lpng -lz -ljpeg -lcurl -lrt -lm -ldl -lnsl -lxml2 -lzlcurl -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt
- 为什么要分开设置
unsigned char table[256];
unsigned char *p = memset (table, 0, 64);
memset (p + 64, 0, 64);
memset (p + 128, 0, 64);
memset (p + 192, 0, 64);
如果默认是 vmdk
的话,先转换成 vdi
VBoxManage clonehd ubuntu.vmdk ubuntu.vdi -format VDI
然后 resize
VBoxManage modifyhd ubuntu.vdi --resize 40000
最后在virtualbox
中该虚拟机的设置-存储
页面将旧的vmdk
的磁盘更换成新的 vdi
虚拟磁盘
#include <stdio.h>
#include <string.h>
int main()
{
char * ptr = "123456789";
printf("strlen_ptr: %lu\n", strlen(ptr));
printf("sizeof_ptr: %lu\n", sizeof(ptr));
char arr[20] = "123456789";