Skip to content

Instantly share code, notes, and snippets.

@codeyu
codeyu / put_apple_to_basket.cs
Last active December 13, 2019 09:39
put_apple_to_basket
using System;
using System.Linq;
namespace put_apple_to_basket
{
class Program
{
static void Main(string[] args)
{
var apples = new int[] { 6, 16, 26, 36, 46, 56, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69 };
var r = 6;
@codeyu
codeyu / hiragana2romaji.js
Created August 30, 2024 22:12 — forked from shimataro/hiragana2romaji.js
ひらがな→ローマ字変換
exports.default = hiragana2romaji;
// 変換テーブル; 文字数の多いものから登録していく
const convtables = [
{ // 3文字
"っきゃ": "kkya",
"っきぃ": "kkyi",
"っきゅ": "kkyu",
"っきぇ": "kkye",
"っきょ": "kkyo",
@codeyu
codeyu / media.json
Created September 20, 2025 16:29 — forked from deepakpk009/media.json
sample free video urls
{
"categories": [
{
"name": "Movies",
"videos": [
{
"description": "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org",
"sources": [
"http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"
],