centos8 安裝 docker
https://www.cnblogs.com/zbseoag/p/11736006.htmlposted @ 2020-05-06 12:57 狼愛上貍 閱讀(400) | 評論 (3) | 編輯 收藏
我胡漢三又回來了
2019年12月27日 #
posted @ 2020-05-06 12:57 狼愛上貍 閱讀(400) | 評論 (3) | 編輯 收藏
posted @ 2020-04-18 09:45 狼愛上貍 閱讀(295) | 評論 (0) | 編輯 收藏
posted @ 2020-03-22 08:22 狼愛上貍 閱讀(299) | 評論 (0) | 編輯 收藏
posted @ 2020-03-21 21:43 狼愛上貍 閱讀(247) | 評論 (0) | 編輯 收藏
posted @ 2020-03-20 21:52 狼愛上貍 閱讀(566) | 評論 (0) | 編輯 收藏
posted @ 2020-03-20 18:53 狼愛上貍 閱讀(192) | 評論 (0) | 編輯 收藏
posted @ 2020-03-19 17:10 狼愛上貍 閱讀(171) | 評論 (0) | 編輯 收藏
posted @ 2020-03-14 11:01 狼愛上貍 閱讀(480) | 評論 (0) | 編輯 收藏
posted @ 2020-03-09 18:20 狼愛上貍 閱讀(958) | 評論 (0) | 編輯 收藏
posted @ 2020-03-08 23:21 狼愛上貍| 編輯 收藏
posted @ 2020-03-07 19:08 狼愛上貍 閱讀(321) | 評論 (0) | 編輯 收藏
posted @ 2020-03-07 18:59 狼愛上貍 閱讀(216) | 評論 (0) | 編輯 收藏
posted @ 2020-03-03 18:43 狼愛上貍 閱讀(775) | 評論 (0) | 編輯 收藏
posted @ 2020-03-03 16:20 狼愛上貍 閱讀(126) | 評論 (0) | 編輯 收藏
===============CentOS 7.6================
1.查看系統時間
date
查看當前系統時間以及時區
結果是:
Mon Jul 8 09:23:31 UTC 2019
2.更改系統時間時區
timedatectl set-timezone Asia/Shanghai
3.再次查看
date
結果是:
Mon Jul 8 17:25:28 CST 2019
4.可以重啟后查看,防止重啟后失效
reboot
=======================
posted @ 2020-03-02 21:11 狼愛上貍 閱讀(220) | 評論 (0) | 編輯 收藏
posted @ 2020-03-02 19:47 狼愛上貍 閱讀(126) | 評論 (0) | 編輯 收藏
posted @ 2020-03-02 18:34 狼愛上貍 閱讀(106) | 評論 (0) | 編輯 收藏
posted @ 2020-03-01 20:45 狼愛上貍 閱讀(3091) | 評論 (0) | 編輯 收藏
Catalina 10.15
系統posted @ 2020-03-01 20:43 狼愛上貍 閱讀(179) | 評論 (0) | 編輯 收藏
keytool -genkey -v -keystore ./key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias key
apk 輸出在:key.properties
storePassword=123456
keyPassword=123456
keyAlias=key
storeFile=C:/Users/Administrator/AndroidStudioProjects/flutter_app/key.jks
build.gradledef localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
def keystorePropertiesFile = rootProject.file("key.properties")
def keystoreProperties = new Properties()
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
android {
compileSdkVersion 28
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
lintOptions {
disable 'InvalidPackage'
}
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.flutter_app"
minSdkVersion 16
targetSdkVersion 28
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
}
}
buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
//signingConfig signingConfigs.debug
signingConfig signingConfigs.release
}
}
}
flutter {
source '../..'
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
}
posted @ 2020-02-29 11:48 狼愛上貍 閱讀(346) | 評論 (0) | 編輯 收藏
posted @ 2020-02-25 18:18 狼愛上貍 閱讀(150) | 評論 (0) | 編輯 收藏
posted @ 2020-02-25 12:47 狼愛上貍 閱讀(947) | 評論 (0) | 編輯 收藏
2.0.0-rc
posted @ 2020-02-25 12:46 狼愛上貍 閱讀(404) | 評論 (0) | 編輯 收藏
posted @ 2020-02-25 11:40 狼愛上貍 閱讀(141) | 評論 (0) | 編輯 收藏
posted @ 2020-02-22 16:33 狼愛上貍 閱讀(339) | 評論 (0) | 編輯 收藏
posted @ 2020-02-22 14:46 狼愛上貍 閱讀(257) | 評論 (0) | 編輯 收藏
此前我的Ubuntu不是wubi方式安裝的,因為聽說此方式安裝有多種缺陷,于是我選擇U盤安裝。這時想要卸載Ubuntu了,想到卸載這個也會有些小阻礙,就寫下這篇博文表示記錄一下Ubuntu的正確卸載方法。
在每次開機時都會有GURB菜單,這表示寫入到安裝Ubuntu的時候把GURB寫入到了MBR,所以卸載Ubuntu前首先需要將MBR重寫,去掉Ubuntu的GURB。如果朋友們不進行這一步把Ubuntu強行干掉,會讓windows也直接GG。
重寫MBR有兩種方法:
一、放入Windows的安裝盤,進入Windows安裝程序,進入恢復控制臺,輸入命令fixmbr。
二、使用MbrFix工具進行修復。
我選擇的是MbrFix,下載地址:http://www.cnitblog.com/Files/CoffeeCat/MbrFix.rar
下載完成后運行命令行,然后進入存放MbrFix.exe的目錄下,輸入指令MbrFix /drive 0 fixmbr /yes,重啟就可以直接進入windows了。
ps:輸入命令行提示"function failed.error 5:拒絕訪問"如何解決?
找到MbrFix.exe,右擊屬性,進入兼容性選項卡,勾選"以管理員身份運行此程序",確定退出,然后重新輸入指令即可解決。
搞定第一步之后,右鍵我的電腦進入管理,磁盤管理,如果是自己安裝的Ubuntu,應該知道在安裝的時候分配了幾個分區在此系統上,如果只是雙系統,除了Windows下有標注卷名的其余應該都是Ubuntu的分區。右鍵Ubuntu分區,刪除卷,標注藍條會變成綠條,把幾個分區全部刪除完成,右鍵新加卷一步一步完成恢復成為Windows的邏輯分區了。
來自:https://www.cnblogs.com/-Yvan/p/4975326.html
posted @ 2020-02-20 18:18 狼愛上貍 閱讀(1424) | 評論 (0) | 編輯 收藏
posted @ 2020-02-19 09:46 狼愛上貍 閱讀(194) | 評論 (0) | 編輯 收藏
posted @ 2020-02-12 09:37 狼愛上貍 閱讀(173) | 評論 (0) | 編輯 收藏
posted @ 2020-02-11 16:37 狼愛上貍 閱讀(1403) | 評論 (0) | 編輯 收藏
posted @ 2020-01-16 14:44 狼愛上貍 閱讀(125) | 評論 (0) | 編輯 收藏
posted @ 2020-01-12 16:17 狼愛上貍 閱讀(169) | 評論 (0) | 編輯 收藏
posted @ 2020-01-04 17:22 狼愛上貍 閱讀(141) | 評論 (0) | 編輯 收藏
posted @ 2020-01-03 19:03 狼愛上貍 閱讀(209) | 評論 (0) | 編輯 收藏
posted @ 2020-01-03 17:55 狼愛上貍 閱讀(341) | 評論 (0) | 編輯 收藏
posted @ 2020-01-01 13:52 狼愛上貍 閱讀(190) | 評論 (0) | 編輯 收藏
posted @ 2020-01-01 12:13 狼愛上貍 閱讀(171) | 評論 (0) | 編輯 收藏
posted @ 2019-12-29 22:57 狼愛上貍 閱讀(193) | 評論 (0) | 編輯 收藏
posted @ 2019-12-27 14:49 狼愛上貍 閱讀(273) | 評論 (0) | 編輯 收藏