linux cpu 相关工具 2021-10-15Ubuntu下根据文件查包的命令
12$ dpkg -S /usr/bin/indicator-cpufreqindicator-cpufreq: /usr/bin/indicator-cpufreq
列出包下所有文件的命令
12345678910$ dpkg -L indicator-cpufreq/./usr/usr/lib/usr/lib/python3/usr/lib/python3/dist-packages/usr/lib/python3/dist-packages/indicator_cpufreq/usr/lib/python3/dist-packages/indicator_ ...
Read more 斐讯N1 2021-10-08PDD上N1盒子带电源110。
电源:
盒子配的电源是12v2A。接口是5525dc线。5525是5.5*2.5mm的意思还有5521规格的头。内孔小一些,无法插入N1。
N1可以做如下事情。
参考
https://powersee.github.io/2020/03/n1-armbian-server/
电视盒刷YYF ROM可以当电视盒用。必须内置刷入emmc。http://www.yyfrom.com/cms/http://www.yyfrom.com/cms/yyfrom/product/2021-7-3/166.html
游戏机用U盘做个EmuELEC系统,引导N1可以变成游戏机 ...
Read more anbox 2020-07-30
Anbox是Linux下的安桌“模拟器”。与其他模拟器不同,它不是虚拟机。性能较快。
Anbox主页
声音如果没有声音,可以参考这个帖子
基本思路是,需要拷几个文件到anbox下,但是anbox文件系统是只读的,所以anbox提供了“Android rootfs overlay”,可以在Linux下添加文件到anbox文件系统中。
Android rootfs overlay
需要添加的文件在这里 https://github.com/anbox/anbox/tree/master/android/media
支持ARM程序和安装Google PlayAnbox默认只能运行x86的程序,这个 ...
Read more Java jws handshake_failure 2020-06-30Env: Win7, jre 1.8.0_251-b08Browser: Chrome/Firefox/IE11
When I run jws application, I got following exception.
123456789101112131415#### Java Web Start Error:#### 无法加载资源: https://<host>/<path>/lib/jws-tools.jarjavax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure ...
Read more v2ray升级 2020-06-04v2ray最近几天放出了几个v2ray core release,根据说明,4.23.2之前的版本有安全漏洞,所以需要升级。
Linux 客户端升级v2raycore查看v2ray当前版本
1/usr/bin/v2ray --version
下载最新版本(今天最新是4.23.4)
https://github.com/v2ray/v2ray-core/releases
比如我的ubuntu就可以下载https://github.com/v2ray/v2ray-core/releases/download/v4.23.4/v2ray-linux-64.zip
解压得到以下文件
123456789 ...
Read more 用python自动扫雷 2020-06-03用Python写程序实现Windows下自动扫雷
原始代码GoMine和帖子自动扫雷 python在这里
Fork了一份到我的github中我的GoMine副本
原文中提供的游戏下载链接失效了,我在这里找到的下载Arbiter_0.52.3.zip。
或者到这个网盘下载
链接: https://pan.baidu.com/s/1lSFNQocGyscuiS4LyxDgIA 密码: 7u9a
Windows下环境准备我的系统是Win7 x64
下载Arbiter_0.52.3.zip解压运行安装Python3安装Git下载代码git clone git@github.com:aaray6/Go ...
Read more Hexo增加站内搜索功能以及随后遇到的问题 2020-05-31
本来想增加一个站内搜索,以便以后找文章用,结果…越来越麻烦。
看介绍,我现在用的这个theme hexo-theme-melody就可以支持,本来很简单。
Local search
123456789You should install hexo-generator-search. Follow its doc to setup. Only supporting the xml file.Set the melody.ymllocal_search: enable: true # or false labels: input_placeholder: Search for Post ...
Read more Linux(ubuntu 18.04)安装OneDrive Free 2020-05-29安装OneDrive Free
参考 如何实现 Microsoft OneDrive 与 Linux 的同步软件 OneDrive Free Client https://github.com/skilion/onedrive
按照https://github.com/skilion/onedrive的文档安装。
sudo apt install libcurl4-openssl-devsudo apt install libsqlite3-devsudo snap install –classic dmd && sudo snap install –classic dub
...
Read more synology 32位eeepc901做NAS尝试 2020-05-28还是我的那台eeepc901,尝试了虚拟机装黑群晖后,想把eeepc改造成黑群晖。但是最终没有尝试完,因为群晖不能使用外接usb硬盘,只能用内部存储,而我的eeepc901是4G+16G,就算变成NAS,也没有什么实用价值。所以在尝试到虚拟机后,暂停了。
下载需要的引导和系统文件因为eeepc901的CPU是N720,是32位的,所以必须找32位的系统才行。最新的群晖系统只支持64位的。我能找到的只有5.0的32位系统。
下载32位5.0黑群晖文件 链接: https://pan.baidu.com/s/1sc-EC5upNVsHDQUyolmIVg 密码: 6ode
文件如下NB_x86_5 ...
Read more Linux/Windows虚拟机virtualbox上安装黑群晖synology 2020-05-26参考用PC玩群晖NAS,虚拟机安装DSM原文是用Windows下vmware安装。尝试用其提供的文件synoboot.img和DSM_DS3617xs_23739.pat并用VBoxManage转换img文件为vdi文件,用nmap命令取代群晖助手获得虚拟机mac地址。 原文提供的下载,链接: https://pan.baidu.com/s/18xrtSiHxeIsP... 提取码: bhrg
下载启动文件和DSM文件并转换格式1VBoxManage convertfromraw --format VDI synoboot.img synoboot.img.vdi
在virtualbox中创建 ...
Read more bgm.tv导出工具bgm_tenkou 2020-05-23获取最新代码12cd ~/Dropboxgit clone git@github.com:aaray6/bgm_tenkou.git bgm_tenkou
准备环境123cd ~/Dropbox/bgm_tenkoumkdir aaraychmod +x *.py
aaray是保存导出文件的目录
Proxychains 代理编辑~/proxychains.conf,如果没有这个文件,可以拷贝/etc/proxychains.conf到~/proxychains.conf启动代理监听本地2080或者3080端口设置~/proxychains.conf文件
1234...#socks5 ...
Read more hexo-theme-melody 2020-05-16这两天净换theme了。今天试了Molody,感觉这个挺适合blog风格。
默认设置里首页是显示全文的,如果需要显示摘要,修改melody/_config.yml
123auto_excerpt: enable: true length: 300
Read more SAS Japanese Encoding (SJIS/EUC) 2020-05-15Migrate SAS9.3 on AIX to SAS9.4 on Linux.
The output/log files are in SJIS(Shift-JIS) encoding on AIX and in EUC-JP coding on Linux.
To determine the encoding of the files, open them by MS Word and select encoding, only correct encoding can display Japanese characters correctly.
The issue is caused ...
Read more hexo-theme-Yin 2020-05-14一个简单的Hexo Theme. hexo-theme-Yin
编译的时候报了一些undefine的错误,只要在themes/hexo-theme-Yin/_config.yml文件中加入以下内容即可
123456gitalk: enable: falsedisqus: enable: falsereward: enable: false
Read more sqlplus 2020-05-13To use sqlplus to test, do following
1234export $ORACLE_HOME=/opt/oracleclientexport PATH=$PATH:$ORACLE_HOME/binexport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/libsqlplus user/pass@SID
Read more trojan-gfw 2020-05-12Trojan 服务器端Create VPS (google) and open 80/443 ports申请 domain name (xzy.ddnsfree.com) on dynu.com,配置动态域名解析Login VPSInstall Trojan (Binary & Package Distributions) [https://github.com/trojan-gfw/trojan/wiki/Binary-&-Package-Distributions]
Quickstart Script1sudo bash -c "$(curl -fsSL http ...
Read more v2ray-heroku 2020-05-12v2ray-heroku
概述
用于在 Heroku 上部署 V2Ray Websocket。
Heroku 为我们提供了免费的容器服务,我们不应该滥用它,所以本项目不宜做为长期翻墙使用。
可以部署两个以上的应用,实现 负载均衡,避免长时间大流量连接某一应用而被 Heroku 判定为滥用。
Heroku 的网络并不稳定,部署前请三思。镜像
本镜像不会因为大量占用资源而被封号。
Official site
参考
Youtube 【IT常识】Github上免费VPS,自动部署v2ray,免费使用!Online UUID Generator
Read more LEDE & Lubuntu on eeepc901 2019-04-23install LEDE and Lubuntu dual-boot on eeepc901
1. install lubuntu on /dev/sdb参考这里install lubuntu on eeepc901
2. 假设/dev/sda是空的,安装LEDE到/dev/sda上download LEDE x86链接: https://pan.baidu.com/s/159Ph4Pi-VpXV3bcAlDDUTg 密码: gg9e
得到文件LEDE-17.01.2-R7.3.3-x86-combined-squashfs.rar解压得到LEDE-17.01.2-R7.3.3-x86-co ...
Read more win10_explorer_sort_by_num 2019-03-20Win10资源管理器中文件名排序中,数字部分是把数字装换为数值后进行排序
比如
123201801AAA201901BBB20180101CCC
而我们通常是希望如下排序
123201801AAA20180101CCC201901BBB
解决方法
Is there a way to fix the sort by name in Windows 10 File Explorer?
In the start menu, search for “Edit Group Policy” or “gpedit.msc” and press enter.In the Local Group Poli ...
Read more MyInventory by TreeLine 2019-03-18用TreeLine搭建我的物品管理程序
TreeLine
What is TreeLine?Do you have lots of sticky notes lying around with various useful information jotted down? Or many lists of books, movies, website logins, personal contacts, or things to do? Can you find them when you need them? Well, I often couldn’t. So here’s my an ...
Read more gcloud firewall ufw v2ray ddns 2019-03-12Google gcloud平台安装V2Ray,设置防火墙,设置动态DNS
注:一定不用忘记打开Linux本身的防火墙ufw
使用防火墙规则
首先创建规则,创建一个从外面可以访问50443端口的规则my-allow-v2ray
然后在Compute Engine实例中使用这些规则
最后,还需要在Linux的防火墙里添加规则
1234567891011121314151617181920212223242526272829root@instance-1:/etc/v2ray# ufw allow 50443/tcpRule addedRule added (v6)root@instance- ...
Read more IBM X201 Linux (ubuntu) 记录 2019-03-09X201过热; 指纹登录; 更换启动界面; 修复分区表和GRUB引导; 休眠
xxd - Linux HEX editorLinux Baidu PanX201过热安装以下软件,Linux比安装之前降温10度左右
lm_sensor (and afterwards I did run sensors-detect)thermaldTLPintel-ucode
TLP12345678910111213sudo add-apt-repository ppa:linrunner/tlpsudo apt-get updatesudo apt-get install tlp## thinkpadsudo ...
Read more 我的新浪博客 2019-03-08我10多年前在新浪上记过一段时间blog I love games,现在竟然还在多年之后再看以前写的东西,感觉还是很有意思。很多东西竟然一点印象都没有了。博客列表
Read more hexo_theme_AlphaDust 2019-03-04Use AlphaDust theme
themes/alpha-dust/_config.yml
12345678910111213141516171819202122232425262728293031323334353637383940414243# Logo (Font Awesome Class)fa_logo: fa-cube# Headermenu: Home: / Archives: /archives About: /about.html# Tags: /tags# Categories: /categories Contact: /contact.html# D ...
Read more Metasploit 2019-02-27测试用的被攻击Linux虚拟机镜像下载
Metasploitable
start msconsole12service postgresql startmsconsole
IRC on MetasploitableKali Linux: 192.168.56.100Metasploitable: 192.168.56.101
123456789search Unreal 3.2.1.8use exploit/unix/irc/unreal_ircd_3281_backdoorshow optionsset RHOSTS 192.168.56.101show payloadsset paylo ...
Read more ubuntu18.04双显示器配置 2019-02-27环境Thinkpad x201, ubuntu18.04, 外接显示器1920x1080, VGA接口
how-to-add-display-resolution-for-an-lcd-in-ubuntu-12-04-xrandr-problem
First, use cvt to create a new resolution mode.
1234$ sudo cvt 1920 1080 60[sudo] xxxx 的密码:# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHzModeline " ...
Read more Kali Linux应用 2019-02-22Kali Linux破解WPA/WPA2 Wifi密码
Kali Linux使用Aircrack破解wifi密码(wpa/wpa2)How To Hack WPA/WPA2 Wi-Fi With Kali Linux & Aircrack-ngHow To Crack WPA/WPA2 Wi-Fi Passwords Using Aircrack-Ng In Kali
Notes:
airodump-ng -c <channel> --bssid <WIFI BSSID> -w <Work directory> wlan0mon
<Wor ...
Read more Kali linux 2019-02-20Install Kali Linux on VirtualBox. The host is ubuntu
Set 1G memory and 2 CPUs.
MT7601U Wireless Adapter in Kali in VirtualBoxMT7601U Wireless Adapter can be used in my host system. No need to do any setting. The ubuntu has driver already.
But in guest VirtualBox Kali linux, it can’t work by default. ...
Read more NFC笔记 2019-02-11在淘宝上买了一个IC卡复制工具
带了Windows版的软件和驱动
2020-05-28更新,最开始的软件有序列号,过期了。厂家更新了一个新的不需要序列号的软件。
下载NFC小黑3.0(1909)链接: https://pan.baidu.com/s/13G_Sgu1j_h_LzgJXgDvJwg 密码: eqc0
带的软件里有libnfc.dll, mfoc.dll两个文件。驱动程序就是一个”Prolific Technology, Inc. PL2303 Serial Port“ USB转串口驱动。读卡器是USB接口的,安装驱动之后映射岛了COM3。因此想到是否可以找到其他的软件使用 ...
Read more Spring boot notes 2018-03-22Official site
Start a new Spring boot projectTool to generate base framework
Read more