Skip to content

Instantly share code, notes, and snippets.

View KISSMonX's full-sized avatar
🏄‍♂️
HW&ES&IoT+Go|C + Web|Qt = *

CodeCore KISSMonX

🏄‍♂️
HW&ES&IoT+Go|C + Web|Qt = *
View GitHub Profile
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*/
#include <arpa/inet.h>
#include <linux/if_packet.h>
#include <stdio.h>
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*/
#include <arpa/inet.h>
#include <linux/if_packet.h>
#include <linux/ip.h>
@KISSMonX
KISSMonX / file.rb
Created November 24, 2014 21:17
GitHub · Build software better, together.
https://github.com/acumon/translations/blob/master/%E9%A6%99%E6%B8%AF%E8%B4%A2%E6%94%BF%E4%BC%9A%E8%AE%AE%E5%85%B3%E4%BA%8E%E6%8D%90%E6%AC%BE1%E4%BA%BF%E7%9A%84%E8%BE%A9%E8%AE%BA.md
Binxing Fang, http://en.wikipedia.org/wiki/Fang_Binxing
方滨兴,中国工程院院士,北京邮电大学教授,中国科学院计算技术研究所网 络方向首席科学家。
Gang Xiong, http://rd.springer.com/search?facet-author=%22Gang+Xiong%22
熊刚, 高级工程师, 研究方向为信息安全。E-mail: xionggang@ict.ac.cn。
Weili Han, http://crypto.fudan.edu.cn/people/weili/
韩伟力, http://homepage.fudan.edu.cn/wlhan/en
This is just my personal gist clip.
@KISSMonX
KISSMonX / wifimanager.c
Created April 26, 2018 03:02
wifimanager.c 集服示例
/*****************************************************************************
** File Name: wifimanager.cpp
** Author: MingH
** Date: 25/04/2017
** Copyright: 2017 RoboSys, Incorporated. All Rights Reserved.
** Description: 新的配网方式, 采用上传 wifi 列表的方式
******************************************************************************/
#include <stdio.h>
#include <cJSON.h>
#include <string>
{
"workbench.iconTheme": "vscode-icons",
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 10000,
"editor.fontSize": 15,
"editor.tabSize": 8,
"editor.renderWhitespace": "all",
"editor.wordWrapColumn": 120,
"editor.insertSpaces": true,
"window.restoreWindows": "all",
---
# 语言: None, Cpp, Java, JavaScript, ObjC, Proto, TableGen, TextProto
Language: Cpp
# BasedOnStyle: LLVM
# 访问说明符(public、private等)的偏移
AccessModifierOffset: -4
# 开括号(开圆括号、开尖括号、开方括号)后的对齐: Align, DontAlign, AlwaysBreak(总是在开括号后换行)
AlignAfterOpenBracket: Align