摘要: 1 config_version: '1.4.1' 2 3 punctuator: 4 full_shape: 5 " " : { commit: " " } 6 "," : { commit: , } 7 "." : { commit: 。 } 8 "<" : [ 《, 〈, «, ‹ ] 9 " 阅读全文
posted @ 2022-06-24 17:50 Joynic 阅读(2281) 评论(0) 推荐(0) 编辑
摘要: <div class="form-group <#if error?? && error.email??>has-error</#if> has-feedback">if null != error %% null != error.email 阅读全文
posted @ 2022-06-24 17:35 Joynic 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 说明: 树莓派操作系统版本: raspbian-jessie-lite 材料准备: 树莓派 无线USB接收器(无线WIFI) 树莓派启动后插入无线WIFI,查看是否正常识别(个别厂家新生产的无线USB WIFI可能无法识别!) 列出usb设备命令: lsusb pi@raspberrypi:~$ l 阅读全文
posted @ 2021-12-12 03:42 Joynic 阅读(1420) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> int *p = (int[]){8, 7}; // creates an unnamed static array of type int[2] // initializes the array to the values {2, 4} // creates 阅读全文
posted @ 2021-10-28 18:00 Joynic 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 1 #include <stdio.h> 2 3 struct Payload { 4 char* title; 5 char* data; 6 }; 7 8 char* extractData(struct Payload *payload); 9 10 int main(int argc, ch 阅读全文
posted @ 2021-08-22 19:18 Joynic 阅读(616) 评论(0) 推荐(0) 编辑
摘要: 1 struct Inner; 2 3 struct Outer 4 { 5 long id; 6 7 struct Inner *inner; 8 9 }; 10 11 struct Inner 12 { 13 long seq; 14 }; 15 16 int main(int argc, ch 阅读全文
posted @ 2021-08-22 18:23 Joynic 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 定义aspect 类: @Aspect @Component public class ExampleAspect { } 拦截指定annotation: @Around("@annotation(LogExecutionTime)") public Object logExecutionTime( 阅读全文
posted @ 2021-06-04 16:14 Joynic 阅读(407) 评论(0) 推荐(0) 编辑
摘要: @Configuration public class JacksonConfig extends WebMvcConfigurationSupport { @Bean public ObjectMapper objectMapper() { Jackson2ObjectMapperBuilder 阅读全文
posted @ 2021-05-31 11:18 Joynic 阅读(1318) 评论(0) 推荐(0) 编辑
摘要: 在命令行中运行:pipenv --venv 输出类似:C:/Users/xxx/.virtualenvs vscode ctrl + shift + p 打开 settings.json 添加 配置项: "python.venvPath": "C:/Users/xxx/.virtualenvs" 保 阅读全文
posted @ 2021-03-04 17:02 Joynic 阅读(310) 评论(0) 推荐(0) 编辑
摘要: 转自StackOverflow,原问题 https://stackoverflow.com/questions/6005898/antlr-members-and-lexer 问题内容: i have problem with @members rule in ANTLR. I want overw 阅读全文
posted @ 2021-03-02 19:50 Joynic 阅读(271) 评论(0) 推荐(0) 编辑