first:
- npm install material-design-icons --save
- npm install typeface-roboto --save
Then go to main.js and import them
import 'material-design-icons/iconfont/material-icons.css'
import 'typeface-roboto/index.css'
1. run command: xrandr | |
it output current screen resolution as well as available solutions. All we need here is the display device name. | |
examle device name : virtual1. | |
2. Run command to calculate VESA CVT mode lines by given resolution which you will add value, example : | |
sudo cvt 1600 900 | |
if your device support this resolution, terminal would output it's ability. look follow output: | |
1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz | |
Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync |
first:
Then go to main.js and import them
import 'material-design-icons/iconfont/material-icons.css'
import 'typeface-roboto/index.css'
// ... | |
const config = { | |
// ... | |
} | |
// ... | |
glob.sync('./src/pages/**/app.html').forEach(path => { | |
// Get all the html template files and forEach them | |
// E.g, path = './src/pages/user/index/app.html' | |
const chunk = path.split('./src/pages/')[1].split('/app.html')[0] |
import Vue from 'vue' | |
import Router from 'vue-router' | |
import Login from '@/components/Login' | |
import Docxso from '@/components/Docxso' | |
Vue.use(Router) | |
let router = new Router({ | |
routes: [ | |
{ | |
path: '*', | |
redirect: '/' |
module.exports = { | |
entry: { | |
app: './src/app.js', | |
mgmt: ['./src/modules/mgmt/mgmt.js'], | |
login: './src/modules/login/login.js' | |
}, | |
plugins: [ | |
new MiniCssExtractPlugin({ | |
filename: "[name].css", | |
chunkFilename: "[id].css" |
package com.vcredit.utils; | |
import android.app.Activity; | |
import android.graphics.Rect; | |
import android.view.View; | |
import android.view.ViewTreeObserver; | |
import android.widget.FrameLayout; | |
/** | |
* Created by shibenli on 2016/8/31. |
#include <windows.h> | |
#include <shlobj.h> | |
#include <exdisp.h> | |
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR pCmdLine, int iCmdShow) | |
{ | |
// Initialize the use of COM objects... | |
CoInitialize(NULL); | |
// Create a Shell object pointer... |
System directories
Method | Result |
---|---|
Environment.getDataDirectory() | /data |
Environment.getDownloadCacheDirectory() | /cache |
Environment.getRootDirectory() | /system |
External storage directories
#!/bin/bash | |
version=1.67.0 | |
echo "Building boost $version..." | |
set -eu | |
toolchain=$PWD/toolchain | |
if [ ! -d "$toolchain" ]; then | |
echo "Building toolchain..." |
import android.content.Context; | |
import android.os.Handler; | |
import android.os.Looper; | |
import android.util.AttributeSet; | |
import com.twilio.video.I420Frame; | |
import com.twilio.video.VideoView; | |
/* | |
* VideoView that notifies Listener of the first frame rendered and the first frame after a reset |