Skip to content

Instantly share code, notes, and snippets.

@linhua55
linhua55 / reset-trial-navicat.sh
Created March 19, 2025 05:51 — forked from nakamuraos/reset-trial-navicat.sh
Reset trial Navicat 15, Navicat 16, Navicat 17 on Linux
#!/bin/bash
# Author: NakamuraOS <https://github.com/nakamuraos>
# Latest update: 03/19/2025
# Tested on Navicat 15.x, 16.x, 17.x on Debian, Ubuntu.
BGRED="\e[1;97;41m"
ENDCOLOR="\e[0m"
echo -e "${BGRED} ${ENDCOLOR}"
@linhua55
linhua55 / MyScript.ahk
Last active July 20, 2019 10:46
骑马与砍杀 新纪元 小鬼藏宝室 自动化脚本
; Refer to https://steamcommunity.com/app/48700/discussions/0/1620599004468516170/
; This script was created using Pulover's Macro Creator
; www.macrocreator.com
#NoEnv
SetWorkingDir %A_ScriptDir%
CoordMode, Mouse, Window
SendMode InputThenPlay
#SingleInstance Force
SetTitleMatchMode 2
@linhua55
linhua55 / StopWatch.java
Created April 15, 2019 05:57 — forked from bxbxbai/StopWatch.java
一个测试代码耗费时间的工具类
package io.bxbxbai.android.examples.utils;
import android.os.SystemClock;
import android.util.Log;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
/**
* Android应用中的秒表工具,跟踪某一段代码的执行时间<br/>
@linhua55
linhua55 / HZ-DA
Created December 14, 2017 07:20
合正DA屏
http://www.gpshk.cc/thread-422184-1-1.html
=== ALL
1 C0028 C0028-B7K10-3521J0N 2015年春季版 进入资源 路畅(D2280HA)MIPS专版
2 C0030 C0030-D5N04-3521J0N 2015年春季版 进入资源 路畅模拟屏A2270/A2265-MIPS二合一
3 C0031 C0031-D5N04-3521J0N 2015年春季版 进入资源 路畅模拟屏A2270/A2265-MIPS二合一
4 C0039 C0039-D5N04-3521J0N 2015年春季版 进入资源 路畅模拟屏(A2265R/A2270TP)二合一
5 C0268 C0268-D5J04-3421J0M 2014年冬季版 进入资源 凯越路特仕RTS-1622普清
6 C0288 C0288-D5N04-3521J0N 2015年春季版 进入资源 佳艺田普清专版
7 C0354 C0354-D5L01-3221J0K 2014年夏季版 进入资源 科维嘉铭仁普清
@linhua55
linhua55 / mirrorlist
Created December 24, 2016 13:37
mirrorlist
# Server list generated by rankmirrors on 2016-09-11
# Server list generated by rankmirrors on 2016-08-13
##
## Arch Linux repository mirrorlist
## Generated on 2016-04-10
##
# Main
## Worldwide
#Server = http://mirror.rackspace.com/archlinux/$repo/os/$arch
## Australia
@linhua55
linhua55 / china-ai-robotics-vc.md
Created December 7, 2016 13:08 — forked from tzmartin/china-ai-robotics-vc.md
China has now eclipsed US in AI / deep-learning research, robotics and VC funding (government-backed $338 billion)
@linhua55
linhua55 / Debug.smali
Created October 23, 2016 15:26 — forked from fffonion/Debug.smali
wlanchang smali auto inject
.class public Lcom/test/Debug;
.super Ljava/lang/Object;
# static fields
.field public static final DEBUG_BILLING_DUMMY:Z = false
.field public static final DEBUG_CHECK_MD5:Z = false
.field public static final DEBUG_DISABLE_EVIDENCE:Z = false
@linhua55
linhua55 / introrx.md
Created August 2, 2016 15:05 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@linhua55
linhua55 / 0-EndnoteProcess.md
Created June 9, 2016 15:59 — forked from platinhom/0-EndnoteProcess.md
DOI-endnote-process

Scripts for endnote librart processing.

  • modifyXML.py: To deal with nonsense chars in "Notes" column, reserve Time Cited information; modify improper doi format (remove DOI:, litter case)
  • prepareDOI.py: To pre-process doi number for getPDF.py script.
  • getPDF.py: Search PDF for endnote XML DOI records based on scihub.
    Save the doi number in a file (one doi per line) and use the file as script input.
    Each file save as "10.1021_ci111111a.pdf" in current directory. You have to move the valid file to "Done" Directory and use addPDF.py.
  • addPDF.py: Put found PDF in "Done" Directory, Some pdf don't want to search anymore in "Accept".
    Give a endnote XML as input. Move the PDF to a directory based on doi-paper number. A new xml file will be generated.
    Move all the directories in "Done" to "Endnote library.Data/PDF" and import the new xml file. You may delete old records firstly.
@linhua55
linhua55 / jdk_download.sh
Created April 3, 2016 18:02 — forked from P7h/jdk_download.sh
Script to download JDK / JRE / Java binaries from Oracle website from terminal / shell / command line / command prompt
##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### #####
### Shell script to download Oracle JDK / JRE / Java binaries from Oracle website using terminal / command / shell prompt using wget.
### You can download all the binaries one-shot by just giving the BASE_URL.
### Script might be useful if you need Oracle JDK on Amazon EC2 env.
### Script is updated for every JDK release.
### Features:-
# 1. Resumes a broken / interrupted [previous] download, if any.
# 2. Renames the file to a proper name with including platform info.