Skip to content

Instantly share code, notes, and snippets.

@dahaha-365
dahaha-365 / lazy_script.js
Last active November 21, 2024 06:28
Clash Verge Rev 全局扩展脚本(懒人脚本配置)
/***
* Clash Verge Rev 全局扩展脚本(懒人配置)/ Mihomo Party 覆写脚本
* URL: https://gist.github.com/dahaha-365/0b8beb613f8d1ee656fe1f21e1a07959
*/
/**
* 整个脚本的总开关,在Mihomo Party使用的话,请保持为true
* true = 启用
* false = 禁用
*/
@RRethy
RRethy / gist:ad8a9a3b1112a48226ec3336fa981224
Last active November 21, 2024 06:26
Seamlessly editing remote files in (Neo)Vim with Netrw and scp

Seamlessly editing remote files in (Neo)Vim with Netrw and scp

Neovim and Vim both come bundled with a standard plugin called Netrw. Netrw acts a file explorer (similar to NERDTree), but more importantly has the ability to work with scp (as well as sftp, rcp, ftp, and lots of others :h netrw-nread) to let you edit files and browse directories that are hosted on a remote machine, inside of your local Vim instance.

This is useful since you are able to use your Vim setup and plugins without copying over your dotfiles to the remote machine. As well, since the file is copied to your local machine, there will be no delay when typing.

Setup

This is optional for Vim, but required for Neovim (check this Neovim issue explaining why).

@fnky
fnky / ANSI.md
Last active November 21, 2024 06:22
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@joshtynjala
joshtynjala / ArchivedFlashDocs.md
Last active November 21, 2024 06:16
Adobe Flash Documentation Markdown Archive

Adobe Flash Documentation Markdown Archive

Links to archives of official documentation for ActionScript 3.0, Adobe Flash Player, Adobe AIR, and Adobe Flex — converted to Markdown format. Adobe Systems Incorporated released this content under a Creative Commons BY-NC-SA 3.0 license, which makes it possible for this archive to exist.

ActionScript and Flash

@mohzeki222
mohzeki222 / -8.ipynb
Created November 21, 2024 03:35
データ科学と機械学習の数理 第8回
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tleish
tleish / mysql_backup.sh
Last active November 21, 2024 06:09
Bash Script to backup all MySQL databases
#!/bin/bash
#==============================================================================
#TITLE: mysql_backup.sh
#DESCRIPTION: script for automating the daily mysql backups on development computer
#AUTHOR: tleish
#DATE: 2013-12-20
#VERSION: 0.4
#USAGE: ./mysql_backup.sh
#CRON:
# example cron for daily db backup @ 9:15 am
@liuran001
liuran001 / config.yaml
Last active November 21, 2024 06:08
mihomo (Clash Meta) 懒人配置
# mihomo (Clash Meta) 懒人配置
# 版本 V1.12-241024
# https://gist.github.com/liuran001/5ca84f7def53c70b554d3f765ff86a33
# https://obdo.cc/meta
# 作者: 笨蛋ovo (bdovo.cc)
# Telegram: https://t.me/baka_not_baka
# 关注我的 Telegram 频道谢谢喵 https://t.me/s/BDovo_Channel
# 修改自官方示例规则 https://wiki.metacubex.one/example/#meta
# 转载请保留此注释
# 尽量添加了较为详尽的注释,不理解的地方建议对照 虚空终端 (Clash Meta) Docs 进行理解
@callumlocke
callumlocke / .zshrc
Last active November 21, 2024 06:05
ZSH function to auto-switch to correct Node version
####
# ZSH function to auto-switch to correct Node version
# https://gist.github.com/callumlocke/30990e247e52ab6ac1aa98e5f0e5bbf5
#
# - Searches up your directory tree for the closest .nvmrc, just like `nvm use` does.
#
# - If you are already on the right Node version, IT DOES NOTHING, AND PRINTS NOTHING.
#
# - Works correctly if your .nvmrc file contains something relaxed/generic,
# like "4" or "v12.0" or "stable".
@kosh04
kosh04 / .gitignore
Last active November 21, 2024 06:03
Chrome Cookies Decrypter
cookie.txt
@XDo0
XDo0 / 1.js
Last active November 21, 2024 06:01
Useful Frida Scripts
Java.perform(function () {
// 获得一个类的包装
var classInstance = Java.use("de.fraunhofer.sit.premiumapp.LauncherActivity")
// hook 类实例的某一个方法
classInstance.functionName.implementation = function() {
...
// 执行原来的方法,在获取某一个方法的返回值的时候十分有效
this.functionName();
};