原创 推導手機QQ聊天記錄db文件加密IMEI值

手機QQ聊天記錄的db文件使用的sqlite數據庫,一般庫文件的名字是 {用戶QQ號}.db 要拿到db文件,需要手機root或者手機支持應用備份,我使用的是小米手機,支持不用root直接備份app數據出來,這方面網上教程挺多的。 db文

原创 windows上使用python hdfs模塊操作linux hadoop hdfs

使用虛擬機創建了3個節點服務器,想在本地windows使用python操作hdfs,可以使用安裝hdfs模塊進行操作 一、安裝hdfs pip install hdfs 二、服務器節點信息 用戶名是hadoop /etc/hosts內容如

原创 C/C++知識點

1.在C++ 程序中調用被C 編譯器編譯後的函數,爲什麼要加extern “C”? 答:首先,extern是C/C++語言中表明函數和全局變量作用範圍的關鍵字,該關鍵字告訴編譯器,其聲明的函數和變量可以在本模塊或其它模塊中使用。通常,在模

原创 Sublime Text 3 中文亂碼

https://packagecontrol.io/installation#st3 The simplest method of installation is through the Sublime Text console. Th

原创 struct 和 typedef struct

在C語言中typedef是類型定義的意思,爲現有類型創建一個新的別名。 它有助於創建平臺無關類型,甚至能隱藏複雜和難以理解的語法 。 使用typedef可編寫出更加美觀和可讀的代碼。 比如定義一個不含typedef的結構體:

原创 Unity 2D Flappy Bird Tutorial

Unity 2D Flappy Bird Tutorial Foreword In this Tutorial we will learn how easy it is to make a game like Flappy Bi

原创 ButterKnife 8.4 安裝使用

記錄使用ButterKnife [1] build.gradle(Prject) // Top-level build file where you can add configuration options common to all

原创 Unity2S 憤怒的小鳥教程

Unity 2D Flappy Bird Tutorial Foreword前言 In this Tutorial we will learn how easy it is to make a game like Fl

原创 UPDATE 陷阱

update 用其他數據表的數據更新時,如果不加條件限制,則會更新全部數據,產生意想不到的結果 1.創建數據表 CREATE TABLE TEMP_TEST( IDN NUMBER, NM VARCHAR2(10) ); 2

原创 Unity 2D Pong Game

Unity 2D Pong Game This Tutorial will show how to make a 2D Pong Game in the Unity Game Engine with only 38 lines o

原创 ORACLE 表間的聯結方式

ORACLE 表間的聯結方式 內聯結 左聯結 右聯結 自然聯結 全聯結 笛卡爾聯結 創建測試數據 CREATE TABLE TMP_TB_1( USER_ID NUMBER(10,0), USER_NAME VARCHAR2(30

原创 vs2015 + BabeLua + Cocos2d-x 3.10配置

以前只用過vs2015+cocos2d-x 3.9寫過小遊戲,新下載了3.10,想學習下Lua的使用 電腦是win10 64位,裝的是vs2015 1. 安裝cocos,官網下載cocos2d-x 3.10 3.10版本 Cocos2d-

原创 Could not find method annotationProcessor() for arguments

使用butterknife 8.4.0遇到錯誤 Error:(35, 0) Could not find method annotationProcessor() for arguments [com.jakewharton:butter

原创 Unity 2D Arkanoid Tutorial(打磚塊教程)

Unity 2D Arkanoid Tutorial Foreword Let's make an Arkanoid clone with only 37 lines of code! The original Arkan

原创 VBA 函數

自己常用的一些函數。 Option Explicit '輸入完整路徑,檢查文件是否存在 '#strFileName 完整的路徑名 '@存在返回 true 否則返回False Function isFileExists(ByVal st