ovity/octotree#397 がマージされてくれるまでの暫定対応。
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
<Window x:Class="WpfApp1.MainWindow" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
xmlns:local="clr-namespace:WpfApp1" | |
mc:Ignorable="d" | |
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" | |
TextElement.Foreground="{DynamicResource MaterialDesignBody}" |
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 | |
$ignore_rank = 3; | |
$genre_ranking_data = [ | |
1 => 'hoge', | |
2 => 'foo', | |
3 => 'uoea', | |
4 => 'uea', | |
5 => 'ueaseua', | |
]; |
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 | |
require_once __DIR__ . '/parent.php'; | |
# cf. https://qiita.com/mpyw/items/1cb6fc8170b6a8c8eb04#%E3%83%97%E3%83%AD%E3%83%91%E3%83%86%E3%82%A3%E3%82%92-private-%E3%81%AB%E3%81%99%E3%82%8B | |
class Pola extends Zara { | |
public function __construct(){ | |
$this->prepare(); | |
} |
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
#cording:utf-8 | |
if __name__ == "__main__": | |
data = [] | |
for x in xrange(1,100): | |
data.append(x) | |
print len(data) | |
print data | |
print data[0] | |
print data[0:200] |
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
#include <iostream> | |
int main() | |
{ | |
int a = 100, b = 200, c = 300; | |
std::cout << std::oct << a << std::endl; | |
std::cout << b << std::endl; | |
std::cout << c << std::endl; |
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 | |
$a[5] = [114, 514]; | |
$a[2] = [114]; | |
$a[1] = [114, 319]; | |
$data; | |
foreach($a as $delta => $user_ids){ | |
$data[] = compact('user_ids', 'delta'); | |
} |
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 | |
class Constant { | |
const MEW = "Mew"; | |
} |
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 | |
class Myao { | |
public static $foo = 'foo'; | |
public function getFoo(){ | |
return self::$foo; | |
} | |
public function setFoo($foo){ |
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; | |
using System; | |
using System.Collections; | |
[RequireComponent(typeof(Animator))] | |
public class IKCtrl : MonoBehaviour { | |
protected Animator animator; | |
NewerOlder