This file contains hidden or 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 helloworld | |
| helloworld.hello() |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <base target="_top"> | |
| </head> | |
| <body> | |
| <h1>聖晶石カウンタ</h1> | |
| <p> | |
| あなたが今まで石に費やした金額は、<?= fgoStonePriceCounter(); ?>円です。 | |
| </p> |
This file contains hidden or 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
| input_lines = $stdin.read.split("\n") | |
| linecount = input_lines[0].to_i | |
| chatlines = input_lines[1..-1] | |
| chatarr = chatlines.map do |item| | |
| item.split(" ") | |
| end |
This file contains hidden or 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
| ballCount, ballInput = $stdin.read.split("\n") | |
| ballCount = ballCount.to_i | |
| tube = [] | |
| ballCount.times do |i| | |
| ballNum = i + 1 | |
| ballDirection = ballInput[i] | |
| if ballDirection == "L" |
This file contains hidden or 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
| # coding: utf-8 | |
| require "nokogiri" | |
| require "open-uri" | |
| require "uri" | |
| INDEXPAGEURL = "http://illustrain.com/?cat=19" | |
| SAVEDIR = "./download" | |
| html = open(INDEXPAGEURL).read |
This file contains hidden or 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
| require "nokogiri" | |
| require "open-uri" | |
| require "erb" | |
| require "base64" | |
| TARGETURL = "http://www.city.yokohama.lg.jp/kenko/hokenjo/genre/douai/joto/jotoinfo-cat.html" | |
| dochtml = open(TARGETURL, "r:CP932").read | |
| doc = Nokogiri::HTML.parse(dochtml) |
This file contains hidden or 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
| # coding: utf-8 | |
| require 'bundler' | |
| Bundler.require | |
| Dotenv.load | |
| currentdir = File.dirname(__FILE__) | |
| builddir = File.join(currentdir, "build") |
This file contains hidden or 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
| require 'rake/clean' | |
| SRCDIR = './src' | |
| DESTDIR = './dest' | |
| SRCS = FileList[SRCDIR + "/**/*.rb"] | |
| JSS = SRCS.ext('js') | |
| directory DESTDIR | |
| # 出力先パスに書き換え |
This file contains hidden or 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; | |
| public class EnemyManager : MonoBehaviour { | |
| public GameObject enemyPrefab; | |
| // Use this for initialization | |
| void Start () { | |
| StartCoroutine(enemyGenerateSchedule()); | |
| } |
This file contains hidden or 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
| require 'rake' | |
| files = FileList["**/*.png"] | |
| files.each do |f| | |
| headName = f[0..23] | |
| footName = f[-4,4] | |
| fileNumber = f[24..-5] |
NewerOlder