g

丘海东

读书写字 热爱生活 ⌚️📖️🖋️🏀️🚲️🚉️🎼️🍵️🏞️📷️

Windows本地浏览器没有启动 Explorer Do Not Start Up on Windows

原帖
DG works:
打开系统组策略编辑器就是gpedit.msc,找到“用户配置”——“Windows设置”项——脚本(注销与登录)——登录(添加,将脚本路径改为Explorer.exe的路径,如:C:\windows\Explorer.exe)即可。这样在登录时系统会再加载一次Explorer.exe就可以显示出桌面了。但也有如我的状况,gpedit.msc打不开。

关于explorer.exe加载不了 无法显示任务栏与桌面解决办法
Ctrl+Alt+Del打开“Windows任务管理器”,发现进程里没有Explorer.exe。说明系统启动时候没有加载Explorer.exe。(explorer是Windows程序管理器或者Windows资源管理器,它用于管理Windows图形壳,包括开始菜单、任务栏、桌面和文件管理。删除该程序会导致Windows图形界面无法适用。)
点击“Windows任务管理器”–>“文件”–>“新建任务(运行……)”敲入Explorer.exe看看是否能够执行,如果不能执行说明系统的winnt目录下没有Explorer.exe这个文件或者Explorer.exe文件损坏。
首先尝试下面的方法:
1
打开系统组策略编辑器就是gpedit.msc,找到“用户配置”——“Windows设置”项——脚本(注销与登录)——登录(添加,将脚本路径改为Explorer.exe的路径,如:C:\windows\Explorer.exe)即可。这样在登录时系统会再加载一次Explorer.exe就可以显示出桌面了。但也有如我的状况,gpedit.msc打不开。
2
打开注册表,找到子键“HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer”,新建“DWORD”值“NoDesktop”,其值为“1”。(这个是我在网上搜索的方法,为什么要使用这个健值我不清楚。)再检查注册表….HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell 看是否为explorer.exe,不是的话自己改.

第一个,把Explorer加入进程:
开始菜单→运行→输入“regedit”,回车→打开注册表内的HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\项,在该项下新建一个名称为“Explorer.exe”的新字符串值,编辑该值,数据为你系统中Explorer.exe的位置。
第二个,取消开机项目
开始菜单→运行→输入“msconfig”,回车→在『启动』选项卡中,找到那个安装程序的对应的值(如果不知道就把一些没有必要的全部去掉),去掉前面的“√”,保存,退出。
重启电脑。

windows10和Ubuntu双系统,时间不对

原博文

windows10和ubuntu16.04双系统,仍然出现了喜闻乐见的老问题,装完后,在windows下时区不对,之前的老办法是:

sudo gedit /etc/default/rcS
utc=yes 改成 utc=no

然而并没有什么效果,ubuntu16.04里面根本就没有utc这一项!
后来谷歌了半天找到了一个完美解决办法:
先在ubuntu下更新一下时间,确保时间无误:

sudo apt-get install ntpdate
sudo ntpdate time.windows.com

然后将时间更新到硬件上:

sudo hwclock --localtime --systohc

重新进入windows10,发现时间恢复正常了!

新博文

但是在ubuntu24.04中,更新:

简单来说,在Ubuntu24.04中,hwclock已经被淘汰了,并采用了timedatectl去代替它。 因此我们可以在联网状态中使用下列代码实现Ubuntu与Windows的时间同步。

sudo timedatectl set-local-rtc 1

Voltage Change

MACHINE: fish hunting
black pan: GND
red pan:
A: co1

press 100
    voltage change from 3.36V to almost 0V,and then come back to 3.36V
PRESS 10
    3.36V,0.9V,3.36V

B: HP

press coin return
    3.2V, 1.8V,3.2V

C: SSR

press coin return
    5.0V, 0.48V, 5.0V

D: TF

press coin return
    3.2V, 0V, 3.2V

Failed When: Gem Install Therubyracer

运行

dong@ubuntu:~/octopress$ gem install therubyracer  

报错

ERROR:  Error installing therubyracer:
    invalid gem: package is corrupt, exception while verifying: undefined method `size' for nil:NilClass (NoMethodError) in /home/dong/.rvm/gems/ruby-2.3.1/cache/libv8-3.16.14.15-x86_64-linux.gem

corrupt:broken
the package is broken
so remove /home/dong/.rvm/gems/ruby-2.3.1/cache/libv8-3.16.14.15-x86_64-linux.gem
then redownload and reinstall
successed.

Bad Night

Got a lot of nightmares on those days.
So many bad things,bad days.
Got to carry on.

config.yml

.# ———————– #
.# Main Configs #
.# ———————– #

url: https://qiuhaidong.github.io
title: Haydn Yau
subtitle:
author: 丘海东
simple_search: https://www.google.com/search
description:

.# Default date format is “ordinal” (resulting in “July 22nd 2007”)
.# You can customize the format as defined in
.# http://www.ruby-doc.org/core-1.9.2/Time.html#method-i-strftime
.# Additionally, %o will give you the ordinal representation of the day
date_format: “ordinal”

.# RSS / Email (optional) subscription links (change if using something like Feedburner)
subscribe_rss: /atom.xml
subscribe_email:
.# RSS feeds can list your email address if you like
email:

.# ———————– #
.# Jekyll & Plugins #
.# ———————– #

.# If publishing to a subdirectory as in http://site.com/project set ‘root: /project’
root: /
permalink: /blog/:year/:month/:day/:title/
source: source
destination: public
plugins: plugins
code_dir: downloads/code
category_dir: blog/categories
markdown: rdiscount
rdiscount:
extensions:
- autolink
- footnotes
- smart
highlighter: pygments # default python pygments have been replaced by pygments.rb

paginate: 5 # Posts per page on the blog index
paginate_path: “posts/:num” # Directory base for pagination URLs eg. /posts/2/
recent_posts: 5 # Posts in the sidebar Recent Posts section
excerpt_link: “Read on →” # “Continue reading” link text at the bottom of excerpted articles
excerpt_separator: “

Install Again

something new:
install git:

sudo apt-get install git

don’t install from ppa anymore.
install rvm: run the command from official website,the latest version,maybe not the stable version.
install ruby:we don’t use version 1.9.3 anymore,search the official website,the latest version,for exemple:2.3.1 the old version may got some problem when install the gem package.
rubygems bundle installits address has change,the latest version isRuby China,we could check it out from the origin official website.

Icon Display Error

控制面板,显示,更改大小,应用,注销,再把大小改回来。

解压 Extract

sudo apt-get install rar unrar p7zip-full p7zip-rar