This file contains 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
/********************************* | |
2015-06-20 | |
Vector3拡張 | |
座標変換参考:http://tsubakit1.hateblo.jp/entry/2016/03/01/020510 | |
*********************************/ | |
using UnityEngine; | |
using UnityEngine.Assertions; | |
public static class Vector3Extension | |
{ |
This file contains 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
// | |
// Generated using SwiftGen — https://github.com/SwiftGen/SwiftGen | |
// | |
{% macro allValuesBlock assets prefix %} | |
{% for asset in assets %} | |
{% if asset.items %} | |
{% set newPrefix %}{{prefix}}{{asset.name|swiftIdentifier:"pretty"|escapeReservedKeywords}}.{% endset %} | |
{% call allValuesBlock asset.items newPrefix %} | |
{% elif asset.type != "group" %} | |
_ = Asset.{{prefix}}{{asset.name|swiftIdentifier:"pretty"|lowerFirstWord}}.{{asset.type}} |
This file contains 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
import AppKit | |
import Foundation | |
import XcodeKit | |
final class SourceEditorCommand: NSObject, XCSourceEditorCommand { | |
func perform(with invocation: XCSourceEditorCommandInvocation, completionHandler: @escaping (Error?) -> Void ) -> Void { | |
defer { | |
completionHandler(nil) |
This file contains 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
/* | |
[✓] Flutter (Channel stable, 1.22.2, on Mac OS X 10.15.7 19H2, locale ja-JP) | |
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.1) | |
[✓] Xcode - develop for iOS and macOS (Xcode 11.7) | |
[✓] Android Studio (version 3.5) | |
[✓] VS Code (version 1.51.1) | |
[✓] Connected device (1 available) | |
*/ |
This file contains 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
name: Publish | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest |
This file contains 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
func deleteApp() { | |
let springboard = XCUIApplication(bundleIdentifier: "com.apple.springboard") | |
springboard.activate() | |
let appName = "MyApp" | |
// ホームから該当アプリ探す | |
let appIcon = springboard.icons[appName] | |
guard appIcon.exists else { | |
return |
This file contains 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
import 'package:flutter/material.dart'; | |
import 'package:provider/provider.dart'; | |
class ListPage extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
appBar: AppBar(title: const Text('バウンスエリア色変えたいんじゃ'), elevation: 0.0,), | |
body: _Page(), |
This file contains 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
#!/usr/bin/env bash | |
# fail if any commands fails | |
set -e | |
# debug log | |
set -x | |
# download bitrise.yml | |
curl -O -H "Authorization: token ${BITRISE_API_ACCESS_TOKEN}" "https://api.bitrise.io/v0.1/apps/${BITRISE_APP_SLUG}/bitrise.yml" | |
# check diff |
This file contains 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
/********************************* | |
* 会話イベントをタイムライン風に表示するやーつ | |
* 参考:http://tsubakit1.hateblo.jp/entry/2015/10/19/022720 | |
*********************************/ | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.UI; | |
public class Talk : MonoBehaviour |
NewerOlder