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 Helper_Shift_Regular{ | |
// 該当時間の勤務スタッフ数を求める | |
public static function regular_work_staff_count($regular_shift_day_id ,$shift_type) { | |
if($shift_type == 0){ | |
$result = DB::select('*') | |
->from('regular_user') | |
->where('regular_day_id', $regular_shift_day_id) | |
->where('edited_shift_type', 'in', array(1,2,3)) |
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.Collections; | |
using UnityEditor; | |
public class Exporter | |
{ | |
[MenuItem("Assets/ExportWithSettings")] | |
static void Export () { | |
AssetDatabase.ExportPackage("Assets", "Entire Project.unitypackage",ExportPackageOptions.Interactive | ExportPackageOptions.Recurse | ExportPackageOptions.IncludeLibraryAssets|ExportPackageOptions.IncludeDependencies ); | |
} |
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
REM ***** BASIC ***** | |
Sub TranslateMessage | |
Dim iNumber As Integer | |
Dim aFile As String | |
Dim sText As String | |
' sText = InputBox ("poファイルのフルパスを入力してください。 ","poファイルのパス") | |
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
from microbit import * | |
while True: | |
display.scroll('あ') | |
sleep(2000) |
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
from microbit import * | |
while True: | |
display.show( | |
Image( | |
"01000:" | |
"11101:" | |
"01010:" | |
"10101:" |
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
# Add your Python code here. E.g. | |
from microbit import * | |
# ひらがなの画像 | |
# KanaFive by pleist. http://wentwayup.tamaliver.jp/e93615.html | |
HIRAGANA_IMAGES = [ | |
#あ | |
Image( | |
"01000:" |
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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.UI; | |
public class test : MonoBehaviour | |
{ | |
public void SetValueByField( string key) | |
{ |
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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class SpriteMove : MonoBehaviour { | |
// 設定データを入れる | |
static Dictionary<string, float> settingDic = new Dictionary<string, float>(){ | |
{"speedMax", 0F}, | |
{"velocityMax", 0F} |
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 bpy | |
# Get Variables. | |
obj = bpy.context.active_object | |
mesh = obj.data | |
print ( f"# Convert vertexs and face from \"{obj.name}\".") | |
# Print Vertexs. | |
vertNum = len(mesh.vertices) | |
print( f"# of vertices={vertNum}") |
OlderNewer