Skip to content

Instantly share code, notes, and snippets.

@jafeeye
jafeeye / windows10.reg
Created April 12, 2025 02:52 — forked from WindyNova/windows10.reg
Windows 10 优化
Windows Registry Editor Version 5.00
;https://www.cmdpe.com/post/154.html
;最开始这句"Windows Registry Editor Version 5.00"是注册表文件必备语句,请不要删除。
;以";"开头的语句是注释语句,不起任何作用,只是注释而已。
;***桌面图标优化***
;在桌面显示此电脑
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
;"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000001 ;默认值
"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000
@jafeeye
jafeeye / get-image-urls.js
Created October 9, 2023 15:48 — forked from tobek/get-image-urls.js
Save images from chrome inspector/dev tools network tab
/* open up chrome dev tools (Menu > More tools > Developer tools)
* go to network tab, refresh the page, wait for images to load (on some sites you may have to scroll down to the images for them to start loading)
* right click/ctrl click on any entry in the network log, select Copy > Copy All as HAR
* open up JS console and enter: var har = [paste]
* (pasting could take a while if there's a lot of requests)
* paste the following JS code into the console
* copy the output, paste into a text file
* open up a terminal in same directory as text file, then: wget -i [that file]
*/
@jafeeye
jafeeye / FocusBehavior.cs
Created August 12, 2022 13:44 — forked from chuckdee68/FocusBehavior.cs
FocusBehavior - Set the focus when a form first opens
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
namespace Supporting
{