- Android笔记(六)(adb使用)
张豆豆94
【Android学习笔记】androidjava1024程序员节
1.添加环境变量此电脑(右击)→属性→高级系统设置→高级→环境变量→系统变量→Path(双击)→新建添加adb.exe路径2.adb常用指令adbdevices当前连接了几个设备以及每个连接的状态shell[]连接模拟器/设施执行Shell命令,执行完毕后退出远程Shell端ladbshellpmlistpackages列出手机装的所有app的包名查看内存查看磁盘内存和运行内存:adbshellf
- 19年开发搜集的资料与遇到的问题简单整理 4-6月
qq_40663451
Android笔记4-6月参考网站https://p.codekk.com/(开源代码、项目)https://blog.csdn.net/qq_42618969/article/details/81941242#开源框架框架帖子网址:https://blog.csdn.net/qq_35427437/article/details/80169160安卓十大开发框架1、AndBase框架项目地址:h
- Android笔记(六):JetPack Compose常见的UI组件
灯前目力虽非昔,犹课蝇头二万言。
android笔记uiandroidcompose
一、文本组件1.1TextColumn(modifier=Modifier.fillMaxSize().background(Color.Green).padding(10.dp)){Text(text=stringResource(id=R.string.title_content),modifier=Modifier.fillMaxWidth().border(BorderStroke(1.d
- Android笔记 编译kotlin文件
blossom_6694
一、下载编译包https://github.com/JetBrains/kotlin/releases/tag/v1.2.40TIM截图20180425120751.png然后解压。二、配置环境变量TIM截图20180425120911.png运行kotlinc-version成功,表示配置好了。三、编译TIM截图20180425121004.png
- Android笔记:OpenGL ES与EGL的关系与实例
MichaelX_Blog
AndroidOpenGLES笔记openglesegl视频处理
简介OpenGL是跨平台的、专业的图形编程接口,而接口的实现是由厂商来完成的。OpenGL使用这些接口绘制完成后,需要把数据渲染到屏幕上,就需要EGL来接手这部分工作。EGL:全称EmbeddedGraphicLibrary。是OpenGLES和底层Native平台视窗系统之间的接口,如下图所示。EGL介绍EGL接口中含有3个对象,如下图所示:其中:Display(EGLDisplay)是对实际显
- 【Android笔记】 RecyclerView
小康
布局子布局bar_bundle_item.xmlpackagecom.example.meng.mes;publicclassBarJudgeActivityextendsAppCompatActivity{//捆号信息listprivateListbundleCodeInfoModelList=newArrayList{privateListmBundleCodeInfoModel;static
- Android笔记(十九):JetPack DataStore 之 Preferences DataStore
灯前目力虽非昔,犹课蝇头二万言。
android笔记
JetpackDataStore是一种数据存储解决方案,主要适用于小型数据的处理。它可以通过协议缓冲区存储键值对或类型化对象。DataStore使用Kotlin协程和Flow以异步、一致的事务方式存储数据。DataStore有两种实现方式(1)PreferencesDataStore和(2)ProtoDataStore.PreferencesDataStore利用键值对实现对简单数据的读写存储。这
- Android笔记(二十三):Paging3分页加载库结合Compose的实现分层数据源访问
灯前目力虽非昔,犹课蝇头二万言。
android笔记jvm
在Android笔记(二十二):Paging3分页加载库结合Compose的实现网络单一数据源访问一文中,实现了单一数据源的访问。在实际运行中,往往希望不是单纯地访问网络数据,更希望将访问的网络数据保存到移动终端的SQLite数据库中,使得移动应用在离线的状态下也可以从数据库中获取数据进行访问。在本笔记中,将讨论多层次数据的访问,即结合网络资源+本地SQLite数据库中的数据的处理。在本笔记中,仍
- Android笔记(二十二):Paging3分页加载库结合Compose的实现网络单一数据源访问
灯前目力虽非昔,犹课蝇头二万言。
android笔记网络
Paging3组件是谷歌公司推出的分页加载库。个人认为Paging3库是非常强大,但是学习难点比较大的一个库。Paging3组件可用于加载和显示来自本地存储或网络中更大的数据集中的数据页面。此方法可让移动应用更高效地利用网络带宽和系统资源。在具体实现上,Paging3与前面的版本完全不同。一、依赖库的配置valpaging_version="3.2.0"implementation("androi
- Android笔记(二十一):Room组件实现Android应用的持久化处理
灯前目力虽非昔,犹课蝇头二万言。
android数据库androidJetPackRoom组件
一、Room组件概述Room是AndroidJetPack架构组件之一,是一个持久处理的库。Room提供了在SQLite数据库上提供抽象层,使之实现数据访问。(1)实体类(Entity):映射并封装了数据库对应的数据表中对应的结构化数据。实体定义了数据库中的数据表。实体类中的数据域与表的列一一对应。(2)数据访问对象(DataAccessObject,DAO):在DAO中定义了访问数据库的常见的操
- Android笔记——new Handler().postDelayed() 让intent延迟跳转
麦香菌
longdelayMillis=2000;//延迟时间参数//延迟2s跳转newHandler().postDelayed(newRunnable(){@Overridepublicvoidrun(){Intentintent=newIntent(MainActivity.this,Activity.class);startActivity(intent);}},delayMillis);来源:《
- Android笔记:SwipeRefreshLayout 自动刷新
程思扬
Android记录android笔记python经验分享android-studio
/***TheSwipeRefreshLayoutshouldbeusedwhenevertheusercanrefreshthe*contentsofaviewviaaverticalswipegesture.Theactivitythat*instantiatesthisviewshouldaddanOnRefreshListenertobenotified*whenevertheswipet
- Android笔记——自定义TabLayout之title与icon
麦香菌
自定义TabLayout自定义底端TabLayout总布局实现的是底端TabLayoutTabLayout自定义布局Selectorcoloricon因为三个图标的selector是一样的,所以就取了一个代码主要分以下两步实现,若想看怎么自定义,请直接跳到最后的getTabViewinitContent();initTab();String[]title={"个人","推荐","动态"};Cont
- Android笔记:Android开发应用框架汇总(MVVP框架介绍)
陈大宝
Androidandroidmvpxmlmvcui
先来说一下常见的Android框架模式:MVC、MVP、MVVM这三种框架中,我们耳熟能详的就是MVC和MVP了吧,接下来我们简单介绍一下:MVCView:XML布局文件。Model:实体模型(数据的获取、存储、数据状态变化)。Controllor:对应于Activity,处理数据、业务和UI。从上面这个结构来看,Android本身的设计还是符合MVC架构的,但是Android中纯粹作为View的
- Android笔记(十三):结合JetPack Compose和CameraX实现视频的录制和存储
灯前目力虽非昔,犹课蝇头二万言。
android笔记音视频视频录制CameraX
在“Android笔记(八):基于CameraX库结合Compose和传统视图组件PreviewView实现照相机画面预览和照相功能”,文中介绍了拍照功能的实现,在本文中将介绍结合JetPackCompose和CameraX实现视频的录制。新建一个项目在项目中做如下处理:一、增视频录制的相关依赖库在项目的模块对应的build.gradle.kt中增加如下的依赖库:增加CameraX相关库valca
- Android笔记(十五):JetPack Compose的附带效应(二)-produceState和derivedStateOf
灯前目力虽非昔,犹课蝇头二万言。
android笔记ComposeCompose的附带效应produceStatederivedStateOf
在本笔记中,将结合实例介绍produceState和derivedStateOf两个可组合函数。它们分别实现状态的转换。(1)produceState将非Compose状态转换虫Compose状态(2)derivedStateOf将多个状态转换成其他状态。一、produceStateproduceState可将非Compose状态转换为Compose状态,它会在没有定义数据源的情况下随时间生成值。
- Android笔记(十四):JetPack Compose中附带效应(一)
灯前目力虽非昔,犹课蝇头二万言。
android笔记Compose的附带效应副效应带异步处理的副效应
在Android应用中可以通过定义可组合函数来搭建应用界面。应用界面的更新往往是与可组合函数内部定义的状态值相关联的。当界面的状态值发生变更,会导致应用界面进行更新。在Android笔记(九):Compose组件的状态,对Compose组件的状态进行详细地介绍。理想状态下,可组合函数使用是定义范围内的状态值,通过内部状态的变更,修改可组合项构成的界面。但是,在有些特殊场景下,需要在可组合项中运行一
- Android笔记: Android后台接口教程二Android 客户端与服务端交互Android 前后台通信 post方式
陈大宝
Androidandroid数据库通信数据博客
今天再写一下post通信的方法,昨天的那篇是介绍了环境搭建还有最简单的get请求json数据,今天写了写登录功能,这两篇后台数据均是模拟的,没有数据库的交互,关于数据库交互后面再说。先看一下效果:用andorid写的一个小的demo结合接口完成了登录功能:登录失败登录成功下面来说代码部分:这篇就简单把核心功能说一下就好,有不懂的可以看昨天的那篇博客,传送地址http://blog.csdn.net
- Android笔记之Android Studio获取数字签名
猿小二
Android笔记
1.创建android可发布版本keybuild–>generatesignedapk–>createnew…没什么好说的,按照提示一步步完成最后在创建过程中设置的文件夹生成.jks文件2.使用的java的keytool命令获取数字证书内容,配置java环境变量后直接使用,未配置则使用keytool命令的全路径keytool-v-list-keystoreF:\xxx\xxx.jks
- Android笔记(十):结合Navigation组件实现Compose界面的导航
灯前目力虽非昔,犹课蝇头二万言。
android笔记navigation组件compose
在Android笔记(七)搭建AndroidJetPackCompose组件中Scaffold脚手架一文中通过定义一个导航的函数来实现不同界面的切换。如果没有传递任何参数,这样的导航处理也是可以接受的,处理方式也非常简单。但是,如果考虑到不同Compose界面的切换且传递参数,或者有更复杂地处理情况,就可以考虑使用导航组件Navigation来实现。一、导航组件的配置新建一个项目模块,在模块对应的
- Android笔记(十一):Compose中使用ViewModel
灯前目力虽非昔,犹课蝇头二万言。
android笔记composeViewModel
通过ViewModel组件用于保存视图中需要的数据。ViewModel主要目的是将与用户界面相关的数据模型和应用程序的逻辑与负责实际显示和管理用户界面以及与操作系统交互的代码分离开来,为UI界面管理数据。常见的管理方式主要有:LiveData和StateFlow两种形式来实现的。在下列将结合一个简单字符串加密和解密的应用来说明ViewModel管理数据的过程。一、ViewModel的配置在项目模块
- Android笔记(十二):结合Compose实现Handler机制处理多线程的通信
灯前目力虽非昔,犹课蝇头二万言。
android笔记composeHandler机制
在Android应用中常常结合多线程处理多个任务。不可避免,多个线程之间需要数据通信。Hanlder消息处理机制是异步处理的方式之一。通过Handler机制可以实现在不同的线程之间的通信。一、主线程和工作线程1.主线程一个Android的移动应用启动时会单独启动一个进程。这个进程中可以存在多个线程。但是这么多线程中有且仅有一个主线程,即UI线程。Android应用程序运行时创建UI主线程,它主要是
- Android笔记--WebSocket
ljt2724960661
Android基础android笔记websocket网络协议
这一节了解一下WebSocket的用法,WebSocket是一种基于TCP的全双工通信协议,通过它可以在客户端和服务器之间建立一个持久的连接,实现实时的双向数据传输。它的主要功能特点是允许服务器主动向客户端推送信息,同时也允许客户端主动向服务器发送信息。用法如下:app下的gradle:implementation"org.java-websocket:Java-WebSocket:1.5.3"服
- Android笔记--App缓存
ljt2724960661
android笔记缓存
获取应用缓存方式如下:importandroid.app.usage.UsageStats;importandroid.app.usage.UsageStatsManager;importandroid.content.Context;importandroid.content.pm.PackageManager;importandroid.os.Process;importandroid.os.
- 查漏补缺!阿里内部Android笔记火爆IT圈,已拿offer入职
左夜天
程序员android
一些感悟穷人的一次失败,为了还债可能一辈子都翻不了身,为还债一辈子送外卖。你将不再会有精力去思考和投机。穷人的失败可能断送了他所有暴富的机遇和时间,让不确定的人生瞬间确定下来,让充满无限可能的人生可能性逐渐缩小。这是赤裸裸的现实。只有当你有足够多的资本时,允许你失误的次数才会逐渐增加。拥有足够多的资本,哪怕尝试个三番五次失败了,也不会伤你元气。所以从这个角度讲,人的机遇是随着财富的增加而增加的。这
- Android笔记(五):结合Compose组件利用ActivityResultLauncher解决多活动跳转返回数据
灯前目力虽非昔,犹课蝇头二万言。
android笔记androidcompose
在本人博客中Android活动返回不在再支持startActivityForResult()后的处理方法已经记录采用ActivityResultLauncher来处理多活动的返回并传回数据的方式。但是采用的是布局xml+viewBinding技术。目前,谷歌官方推荐使用JetPackCompose组件来定义界面。在本文中,将介绍在JetPackCompose定义的界面中ActivityResult
- Android笔记(七)Android JetPack Compose组件搭建Scaffold脚手架
灯前目力虽非昔,犹课蝇头二万言。
androidjetpackandroidScaffoldandroidcompose
在去年2022年曾发布一篇关于脚手架的文章:“AndroidJetPackCompose组件中Scaffold的应用”。但是Android的版本从12变更到13及以上版本,导致一些细节的实现存在不同。在本文中,将从头开始介绍整个脚手架的搭建过程。一、新建项目模块在AndroidStudio(版本是Graffie)中新建模块,选择“EmptyActivity",如图1所示。图1二、定义脚手架Scaf
- Android笔记(九):Compose组件的状态(一)
灯前目力虽非昔,犹课蝇头二万言。
android笔记Compose界面状态状态提升状态的保存和恢复
在使用Compose定义UI界面时,可以发现界面的变换往往与Compose组件内部的状态相关,当状态值发生变化时,Compose构成的可组合的界面也会刷新发生相应的变化。将在本笔记中将对可组合项的状态的定义、状态提升、状态丢失和状态的保存进行简单介绍。。一、什么是可组合项的状态Compose采用了单向数据流设计思想。定义界面的可组合函数本身没有任何返回值,也没有像类一样封装内部的私有状态。因此通过
- Android笔记(八):基于CameraX库结合Compose和传统视图组件PreviewView实现照相机画面预览和照相功能
灯前目力虽非昔,犹课蝇头二万言。
android笔记CameraXComposePreviewView
CameraX是JetPack库之一,通过CameraX可以向应用增加相机的功能。在下列内容中,将介绍一个结合CameraX实现一个简单的拍照应用。本应用必须采用AndroidSDK34。并通过该简单示例,了解传统View层次组件的UI组件如何与Compose组件结合实现移动应用界面的定制。首先,新建一个项目,选择EmptyActivity。一、增加依赖使用CameraX在新建项目的模块build
- Android重要知识文档记录
麦田里的守望者-Jiang
Androidpnandroid技术文档
1.Android笔记:常用的开发资源和技术博客2.面向贡献者的代码样式指南:谷歌官方代码规范以下代码样式都是应严格遵守的规则(而非指南或建议)。如果所贡献的Android代码没有遵守以下规则,我们通常不会接受此类代码。我们知道,并非所有的现有代码都遵守了这些规则,但我们希望所有新代码都能遵守这些规则。3.支持多种屏幕Android可在各种具有不同屏幕尺寸和密度的设备上运行。对于应用,Androi
- 多线程编程之join()方法
周凡杨
javaJOIN多线程编程线程
现实生活中,有些工作是需要团队中成员依次完成的,这就涉及到了一个顺序问题。现在有T1、T2、T3三个工人,如何保证T2在T1执行完后执行,T3在T2执行完后执行?问题分析:首先问题中有三个实体,T1、T2、T3, 因为是多线程编程,所以都要设计成线程类。关键是怎么保证线程能依次执行完呢?
Java实现过程如下:
public class T1 implements Runnabl
- java中switch的使用
bingyingao
javaenumbreakcontinue
java中的switch仅支持case条件仅支持int、enum两种类型。
用enum的时候,不能直接写下列形式。
switch (timeType) {
case ProdtransTimeTypeEnum.DAILY:
break;
default:
br
- hive having count 不能去重
daizj
hive去重having count计数
hive在使用having count()是,不支持去重计数
hive (default)> select imei from t_test_phonenum where ds=20150701 group by imei having count(distinct phone_num)>1 limit 10;
FAILED: SemanticExcep
- WebSphere对JSP的缓存
周凡杨
WAS JSP 缓存
对于线网上的工程,更新JSP到WebSphere后,有时会出现修改的jsp没有起作用,特别是改变了某jsp的样式后,在页面中没看到效果,这主要就是由于websphere中缓存的缘故,这就要清除WebSphere中jsp缓存。要清除WebSphere中JSP的缓存,就要找到WAS安装后的根目录。
现服务
- 设计模式总结
朱辉辉33
java设计模式
1.工厂模式
1.1 工厂方法模式 (由一个工厂类管理构造方法)
1.1.1普通工厂模式(一个工厂类中只有一个方法)
1.1.2多工厂模式(一个工厂类中有多个方法)
1.1.3静态工厂模式(将工厂类中的方法变成静态方法)
&n
- 实例:供应商管理报表需求调研报告
老A不折腾
finereport报表系统报表软件信息化选型
引言
随着企业集团的生产规模扩张,为支撑全球供应链管理,对于供应商的管理和采购过程的监控已经不局限于简单的交付以及价格的管理,目前采购及供应商管理各个环节的操作分别在不同的系统下进行,而各个数据源都独立存在,无法提供统一的数据支持;因此,为了实现对于数据分析以提供采购决策,建立报表体系成为必须。 业务目标
1、通过报表为采购决策提供数据分析与支撑
2、对供应商进行综合评估以及管理,合理管理和
- mysql
林鹤霄
转载源:http://blog.sina.com.cn/s/blog_4f925fc30100rx5l.html
mysql -uroot -p
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[root@centos var]# service mysql
- Linux下多线程堆栈查看工具(pstree、ps、pstack)
aigo
linux
原文:http://blog.csdn.net/yfkiss/article/details/6729364
1. pstree
pstree以树结构显示进程$ pstree -p work | grep adsshd(22669)---bash(22670)---ad_preprocess(4551)-+-{ad_preprocess}(4552) &n
- html input与textarea 值改变事件
alxw4616
JavaScript
// 文本输入框(input) 文本域(textarea)值改变事件
// onpropertychange(IE) oninput(w3c)
$('input,textarea').on('propertychange input', function(event) {
console.log($(this).val())
});
- String类的基本用法
百合不是茶
String
字符串的用法;
// 根据字节数组创建字符串
byte[] by = { 'a', 'b', 'c', 'd' };
String newByteString = new String(by);
1,length() 获取字符串的长度
&nbs
- JDK1.5 Semaphore实例
bijian1013
javathreadjava多线程Semaphore
Semaphore类
一个计数信号量。从概念上讲,信号量维护了一个许可集合。如有必要,在许可可用前会阻塞每一个 acquire(),然后再获取该许可。每个 release() 添加一个许可,从而可能释放一个正在阻塞的获取者。但是,不使用实际的许可对象,Semaphore 只对可用许可的号码进行计数,并采取相应的行动。
S
- 使用GZip来压缩传输量
bijian1013
javaGZip
启动GZip压缩要用到一个开源的Filter:PJL Compressing Filter。这个Filter自1.5.0开始该工程开始构建于JDK5.0,因此在JDK1.4环境下只能使用1.4.6。
PJL Compressi
- 【Java范型三】Java范型详解之范型类型通配符
bit1129
java
定义如下一个简单的范型类,
package com.tom.lang.generics;
public class Generics<T> {
private T value;
public Generics(T value) {
this.value = value;
}
}
- 【Hadoop十二】HDFS常用命令
bit1129
hadoop
1. 修改日志文件查看器
hdfs oev -i edits_0000000000000000081-0000000000000000089 -o edits.xml
cat edits.xml
修改日志文件转储为xml格式的edits.xml文件,其中每条RECORD就是一个操作事务日志
2. fsimage查看HDFS中的块信息等
&nb
- 怎样区别nginx中rewrite时break和last
ronin47
在使用nginx配置rewrite中经常会遇到有的地方用last并不能工作,换成break就可以,其中的原理是对于根目录的理解有所区别,按我的测试结果大致是这样的。
location /
{
proxy_pass http://test;
- java-21.中兴面试题 输入两个整数 n 和 m ,从数列 1 , 2 , 3.......n 中随意取几个数 , 使其和等于 m
bylijinnan
java
import java.util.ArrayList;
import java.util.List;
import java.util.Stack;
public class CombinationToSum {
/*
第21 题
2010 年中兴面试题
编程求解:
输入两个整数 n 和 m ,从数列 1 , 2 , 3.......n 中随意取几个数 ,
使其和等
- eclipse svn 帐号密码修改问题
开窍的石头
eclipseSVNsvn帐号密码修改
问题描述:
Eclipse的SVN插件Subclipse做得很好,在svn操作方面提供了很强大丰富的功能。但到目前为止,该插件对svn用户的概念极为淡薄,不但不能方便地切换用户,而且一旦用户的帐号、密码保存之后,就无法再变更了。
解决思路:
删除subclipse记录的帐号、密码信息,重新输入
- [电子商务]传统商务活动与互联网的结合
comsci
电子商务
某一个传统名牌产品,过去销售的地点就在某些特定的地区和阶层,现在进入互联网之后,用户的数量群突然扩大了无数倍,但是,这种产品潜在的劣势也被放大了无数倍,这种销售利润与经营风险同步放大的效应,在最近几年将会频繁出现。。。。
如何避免销售量和利润率增加的
- java 解析 properties-使用 Properties-可以指定配置文件路径
cuityang
javaproperties
#mq
xdr.mq.url=tcp://192.168.100.15:61618;
import java.io.IOException;
import java.util.Properties;
public class Test {
String conf = "log4j.properties";
private static final
- Java核心问题集锦
darrenzhu
java基础核心难点
注意,这里的参考文章基本来自Effective Java和jdk源码
1)ConcurrentModificationException
当你用for each遍历一个list时,如果你在循环主体代码中修改list中的元素,将会得到这个Exception,解决的办法是:
1)用listIterator, 它支持在遍历的过程中修改元素,
2)不用listIterator, new一个
- 1分钟学会Markdown语法
dcj3sjt126com
markdown
markdown 简明语法 基本符号
*,-,+ 3个符号效果都一样,这3个符号被称为 Markdown符号
空白行表示另起一个段落
`是表示inline代码,tab是用来标记 代码段,分别对应html的code,pre标签
换行
单一段落( <p>) 用一个空白行
连续两个空格 会变成一个 <br>
连续3个符号,然后是空行
- Gson使用二(GsonBuilder)
eksliang
jsongsonGsonBuilder
转载请出自出处:http://eksliang.iteye.com/blog/2175473 一.概述
GsonBuilder用来定制java跟json之间的转换格式
二.基本使用
实体测试类:
温馨提示:默认情况下@Expose注解是不起作用的,除非你用GsonBuilder创建Gson的时候调用了GsonBuilder.excludeField
- 报ClassNotFoundException: Didn't find class "...Activity" on path: DexPathList
gundumw100
android
有一个工程,本来运行是正常的,我想把它移植到另一台PC上,结果报:
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.mobovip.bgr/com.mobovip.bgr.MainActivity}: java.lang.ClassNotFoundException: Didn't f
- JavaWeb之JSP指令
ihuning
javaweb
要点
JSP指令简介
page指令
include指令
JSP指令简介
JSP指令(directive)是为JSP引擎而设计的,它们并不直接产生任何可见输出,而只是告诉引擎如何处理JSP页面中的其余部分。
JSP指令的基本语法格式:
<%@ 指令 属性名="
- mac上编译FFmpeg跑ios
啸笑天
ffmpeg
1、下载文件:https://github.com/libav/gas-preprocessor, 复制gas-preprocessor.pl到/usr/local/bin/下, 修改文件权限:chmod 777 /usr/local/bin/gas-preprocessor.pl
2、安装yasm-1.2.0
curl http://www.tortall.net/projects/yasm
- sql mysql oracle中字符串连接
macroli
oraclesqlmysqlSQL Server
有的时候,我们有需要将由不同栏位获得的资料串连在一起。每一种资料库都有提供方法来达到这个目的:
MySQL: CONCAT()
Oracle: CONCAT(), ||
SQL Server: +
CONCAT() 的语法如下:
Mysql 中 CONCAT(字串1, 字串2, 字串3, ...): 将字串1、字串2、字串3,等字串连在一起。
请注意,Oracle的CON
- Git fatal: unab SSL certificate problem: unable to get local issuer ce rtificate
qiaolevip
学习永无止境每天进步一点点git纵观千象
// 报错如下:
$ git pull origin master
fatal: unable to access 'https://git.xxx.com/': SSL certificate problem: unable to get local issuer ce
rtificate
// 原因:
由于git最新版默认使用ssl安全验证,但是我们是使用的git未设
- windows命令行设置wifi
surfingll
windowswifi笔记本wifi
还没有讨厌无线wifi的无尽广告么,还在耐心等待它慢慢启动么
教你命令行设置 笔记本电脑wifi:
1、开启wifi命令
netsh wlan set hostednetwork mode=allow ssid=surf8 key=bb123456
netsh wlan start hostednetwork
pause
其中pause是等待输入,可以去掉
2、
- Linux(Ubuntu)下安装sysv-rc-conf
wmlJava
linuxubuntusysv-rc-conf
安装:sudo apt-get install sysv-rc-conf 使用:sudo sysv-rc-conf
操作界面十分简洁,你可以用鼠标点击,也可以用键盘方向键定位,用空格键选择,用Ctrl+N翻下一页,用Ctrl+P翻上一页,用Q退出。
背景知识
sysv-rc-conf是一个强大的服务管理程序,群众的意见是sysv-rc-conf比chkconf
- svn切换环境,重发布应用多了javaee标签前缀
zengshaotao
javaee
更换了开发环境,从杭州,改变到了上海。svn的地址肯定要切换的,切换之前需要将原svn自带的.svn文件信息删除,可手动删除,也可通过废弃原来的svn位置提示删除.svn时删除。
然后就是按照最新的svn地址和规范建立相关的目录信息,再将原来的纯代码信息上传到新的环境。然后再重新检出,这样每次修改后就可以看到哪些文件被修改过,这对于增量发布的规范特别有用。
检出