| Branch | Release type | Version format |
|---|---|---|
| feature | alpha | #major.#minor.#revision-a#build#feature |
| develop | beta | #major.#minor.#revision-b#build |
| release | release candidate | #major.#minor.#revision-r#build |
| hotfix | release candidate | #major.#minor.#revision-r#build |
| master | stable | #major.#minor.#revision |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.wardana.sukma; | |
| import java.security.SecureRandom; | |
| import javax.crypto.BadPaddingException; | |
| import javax.crypto.Cipher; | |
| import javax.crypto.IllegalBlockSizeException; | |
| import javax.crypto.SecretKey; | |
| import javax.crypto.SecretKeyFactory; | |
| import javax.crypto.spec.IvParameterSpec; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end | |
| #parse("File Header.java") | |
| public class ${NAME} { | |
| private static final String TAG = "${NAME}"; | |
| } |
| Task | Branch | CI build number | NuGet package version |
|---|---|---|---|
| Implement feature #1 | feature-1 | 1 | 1.2.0-a1feature1 |
| Implement feature #2 | feature-2 | 2 | 1.2.0-a2feature2 |
| Implement feature #1 | feature-1 | 3 | 1.2.0-a3feature1 |
| Complete feature #1 | develop | 4 | 1.2.0-b4 |
| Complete feature #2 | develop | 5 | 1.2.0-b5 |
| Stabilize release | release-1.2.0 | 6 | 1.2.0-r6 |
| Release to production | master | 7 | 1.2.0 |
| Fix production issue | hotfix-1.2.1 | 8 | 1.2.1-r8 |
| Task | Branch | Semantic version | NuGet version |
|---|---|---|---|
| Implement feature #1 | feature/a-refactor-value-naming | 2.3.0-a-refactor-value-naming.1 | 2.3.0-a-refactor-value0001 |
| Implement feature #2 | feature/a-update-documentation | 2.3.0-a-update-documentation.1 | 2.3.0-a-update-documen0001 |
| Implement feature #1 | feature/a-refactor-value-naming | 2.3.0-a-refactor-value-naming.2 | 2.3.0-a-refactor-value0002 |
| Complete feature #1 | develop | 2.3.0-b.3 | 2.3.0-b0003 |
| Complete feature #2 | develop | 2.3.0-b.7 | 2.3.0-b0007 |
| Stabilize release | release-2.3.0 | 2.3.0-rc.0 | 2.3.0-rc0000 |
| Release to production | master | 2.3.0 | 2.3.0 |
| Fix production issue | hotfix-2.3.1 | 2.3.1-rc.1 | 2.3.1-rc0001 |
Enter this in the search box along with your search terms:
Get all gists from the user santisbon.
user:santisbon
Find all gists with a .yml extension.
extension:yml
Find all gists with HTML files.
language:html
You can use these commands and rules to search for exploitation attempts against log4j RCE vulnerability CVE-2021-44228
This command searches for exploitation attempts in uncompressed files in folder /var/log and all sub folders
sudo egrep -I -i -r '\$(\{|%7B)jndi:(ldap[s]?|rmi|dns|nis|iiop|corba|nds|http):/[^\n]+' /var/log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # encoding: utf-8 | |
| def company_serial_no_checker(serial) | |
| # 共八位,全部為數字型態 | |
| at_least_8_digits = /^\d{8}$/ | |
| return false unless at_least_8_digits.match(serial) | |
| # 各數字分別乘以 1,2,1,2,1,2,4,1 | |
| # 例:統一編號為 53212539 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| @author longcat (Pichaya Morimoto) | |
| This code snippet can be used to resolve BOT (Bank Of Thailand) mobile security requirement "insecure background" | |
| without hurting user experience in mobile app. | |
| Briefly, when the app is pushed into background mode (user presses the Home button) | |
| Android phone will create screenshot of the current Activity for displaying it in recent apps menu | |
| The recent's app screenshots will be stored at: |