Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

djyugg djyugg

🎯
Focusing
View GitHub Profile
View powershell4_install.ps1
# powershell update
$powershell4_url = "http://download.microsoft.com/download/3/D/6/3D61D262-8549-4769-A660-230B67E15B25/Windows6.1-KB2819745-x64-MultiPkg.msu"
$download_directory = Split-Path $myInvocation.MyCommand.path
$web_client = New-Object System.Net.WebClient
$uri = New-Object System.Uri($powershell4_url)
$download_file = Split-Path $uri.AbsolutePath -Leaf
$download_path = (Join-Path $download_directory $download_file)
$web_client.DownloadFile($uri, $download_path)
View script_execution_policy_change.bat
rem Powershellスクリプト(.ps1)実行権限をRestrictedに変更
powershell -Command Set-ExecutionPolicy restricted
View poh04_java03.java
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
// 自分の得意な言語で
// Let's チャレンジ!!
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
View poh04_java02.java
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
public class Main {
public static void main(String[] args) throws Exception {
// 自分の得意な言語で
// Let's チャレンジ!!
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
View poh04_java01.java
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
// 自分の得意な言語で
// Let's チャレンジ!!
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int inputNumber = Integer.parseInt(br.readLine());