Skip to content

Instantly share code, notes, and snippets.

View springeye's full-sized avatar

springeye springeye

View GitHub Profile
set(CMAKE_SYSTEM_NAME Windows)
set(CMAKE_SYSTEM_VERSION 1)
if(USE_32BITS)
message(STATUS "using 32bits")
set(CMAKE_SYSTEM_PROCESSOR x86)
else()
set(CMAKE_SYSTEM_PROCESSOR x86_64)
endif(USE_32BITS)
if(USE_32BITS)
@springeye
springeye / main.js
Last active December 27, 2016 07:09
vue webpack add bootstrap support
import Vue from 'vue'
import App from './App'
require('expose?$!expose?jQuery!jquery')//add this line
require('bootstrap-webpack')//add this line
/* eslint-disable no-new */
new Vue({
el: 'body',
components: { App }
})
@springeye
springeye / AbstractAdapter.java
Last active December 28, 2015 07:52
AbstractAdapter
import android.app.Fragment;
import android.content.Context;
import android.databinding.ViewDataBinding;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import java.util.ArrayList;
import java.util.List;
/**