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
| pipeline { | |
| agent none | |
| stages { | |
| stage('UPDATE') | |
| { | |
| parallel { | |
| stage('window UPDATE') { | |
| steps { | |
| echo 'window update' |
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
| var bot = Context.Guild.GetUser(0); | |
| Log.Information(roleToSelect.Permissions.ToString()); | |
| if (bot.Roles.Contains(roleToSelect) == false) | |
| { | |
| Log.Debug("has permession"); | |
| await bot.AddRoleAsync(roleToSelect); | |
| } | |
| else |
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
| public class ATUtil | |
| { | |
| static public T GetEnum<T>(string name, T defaultValue) | |
| { | |
| string[] names = System.Enum.GetNames(typeof(T)); | |
| System.Array values = System.Enum.GetValues(typeof(T)); | |
| for (int i = 0; i < names.Length; ++i) | |
| { | |
| if (names[i] == name) |
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
| void OnGUI() | |
| { | |
| #region ToolBar | |
| GUILayout.BeginHorizontal(EditorStyles.toolbar); | |
| if (GUILayout.Button("Clear All", EditorStyles.toolbarButton)) | |
| { |
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
| using UnityEngine; | |
| using UnityEditor; | |
| using System; | |
| using System.IO; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| public class WhdvlBuilder { | |
| static string[] Scenes = FindEnableEditorScenes(); |
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
| /** | |
| Converts Mobile Touch to the default Mouse Click | |
| ## invoked these method in Mobile too | |
| OnMouseDown | |
| OnMouseDrag | |
| OnMouseUp | |
| ## only called in touch screen |
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
| INFO_PLIST="${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Info" | |
| GIT_VERSION=$(git --git-dir="${PROJECT_DIR}/.git" --work-tree="${PROJECT_DIR}/" rev-list master | wc -l) | |
| GIT_VERSION=${GIT_VERSION// /} | |
| MD_VERSION="1.05." | |
| VERSION=$MD_VERSION$GIT_VERSION | |
| defaults write $INFO_PLIST CFBundleVersion "$VERSION" |
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
| NSMutableString *aString = [NSMutableString string]; | |
| for (int i = 32; i < 55296; i++) { | |
| if (!(i % 10)) [aString appendString:@"\n"]; | |
| [aString appendFormat:@"(%04X:%i)%C, ", i, i, i]; | |
| } | |
| NSLog(aString); |
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
| git config --global color.diff auto | |
| git config --global color.status auto | |
| git config --global color.branch auto |