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
using UnityEditor; | |
using UnityEditor.Animations; | |
using UnityEngine; | |
/// <summary> | |
/// 開発中に使うメニュー | |
/// </summary> | |
public class ToolMenu { | |
#region アニメーター・コントローラー編集 |
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
using Codeplex.Data; // DynamicJson はこれ。 | |
using CsharpDynamicJsonBestPractice.Model; // 自分で好きに作れだぜ。 | |
using System.Diagnostics; // Trace とかこれ。 | |
using System.IO; // ファイル読み込みはこれ。 |
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
<?php | |
// 参考: http://qiita.com/yasumodev/items/bd2ba476f31804d527d3 | |
// mysqliクラスのオブジェクトを作成 | |
$mysqli = new mysqli('localhost', '★DBユーザー名', '★パスワード', '★DB名'); | |
if ($mysqli->connect_error) { | |
echo $mysqli->connect_error; | |
exit(); | |
} else { | |
$mysqli->set_charset("utf8"); |
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
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:orientation="vertical" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<Button | |
android:id="@+id/myButton" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:text="@string/hello" /> |
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
@startuml | |
きふわらべ -> お父ん : 起きろ☆! | |
きふわらべ <- お父ん : 起きてるぜ☆! | |
@enduml |
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
/// <summary> | |
/// 表示区画の枠 | |
/// </summary> | |
[MenuItem("Tool/RefreshLineFrame")] | |
static void RefreshLineFrame() | |
{ | |
// 枠 | |
lineFrame = GameObject.Find("LineFrame"); | |
transform_lineFrame = lineFrame.GetComponent<Transform>(); | |
LineRenderer lineRenderer = lineFrame.GetComponent<LineRenderer>(); |
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
using UnityEngine; | |
[System.Serializable] | |
public class PlayerInfo | |
{ | |
public string name; | |
public int lives; | |
public float health; | |
public static PlayerInfo CreateFromJSON(string jsonString) |
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
<?php |
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
vi /etc/php.ini |
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
firewall-cmd --list-all |
NewerOlder