Skip to content

Instantly share code, notes, and snippets.

View Ouroboros's full-sized avatar

Ouroboros

  • 身喰らう蛇
  • 星辰の間
View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<TOOL_CONFIG CONFIG_NAME="NO_LONGER_USED">
<SUPPORTED_DATA_TYPE CLASS_NAME="ghidra.program.model.listing.DataTypeArchive" />
<SUPPORTED_DATA_TYPE CLASS_NAME="ghidra.program.model.listing.Program" />
<ICON LOCATION="greenDragon24.png" />
<TOOL TOOL_NAME="CodeBrowser_1" INSTANCE_NAME="">
<OPTIONS>
<CATEGORY NAME="Listing Fields">
<ENUM NAME="Cursor Text Highlight.Mouse Button To Activate" TYPE="enum" CLASS="ghidra.GhidraOptions$CURSOR_MOUSE_BUTTON_NAMES" VALUE="LEFT" />
<STATE NAME="Labels Field.Display Function Label" TYPE="boolean" VALUE="false" />
@Ouroboros
Ouroboros / d2.js
Last active October 21, 2021 16:05
diablo ii update pos
const D2Modules = {
D2Net : Process.getModuleByName('D2Net.dll'),
Storm : Process.getModuleByName('Storm.dll'),
D2Client: Process.getModuleByName('D2Client.dll'),
};
const KERNEL32 = Process.getModuleByName('KERNEL32.dll');
const GetProcAddress = new NativeFunction(KERNEL32.findExportByName("GetProcAddress"), "pointer", ['pointer', 'int']);
@Ouroboros
Ouroboros / bilibiliHome.user.js
Last active February 11, 2021 12:44
bilibiliHome.user.js
// ==UserScript==
// @name bilibili网页端添加APP首页推荐
// @namespace indefined
// @version 0.6.12.2
// @description 网页端首页添加APP首页推荐、全站排行、可选提交不喜欢的视频
// @author indefined
// @supportURL https://github.com/indefined/UserScripts/issues
// @match *://www.bilibili.com/*
// @license MIT
// @connect app.bilibili.com
#!/bin/sh
CURRENT_DIR=`pwd`
PROJECT_DIR=`dirname $CURRENT_DIR`
GOPATH=$PROJECT_DIR:$GOPATH go $*
swift/utils/build-script --release --lldb --build-swift-static-stdlib=1 --lldb-use-system-debugserver --install-destdir /Users/ouroboros/dev/lldb-swift/install --install-lldb

diff --git a/lldb.xcodeproj/project.pbxproj b/lldb.xcodeproj/project.pbxproj
index 757c58d860..a220263b28 100644
--- a/lldb.xcodeproj/project.pbxproj
+++ b/lldb.xcodeproj/project.pbxproj
@Ouroboros
Ouroboros / login.md
Last active December 17, 2018 07:10
拒绝二维码登录(淘宝、京东等网站默认出现账号密码登录界面)

https://greasyfork.org/en/scripts/27183-%E6%8B%92%E7%BB%9D%E4%BA%8C%E7%BB%B4%E7%A0%81%E7%99%BB%E5%BD%95-%E6%B7%98%E5%AE%9D-%E4%BA%AC%E4%B8%9C%E7%AD%89%E7%BD%91%E7%AB%99%E9%BB%98%E8%AE%A4%E5%87%BA%E7%8E%B0%E8%B4%A6%E5%8F%B7%E5%AF%86%E7%A0%81%E7%99%BB%E5%BD%95%E7%95%8C%E9%9D%A2

// ==UserScript==
// @name         拒绝二维码登录(淘宝、京东等网站默认出现账号密码登录界面)
// @namespace    undefined
// @version      0.3.4
// @description  淘宝、京东、阿里云等网站默认使用账号密码登录,不出现二维码登录界面
// @author       Vizards
// @match        *://login.taobao.com/*
@Ouroboros
Ouroboros / Preferences.sublime-settings.json
Created June 15, 2018 09:03
Preferences.sublime-settings
{
"always_show_minimap_viewport": true,
"auto_complete_triggers":
[
{
"characters": ".",
"selector": "source"
},
{
"characters": ":",
ln -s /usr/lib/llvm-6.0/lld /usr/lib/llvm-6.0/ld
CC=/usr/lib/llvm-6.0/bin/clang CXX=/usr/lib/llvm-6.0/bin/clang++ cmake -DCMAKE_BUILD_TYPE=Release -G Ninja ../LLVM
@Ouroboros
Ouroboros / clang.md
Last active January 26, 2022 12:47
How to install latest clang (5.0) on Ubuntu 16.04 (xenial) / WSL
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-5.0 main"
sudo apt-get update
sudo apt-get install -y clang-5.0 lld-5.0
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-6.0 main"