This file contains hidden or 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 lua | |
| --[[ by maz-1 ohmygod19993@gmail.com ]]-- | |
| local socket = require 'socket' | |
| local copas = require 'copas' | |
| local uci = require "luci.model.uci".cursor() | |
| local sys = require "luci.sys" | |
This file contains hidden or 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 -Naur a/Root_Actions_2.9/rootactions-servicemenu.pl b/Root_Actions_2.9/rootactions-servicemenu.pl | |
| --- a/Root_Actions_2.9/rootactions-servicemenu.pl 2017-01-23 19:01:50.962827697 +0800 | |
| +++ b/Root_Actions_2.9/rootactions-servicemenu.pl 2017-01-23 19:02:34.582792120 +0800 | |
| @@ -896,7 +896,8 @@ | |
| $KDELANG = $ENV{LANG}; | |
| + $KDELANG =~ s/\..*//; | |
| } | |
| chomp($KDELANGSHT = substr("$KDELANG",0,2)); | |
| return 0; |
This file contains hidden or 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 -Naur a/Root_Actions_2.9/dolphin-KDE4/10-rootactionsfolders.desktop b/Root_Actions_2.9/dolphin-KDE4/10-rootactionsfolders.desktop | |
| --- a/Root_Actions_2.9/dolphin-KDE4/10-rootactionsfolders.desktop 2012-03-29 12:36:59.000000000 +0800 | |
| +++ b/Root_Actions_2.9/dolphin-KDE4/10-rootactionsfolders.desktop 2017-01-23 18:27:58.064836029 +0800 | |
| @@ -31,6 +31,7 @@ | |
| X-KDE-Submenu[sr@latin]=Korene &akcije | |
| X-KDE-Submenu[sv]=Root åtgärder | |
| X-KDE-Submenu[tr]=&Yetkili Eylemleri | |
| +X-KDE-Submenu[zh_CN]=Root操作 | |
| #X-KDE-Submenu[xx]=Your string 'xx' is the country abbreviation | |
This file contains hidden or 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 | |
| set -e | |
| if [[ $EUID -ne 0 ]]; then | |
| exec sudo "$0" | |
| exit 1 | |
| fi | |
| #ROOTDISK=$(mount|grep ' on / '|egrep -o 'disk\d*') | |
| REC_DEV=$(diskutil info `df /|awk '/disk/ {print $1}'`|awk '/Recovery Disk:/ {print $3}') | |
| #mkdir -p /Volumes/Recovery\ HD/ | |
| #mount -t hfs ${REC_DEV} /Volumes/Recovery\ HD/ |
This file contains hidden or 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 -Naur -x '.*' a/CPP/7zip/Archive/Zip/ZipIn.cpp b/CPP/7zip/Archive/Zip/ZipIn.cpp | |
| --- a/CPP/7zip/Archive/Zip/ZipIn.cpp 2016-05-20 16:20:03.000000000 +0800 | |
| +++ b/CPP/7zip/Archive/Zip/ZipIn.cpp 2017-01-30 14:51:29.000000000 +0800 | |
| @@ -2,6 +2,9 @@ | |
| #include "StdAfx.h" | |
| +#include <iconv.h> | |
| +#include <natspec.h> | |
| + |
This file contains hidden or 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
| desc "Library for national and language-specific issues" | |
| homepage "http://sourceforge.net/projects/natspec/" | |
| url "http://sourceforge.net/projects/natspec/files/natspec/0.3.0/libnatspec-0.3.0.tar.bz2" | |
| sha256 "678db5f2e25be3e79183ecc9ff6b19fb66775bcb6c3c962ba7716bc4a8ecce71" | |
| bottle do | |
| cellar :any | |
| sha256 "84aefa7e2449d8162aca396921a568c556f2191db72fd5f03ee2daf6cf9485bd" => :sierra | |
| sha256 "2efac098c764845cae4a33c4788fd2f811a6a62a9345e4dcdebe4097cd1e09f3" => :el_capitan | |
| sha256 "7a70c24489fcd92a6f3845dd945eb0822d4018ef937747c720522a1e70e90fdb" => :yosemite |
This file contains hidden or 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 | |
| if [ "$1" = "-h" -o "$1" = "--help" -o -z "$1" ]; then cat <<EOF | |
| appify v3.0.1 for Mac OS X - http://mths.be/appify | |
| Creates the simplest possible Mac app from a shell script. | |
| Appify takes a shell script as its first argument: | |
| `basename "$0"` my-script.sh |
This file contains hidden or 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 | |
| if [ "$1" = "-h" -o "$1" = "--help" -o -z "$1" ]; then cat <<EOF | |
| appify v3.0.1 for Mac OS X - http://mths.be/appify | |
| Creates the simplest possible Mac app from a shell script. | |
| Appify takes a shell script as its first argument: | |
| `basename "$0"` my-script.sh |
This file contains hidden or 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 (maz_1@foxmail.com) | |
| SetWorkingDir %A_ScriptDir% | |
| StringCaseSense, Off | |
| #Include Gdip.ahk |
This file contains hidden or 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" |
OlderNewer