Skip to content

Instantly share code, notes, and snippets.

View luojunyuan's full-sized avatar
🏠
have a good day

k1mlka luojunyuan

🏠
have a good day
View GitHub Profile
@dantmnf
dantmnf / Huawei MateBook E Go (Wi-Fi).md
Last active April 12, 2025 13:38
Huawei MateBook E Go (Wi-Fi)

The Huawei MateBook E Go (Wi-Fi) is a Windows on ARM device based on Qualcomm Snapdragon 8cx Gen 3 platform at a reasonable price compared to Surface and ThinkPad.

Before you purchase…

Caveats

  • The native orientation of the display panel is portrait.
  • The keyboard cover doesn’t outperform 2015 Surface.
    • No backlight
    • No wired connection - lags
    • Doesn’t get disabled when flipped to back
  • The quality of touch panel and pen driver is questionable.
@taskylizard
taskylizard / fmhy.md
Last active April 17, 2025 13:34
/r/freemediaheckyeah, in one single file (view raw)
@wldevries
wldevries / Program.cs
Last active April 30, 2023 20:56
Disable touch and gesture feedback in Windows
using System;
using System.Runtime.InteropServices;
namespace SetTouchSettings
{
class Program
{
private static class NativeMethods
{
[DllImport("user32.dll", EntryPoint = "SystemParametersInfo", SetLastError = true)]
> dumpbin /exports .\twitter.dll
Microsoft (R) COFF/PE Dumper Version 14.10.25019.0
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file .\twitter.dll
File Type: DLL
Section contains the following exports for twitter.dll
@btfak
btfak / useHexo.md
Created May 26, 2016 09:41
How to use Hexo and deploy to GitHub Pages
@famousgarkin
famousgarkin / powershell-proxy-set-clear.ps1
Last active July 24, 2024 17:04
PowerShell Set-Proxy, Clear-proxy
# NOTE: registry keys for IE 8, may vary for other versions
$regPath = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings'
function Clear-Proxy
{
Set-ItemProperty -Path $regPath -Name ProxyEnable -Value 0
Set-ItemProperty -Path $regPath -Name ProxyServer -Value ''
Set-ItemProperty -Path $regPath -Name ProxyOverride -Value ''
[Environment]::SetEnvironmentVariable('http_proxy', $null, 'User')
@fyears
fyears / generate.sh
Created November 2, 2014 06:31
pyside+qml+pyinstaller
pyinstaller -F -w --noupx main.spec

C#编码规范

概述

规范制定原则

  • 方便代码的交流和维护。
  • 不影响编码的效率,不与大众习惯冲突。
  • 使代码更美观、阅读更方便。
  • 使代码的逻辑更清晰、更易于理解。
@asabaylus
asabaylus / gist:3071099
Created July 8, 2012 14:12
Github Markdown Heading Anchors

Anchors in Markdown

To create an anchor to a heading in github flavored markdown. Add - characters between each word in the heading and wrap the value in parens (#some-markdown-heading) so your link should look like so:

[create an anchor](#anchors-in-markdown)

@coderofsalvation
coderofsalvation / winetalk
Created July 5, 2012 11:52
winetalk - named pipes for communication between wine and linux bash
# setup named pipes for wine<->linux shell communication
#
# APPLICATIONS: glue linux & wine, use linux in .bat scripts, system() C-calls etc
# USAGE:
#
# [linux]
# mkfifo /tmp/wine_in
# mkfifo /tmp/wine_out
# ./winetalk /tmp/wine_in /tmp/wine_out
#