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 UnityEditor; | |
using System.Collections; | |
using System.Collections.Generic; | |
//[ExecuteInEditMode] | |
//[AddComponentMenu("Transform/Foo")] | |
//[RequireComponent(typeof(Foo))] | |
//[System.Serializable] |
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 UnityEditor; | |
using System.Collections; | |
using System.Collections.Generic; | |
//[ExecuteInEditMode] | |
//[AddComponentMenu("Foo/Bar")] | |
//[RequireComponent(typeof(Foo))] | |
//[System.Serializable] |
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 python | |
# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; coding: utf-8; -*- | |
""" prettyrepr.py - another repr() implementation | |
""" | |
import sys | |
version_major = sys.version_info[0] | |
if version_major == 3: | |
# python3.x |
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 python2 | |
# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; coding: utf-8; -*- | |
# usage: | |
# $ cat /sys/devices/platform/mmc_host/mmcXXXX/mmcYYYY/csd | csdinfo | |
# | |
# reference: | |
# 'Physical Layer Simplified Specification Version 3.01' | |
# https://www.sdcard.org/downloads/pls/simplified_specs/Part_1_Physical_Layer_Simplified_Specification_Ver_3.01_Final_100518.pdf |
NewerOlder