If you see a gray screen instead of GNOME when entering the system, simply switch to a virtual console by pressing Alt+Ctrl+F1. If you are booting inside Virtualbox, use HOST key (usually right ctrl) +F1. Then run: sudo killall Xorg sudo stop lightdm…
Q:I just installed propietary nvidia drivers, after that the glowing “e” plymouth theme was gone, only text and some ugly graphics appears. The version of nvidia drivers is 304. I try reinstalling the plymouth theme but it don’t work. sudo apt-get in…
---不包含jiuzhang ladders中出现过的题.如出现多个方法,则最后一个方法是最优解. 目录: 1 String 2 Two pointers 3 Array 4 DFS && BFS 5 Math 6 Dynamic Programming 7 Data Structure 8 Binary Search 9 Tree 10 Bit Manipulation 11 Linked List 12 graph 1 String 1.1  Longest Palindromic S…
How to get the real screen size(screen resolution) by using js 获取用户屏幕的真实像素分辨率, 屏幕实际尺寸 window.devicePixelRatio 设备像素比 screen resolution 屏幕分辨率 function getResolution() { const realWidth = window.screen.width * window.devicePixelRatio; const realHeight =…
摘要:git bisect命令使用二分搜索算法来查找提交历史中的哪一次提交引入了错误.它几乎能让你闭着眼睛快速定位任何源码导致的问题,非常实用. 本文分享自华为云社区<利用好 git bisect 这把利器,帮助你快速定位疑难 bug>,作者: DevUI. 使用git bisect二分法定位问题的基本步骤: git bisect start [最近的出错的commitid] [较远的正确的commitid] 测试相应的功能 git bisect good 标记正确 直到出现问题则 标记错误…
Issue: Default Screen Resolution in Virtualbox instance is 800*600 which might be too small for general using. Solution: Terminate all instances on Virtualbox and execute following command in cmd-line window. VBoxManage setextradata global GUI/MaxGue…
更多内容参考: http://docs.oracle.com/cd/E51111_01/current/acrobat/122ebsmt.zip Preparing for Patching For patches that have manual steps, the patch readme file instructs you to use Oracle Patch Application Assistant (PAA) to create customized instructions…
由于项目需求,需要在网页上利用图表展示相关数据的统计信息,采用了OpenFlashChart技术.OpenFlashChart是一款开源的以Flash和Javascript为技术基础的免费图表,用它能创建一些很有效果的报表分析图表.最重要的是它是开源和免费的,支持多种语言.首先在官网上下载开发包,里面包含了所需的flash文件.js文件以及多种语言的demo,这些demo写的非常详细,可以进行参考开发.由于项目使用.net来开发,所以我学习了一下开发包中对应的dotnet代码,这个.net项目采…
Git的图形化客户端有很多,不同的人可能习惯用不同的客户端.本人更习惯于Github的客户端,因为上Github比较多,同步代码到Github用官方的客户端是最方便的,所以也就更习惯于使用Github的客户端.最近,工作中要用Git进行项目的版本控制,为了迎合团队中喜欢使用图形界面的同事,我研究发现居然可以使用Github客户端同步代码到非Github代码库. 一.Github安装 去Github官网下载GitHub的客户端安装程序,安装的过程没啥好说的. 二.同步远程仓库 客户端安装完后,Wi…
一:git命令在提交代码前,没有pull拉最新的代码,因此再次提交出现了冲突. error: You have not concluded your merge (MERGE_HEAD exists).hint: Please, commit your changes before merging.fatal: Exiting because of unfinished merge.…