This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoTrayIcon | |
#NoEnv | |
#singleinstance,force | |
modified=20161122 | |
filename1=Generate thumbnail By Maz-1 ([email protected]) | |
SetWorkingDir %A_ScriptDir% | |
StringCaseSense, Off | |
#Include Gdip.ahk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- packages/SystemUI/res/layout/status_bar_alarm_group.xml 2017-09-01 06:35:08.616525928 +0000 | |
+++ packages/SystemUI/res/layout-sw410dp/status_bar_alarm_group.xml 2017-09-01 06:35:08.616525928 +0000 | |
@@ -42,6 +42,20 @@ | |
android:layout_height="match_parent" /> | |
</FrameLayout> | |
+ <com.android.systemui.statusbar.policy.DateView | |
+ android:id="@+id/date" | |
+ android:layout_width="wrap_content" | |
+ android:layout_height="wrap_content" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"version":1,"control":{"apply":"#!\/system\/bin\/sh\n\necho $1 > \/sys\/kernel\/sound_control\/headphone_gain\n#echo \"-20 -20\" > \/sys\/kernel\/sound_control\/headphone_gain","value":"#!\/system\/bin\/sh\n\n\norigval=$(cat \/sys\/kernel\/sound_control\/headphone_gain)\nleftval=${origval% *}\nrightval=${origval#* }\n\nif [ $leftval -ge 172 ]\nthen\n leftval=$(expr $leftval - 256)\nfi\n\nif [ $rightval -ge 172 ]\nthen\n rightval=$(expr $rightval - 256)\nfi\n\necho $leftval $rightval","title":"headphone volume control","description":"headphone volume gain","id":"generic"}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoEnv | |
#NoTrayIcon | |
#singleinstance,force | |
EnvGet, HomePath, HOMEPATH | |
EnvGet, Windir, WINDIR | |
CtrlIsDown := GetKeyState("Ctrl", "P") | |
if (not A_IsAdmin and CtrlIsDown) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import sys | |
import os | |
from persepolis.scripts import persepolis | |
persepolis.main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;https://autohotkey.com/boards/viewtopic.php?t=3144 | |
#NoEnv | |
#SingleInstance, Force | |
SetWinDelay, -1 | |
SetBatchLines, -1 | |
#include <gdip> | |
Global HMain, XMain, YMain, HChild, XChild, YChild | |
Scaling_Ratio:=A_ScreenDPI/96 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/10.12/Advanced/DSDT-HotPatches/Patches/SSDT-XE42.dsl b/10.12/Advanced/DSDT-HotPatches/Patches/SSDT-XE42.dsl | |
new file mode 100644 | |
index 0000000..0631dc2 | |
--- /dev/null | |
+++ b/10.12/Advanced/DSDT-HotPatches/Patches/SSDT-XE42.dsl | |
@@ -0,0 +1,106 @@ | |
+// An alternate USB-hotplug interrupt method that is non-recursive - dpassmor | |
+ | |
+DefinitionBlock ("", "SSDT", 1, "hack", "XE42", 0) | |
+{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#MANIFEST=".repo/manifest.xml" | |
MANIFEST="/tmp/manifest.xml" | |
cat .repo/manifest.xml | sed '/<!--.*-->/d' | sed '/<!--/,/-->/d' > $MANIFEST | |
ls .repo/manifests/snippets/ | while read line | |
do | |
cat .repo/manifests/snippets/$line | sed '/<!--.*-->/d' | sed '/<!--/,/-->/d' >> $MANIFEST | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoEnv | |
#NoTrayIcon | |
SetWorkingDir %A_ScriptDir% | |
SetRegView 32 | |
SetBatchLines -1 | |
RegRead, ArduinoUninstall, HKEY_LOCAL_MACHINE, SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Arduino, UninstallString | |
ArduinoEXE := StrReplace(ArduinoUninstall, "uninstall.exe" , "arduino.exe") | |
SplitPath, A_ScriptDir, OutDirName |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
me=`basename "$0"` | |
sed -i 's/WindowIsMaximized=true/WindowIsMaximized=false/g' ~/.config/Kingsoft/Office.conf | |
export WPS_NO_KDE_NATIVE_DIALOG=1 | |
exec run_scaled /usr/bin/$me "$@" |