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 NCMB; | |
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.Text; | |
| using System.Web; | |
| using UnityEngine; | |
| public class ScriptRunner : MonoBehaviour | |
| { |
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
| - xcode-test: | |
| inputs: | |
| - export_uitest_artifacts: 'true' | |
| - scheme: "$BITRISE_UI_TEST_SCHEME" | |
| - slack: | |
| run_if: '{{enveq "BITRISE_XCODE_TEST_RESULT" "failed"}}' | |
| inputs: | |
| - webhook_url: "$SLACK_WEBHOOK_URL" | |
| - message: 'テスト失敗' |
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
| import 'package:flutter/material.dart'; | |
| void main() => runApp(MyApp()); | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MaterialApp( | |
| title: 'Flutter Demo', |
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
| let text: String = "nullable" | |
| let num: Int? = nil | |
| print("text: \(text) num: \(num)") | |
| /* output | |
| > text: nullable num: | |
| */ |
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
| <script> | |
| /** | |
| * gistをiframeで読み込むやつ | |
| * なぜ必要なのか? | |
| * tumblrで記事に埋め込んだgist埋め込みタグが表示されないからだ! | |
| * | |
| * <div class="gist-container" data-gist-id="a4751a81660fce424b1d6127c0ea4191"></div> | |
| * 埋め込みたいところにこんな感じで埋め込む! | |
| * そして下記スクリプトをテンプレートの方にでも仕込んでおく! | |
| */ |
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
| import Foundation | |
| import SwipeCellKit | |
| import TwitterKit | |
| class SwipeTweetTableViewCell: SwipeTableViewCell { | |
| private let innerTweetCell: TWTRTweetTableViewCell = TWTRTweetTableViewCell() | |
| override init(style: UITableViewCellStyle, reuseIdentifier: String?) { |
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 APPLICATION_KEY = "YOUR NCMB DATA STORE APPLICATION KEY"; | |
| var CLIENT_KEY = "YOUR NCMB DATA STORE CLIENT KEY"; | |
| var TARGET_CLASS = "監視したいクラス名"; | |
| var MAIL_ADDRESS = "送りたいメールアドレス"; | |
| function checkNCMB() { | |
| Logger.log("Start"); | |
| var latestUpdateTime = getLatestUpdateTime(); | |
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
| import Foundation | |
| @IBDesignable | |
| class GradientView: UIView { | |
| @IBInspectable | |
| var startColor: UIColor = .white { | |
| didSet { | |
| self.updateGradientColors() | |
| } |
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 UnityEngine.UI; | |
| using System.Collections.Generic; | |
| using Xyz.AnzFactory.UI; | |
| public class ListViewController : MonoBehaviour, ANZListView.IDataSource, ANZListView.IActionDelegate | |
| { |
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 System; | |
| using System.Reflection; | |
| using System.ComponentModel; | |
| using System.Collections.Generic; | |
| public static class ArrayExtension | |
| { | |
| public static TOutput[] ConvertAll<TInput, TOutput>(this TInput[] self, TOutput defaultValue) | |
| { | |
| Type type = typeof(TOutput); |