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
void main() { | |
for (int i = 0; i < 5; i++) { | |
print('hello ${i + 1}'); | |
} | |
} |
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
:LOOP | |
timeout /t 2 > nul | |
start rightclick.vbs | |
goto :LOOP | |
pause |
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
set WshShell = WScript.CreateObject("WScript.Shell") | |
WshShell.SendKeys "+{F10}" |
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
function getRelation($targetRecipient, $departmentName){ | |
$org = New-Object PSObject | Select-Object 社員名,所属部署 | |
if($targetRecipient.RecipientType -eq "MailUniversalSecurityGroup"){ | |
$departmentName = $targetRecipient.DisplayName | |
# メンバー情報の取得 | |
Get-DistributionGroupMember $targetRecipient.Alias | | |
# 取得したメンバをユーザ、グループの順でソート | |
Select-Object Alias, DisplayName, PrimarySmtpAddress, RecipientType, @{L="SortIndex"; E={switch($_.RecipientType){ | |
"UserMailBox"{0} |
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 'package:flutter/material.dart'; | |
import 'bottom_navi_bar.dart'; | |
void main() => runApp(const App()); | |
class App extends StatelessWidget { | |
const App({Key key}) : super(key: key); | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( |
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 'package:flutter/material.dart'; | |
import 'package:animations/animations.dart'; | |
import 'package:flutter_iroiro/second_page.dart'; | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override |
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
<script language="javascript" type="text/javascript"> | |
var Choices = []; | |
// ①問題となる文字列を設定 | |
const mondai = "1 + 1 = ??"; | |
// ②正解となる文字列を設定 | |
const seikai = "2"; | |
// ③選択肢を増やす、7行目を例に行をコピーして張り付ける | |
Choices.push("2"); | |
Choices.push("4"); |
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
########################################### | |
# 関数定義など | |
########################################### | |
function Format-Json([Parameter(Mandatory, ValueFromPipeline)][String] $json) { | |
$indent = 0; | |
($json -Split "`n" | % { | |
if ($_ -match '[\}\]]\s*,?\s*$') { | |
# This line ends with ] or }, decrement the indentation level | |
$indent-- |
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
########################################### | |
# 関数定義など | |
########################################### | |
function Format-Json([Parameter(Mandatory, ValueFromPipeline)][String] $json) { | |
$indent = 0; | |
($json -Split "`n" | % { | |
if ($_ -match '[\}\]]\s*,?\s*$') { | |
# This line ends with ] or }, decrement the indentation level | |
$indent-- |