Skip to content

Instantly share code, notes, and snippets.

View Kyson's full-sized avatar
🏠
Working from home

AndroidKy Kyson

🏠
Working from home
  • Trip.com
  • Shanghai
View GitHub Profile
@Kyson
Kyson / Markdium-Diff.diff
Created January 31, 2021 04:00
Markdium-Hello Markdium!
public class Hello1
{
public static void Main()
{
- System.Console.WriteLine("Hello, World!");
+ System.Console.WriteLine("Rock all night long!");
}
}
@Kyson
Kyson / Markdium-TypeScript.ts
Created January 31, 2021 04:00
Markdium-Hello Markdium!
let foo = 'bar'
/**
Don't worry about the code block, it will be saved as a gist with right language format, and auto embed to your post.
**/
@Kyson
Kyson / Markdium-TypeScript.ts
Created January 31, 2021 03:59
Markdium-Hello Markdium!
let foo = 'bar'
/**
Don't worry about the code block, it will be saved as a gist with right language format, and auto embed to your post.
**/
@Kyson
Kyson / Markdium-Diff.diff
Created January 31, 2021 03:59
Markdium-Hello Markdium!
public class Hello1
{
public static void Main()
@Kyson
Kyson / Markdium-Diff.diff
Created January 31, 2021 03:59
Markdium-Hello Markdium!
public class Hello1
{
public static void Main()
@Kyson
Kyson / Markdium-TypeScript.ts
Created January 31, 2021 03:59
Markdium-Hello Markdium!
let foo = 'bar'
/**
Don't worry about the code block, it will be saved as a gist with right language format, and auto embed to your post.
**/
@Kyson
Kyson / pull anr
Created January 19, 2017 12:00
拉取anr文件
cat /data/anr/traces.txt > /mnt/sdcard/k.txt
exit
adb pull /mnt/sdcard/k.txt k.txt
@Kyson
Kyson / wait-notify-test
Created January 9, 2017 06:49
测试wait-notify方法
package com.tt;
public class Main {
public static void main(String[] args) {
Object obj = new Object();
new Thread() {
@Override
public void run() {
@Kyson
Kyson / gist:e47b82f3bdfb47af1e13e97ca5e1d8d4
Created December 29, 2016 16:48
多个sheet合并一个sheet
Sub 合并当前工作簿下的所有工作表()
Application.ScreenUpdating = False
For j = 1 To Sheets.Count
If Sheets(j).Name <> ActiveSheet.Name Then
X = Range("A65536").End(xlUp).Row + 1
Sub hebing()
Dim FileOpen
Dim X As Integer
Application.ScreenUpdating = False
FileOpen = Application.GetOpenFilename(FileFilter:="Microsoft Excel文件(*.xlsx),*.xlsx", MultiSelect:=True, Title:="合并工作薄")
X = 1
While X <= UBound(FileOpen)
Workbooks.Open Filename:=FileOpen(X)
Sheets().Move After:=ThisWorkbook.Sheets(ThisWorkbook.Sheets.Count)