Skip to content

Instantly share code, notes, and snippets.

c828a0d973c37d2a gMan1990

Block or report user

Report or block gMan1990

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View main.js
jQuery(function ($) {
window._result = [];
let $itemButtonCellEdits = $(".itemButtonCell>.edit"),
openDialog = function (i) {
$("#dialogCloseButton").click();
$itemButtonCellEdits[i].click();
$.ajax({
headers: {
"x-csrf-token": "<your token>"
},
View ImageMagick.md
  • ImageMagick v7
    • Here are a list of changes to the ImageMagick commands:
      • magick

        The "magick" command is the new primary command of the Shell API, replacing the old "convert" command. This allows you to create a 'magick script' of the form "#!/path/to/command/magick -script", or pipe options into a command "magick -script -, as abackground process.
      • magick-script

        This the same as "magick", (only command name is different) but which has an implicit "-script" option. This allows you to use it in an "env" style script form. That is a magick script starts with the 'she-bang' line of "#!/usr/bin/env magick-script" allowing the script interpreter to be found anywhere on the users command "PATH". This is required to get aro
@gMan1990
gMan1990 / main.md
Last active Nov 27, 2019
90后童年动画片
View main.md

蝙蝠侠:动画系列

  • 1992.09 美国 Warner
  • Batman: The Animated Series

蜘蛛侠:动画系列

  • 1994.11 美国 Marvel
  • Spider-Man: The Animated Series

四驱兄弟

  • 1996.01 日本
View exa-created.py
#!/usr/bin/python
# -*- coding: UTF-8 -*-
import sys
import subprocess
def cmp_creation(x, y):
xs = x.split("/")
ys = y.split("/")
View android.sh
#!/system/bin/bash
# ln -s /proc/self/fd /dev/fd
# https://forum.xda-developers.com/android/software-hacking/dev-lastest-bash-android-t2898295
## mount -o remount,rw /system
# toolbox ls -la /sdcard/Download
# toybox ls -lFA /sdcard/Download
## find -path bug: https://github.com/landley/toybox/issues/73
# busybox ls -lFA /sdcard/Download
@gMan1990
gMan1990 / main.md
Last active May 8, 2019
Socket, Channel, Selector, Asynchronous, 是否阻塞, 同步异步
View main.md
View pdflibr.md
jQuery(function ($) {
    var result = new Map(),
    processor = function (ele) {
        $("div.sms-number-list.row", ele).each(function (i, e) {
            var key = e.querySelector("div>a").href,
            val = result.get(key),
            text = $.text(e.querySelector("div>h3"));
            if (val) {
                val.push(text);
@gMan1990
gMan1990 / main.sh
Last active Sep 1, 2019
ffmpeg ysl to a live
View main.sh
#!/bin/bash
cd "$(dirname "$0")" || exit 1
DIR=$(pwd)
OUTFILE="-f flv rtmp://js.live-send.acg.tv/live-js/?streamname=*&key=*"
while :; do
#./ffmpeg -re -i "Bailey No Ordinary Cat.mp4" -c copy $OUTFILE
cd "$DIR/YSL" || exit 1
for name1 in *; do
You can’t perform that action at this time.