This requires the latest version of apktool.
apktool d $APK_PATH -o $OUTPUT_FOLDER
# Open the apktool.yml text file
# Alter the versionCode and versionName entries
# now rebuild!
apktool build $OUTPUT_FOLDER
| // 需要调整到变量 | |
| var webhook = "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=baffda1c-c922-409e-91ef-***********" | |
| //定义post方法 | |
| function posthttp(url, data) { | |
| var xhr = new XMLHttpRequest(); | |
| xhr.addEventListener("readystatechange", function () { | |
| if (this.readyState === 4) { | |
| flash(this.responseText); //显示返回消息,可删除本行 | |
| } |
| #!/bin/sh | |
| # One step wrapper to install aab to connected device, it downloads bundletool if its missing and signs the app with android debug certifiate. | |
| # | |
| # Usage: installFromAAB install-aab <local-aab-path> | |
| BASENAME="${1##*/}" | |
| KEYSTORE=~/.android/debug.keystore | |
| KS_ALIAS="androiddebugkey" | |
| PASS="pass:android" |
| import WeixinAudio from "../weixin/WeixinAudio"; | |
| import WeixinUtils from "../weixin/WeixinUtils"; | |
| export default class DomAudioGroup { | |
| _audioUrl = null; | |
| _endCallback = null; | |
| _domAudio = null; |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Reflection; | |
| using UnityEditor; | |
| using UnityEngine; | |
| /// <summary> | |
| /// A base class for creating editors that decorate Unity's built-in editor types. | |
| /// </summary> | |
| public abstract class DecoratorEditor : Editor |
This requires the latest version of apktool.
apktool d $APK_PATH -o $OUTPUT_FOLDER
# Open the apktool.yml text file
# Alter the versionCode and versionName entries
# now rebuild!
apktool build $OUTPUT_FOLDER
There are certain files created by particular editors, IDEs, operating systems, etc., that do not belong in a repository. But adding system-specific files to the repo's .gitignore is considered a poor practice. This file should only exclude files and directories that are a part of the package that should not be versioned (such as the node_modules directory) as well as files that are generated (and regenerated) as artifacts of a build process.
All other files should be in your own global gitignore file:
.gitignore in your home directory and add any filepath patterns you want to ignore.Note: The specific name and path you choose aren't important as long as you configure git to find it, as shown below. You could substitute
.config/git/ignorefor.gitignorein your home directory, if you prefer.
| #!/usr/bin/env ruby | |
| # Script to generate random images. Based on http://www.imagemagick.org/Usage/canvas/#random_blur | |
| require 'optparse' | |
| options = {} | |
| optparse = OptionParser.new do |opts| |
| ACTION | |
| AD_HOC_CODE_SIGNING_ALLOWED | |
| ALTERNATE_GROUP | |
| ALTERNATE_MODE | |
| ALTERNATE_OWNER | |
| ALWAYS_SEARCH_USER_PATHS | |
| ALWAYS_USE_SEPARATE_HEADERMAPS | |
| APPLE_INTERNAL_DEVELOPER_DIR | |
| APPLE_INTERNAL_DIR | |
| APPLE_INTERNAL_DOCUMENTATION_DIR |
| # put this in your .bash_profile | |
| if [ $ITERM_SESSION_ID ]; then | |
| export PROMPT_COMMAND='echo -ne "\033];${PWD##*/}\007"; ':"$PROMPT_COMMAND"; | |
| fi | |
| # Piece-by-Piece Explanation: | |
| # the if condition makes sure we only screw with $PROMPT_COMMAND if we're in an iTerm environment | |
| # iTerm happens to give each session a unique $ITERM_SESSION_ID we can use, $ITERM_PROFILE is an option too | |
| # the $PROMPT_COMMAND environment variable is executed every time a command is run | |
| # see: ss64.com/bash/syntax-prompt.html |