Skip to content

Instantly share code, notes, and snippets.

View LaruYan's full-sized avatar

LaruYan LaruYan

View GitHub Profile
@LaruYan
LaruYan / keybase.md
Created December 16, 2015 14:27
Keybase.io Identity

Keybase proof

I hereby claim:

  • I am LaruYan on github.
  • I am laruyan (https://keybase.io/laruyan) on keybase.
  • I have a public key whose fingerprint is C4DE 1703 1AD4 B1B3 4A0F 5248 03CD 5DA7 2955 85A8

To claim this, I am signing this object:

@LaruYan
LaruYan / bool-land.xml
Created February 17, 2017 13:03
I tried some of screen orientation checks for android and looped that 100,000 times.. The other does same but 240 times slower!
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="is_landscape">true</bool>
</resources>
@LaruYan
LaruYan / 20171203-1931_SystemDump.log
Created December 3, 2017 11:08
WinDbg dump analysis of Dump caused by avp.exe with fvevol.sys after updating KB4051963
Microsoft (R) Windows Debugger Version 10.0.16299.15 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
Loading Dump File [C:\Users\LaruYan\Desktop\MEMORY.DMP]
Kernel Bitmap Dump File: Kernel address space is available, User address space may not be available.
Symbol search path is: srv*
Executable search path is:
@LaruYan
LaruYan / bookmarks_8_28_18.html
Last active August 28, 2018 11:18
importable Bookmark for testing Google Chrone's bookmark sync problems. Issue 878344
<!DOCTYPE NETSCAPE-Bookmark-file-1>
<!-- This is an automatically generated file.
It will be read and overwritten.
DO NOT EDIT! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks</H1>
<DL><p>
<DT><H3 ADD_DATE="1535453545" LAST_MODIFIED="1535453552">testsyncissuebookmarkname</H3>
<DL><p>
@LaruYan
LaruYan / deleteTweetTimer.js
Last active November 18, 2022 12:33
Tweet delete button clicker (delete tweet from your own tweets only)
var deleteTweetsTimer = null;
var doDeleteTweetsFn = () => {
clearInterval(deleteTweetsTimer);
const tweetEntry = document.querySelector('article[data-testid="tweet"]');
if (!!tweetEntry) {
const unretweetBtn = tweetEntry.querySelector('div[data-testid="unretweet"]');
const moreBtn = tweetEntry.querySelector('div[data-testid="caret"]');
@LaruYan
LaruYan / unfavTimer.js
Last active March 14, 2023 18:52
Unfavourite Tweet button clicker (scrolls through and unlike/unfavourite tweets from your own likes/favourites only)
var unfavTweetsTimer = null;
var doUnfavTweetsFn = () => {
clearInterval(unfavTweetsTimer);
Array.from(document.querySelectorAll('article[data-testid="tweet"] div[data-testid="unlike"]'))
.forEach(unlikeBtn => {
unlikeBtn.click();
})
window.scrollTo({
top: document.body.scrollHeight,
left: 0,