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
| #include "sys/alt_stdio.h" | |
| #include "system.h" | |
| #include "altera_avalon_pio_regs.h" | |
| #include "sys/alt_sys_wrappers.h" | |
| #include "altera_avalon_uart_regs.h" | |
| #include "sys/alt_irq.h" | |
| #define write(reg, v) IOWR_ALTERA_AVALON_PIO_DATA(reg, v) | |
| #define read(reg) IORD_ALTERA_AVALON_PIO_DATA(reg) | |
| #define send(v) IOWR_ALTERA_AVALON_UART_TXDATA(UART_BASE, v) |
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
| var path = @"C:\path\to\lena.bmp"; | |
| var input = Cv2.ImRead(path); | |
| var src = new Mat(size, size, MatType.CV_64FC1); | |
| var dst = new Mat(size, size, MatType.CV_64FC1); | |
| var inputIndexer = input.GetGenericIndexer<Vec3b>(); | |
| var dstIndexer = src.GetGenericIndexer<Vec3d>(); | |
| for (var x = 0; x < size; x++) | |
| { |
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
| trap "echo exit.; exit 1" 1 2 3 15 | |
| # snp のリポジトリのパス | |
| snp="/mnt/c/Users/dt4841/dev/snp" | |
| # gradle install するバンドルのパス | |
| bundles=( | |
| "apc/snp.com.library" | |
| "apc/snp.gw.runtime" | |
| "ctl/snp.gw.devif.lcos.if1" |
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
| 初代 | |
| #FFB043 で作ると | |
| #FDAF42 | |
| #FFB144 で作ると | |
| #FEB043 | |
| resize はともに 41% |
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
| // ==UserScript== | |
| // @name New Userscript | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match https://supergomibako.com/tool/gloogel/tl | |
| // @grant none | |
| // ==/UserScript== |
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
| Vim_n := 0 | |
| VimMove(key="", shift=0){ | |
| global | |
| if(InStr(VimMode, "Visual") or InStr(VimMode, "ydc") or shift == 1){ | |
| Send, {Shift Down} | |
| } | |
| ; Left/Right | |
| if(not InStr(VimMode, "Line")){ | |
| ; 1 character | |
| if(key == "h"){ |
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 { interval, Subject } from 'rxjs'; | |
| import {filter} from "rxjs/operators"; | |
| import bucket from "./Bucket"; | |
| import {Poster} from "./NoticeLetter"; | |
| import store from "store"; | |
| import Api from '../api/Api'; | |
| import { CommunityBuilder, ProgramBuilder } from './CheckableBuilder'; | |
| const AUTOMATIC_VISITING_KEY = "autoEnterProgramList"; |
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 {Subject, interval} from 'rxjs'; | |
| import store from "store"; | |
| import bucket from "./Bucket"; | |
| import { Bell, Poster } from "./NoticeLetter"; | |
| import { Program } from "./Manageable"; | |
| const AUTOMATIC_VISITING_KEY = "autoEnterProgramList"; | |
| let isInitialCheck = true; | |
| const removeFromAutomaticVisitingList = (id: string) => { |
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 { diff } from 'deep-object-diff'; | |
| import { Community, Program } from "./Manageable"; | |
| import { ProgramBuilder, CommunityBuilder } from "./CheckableBuilder"; | |
| class BucketClient { | |
| private rev: number; | |
| private readonly token: string; | |
| constructor(revision: number, token: string) { | |
| this.rev = revision; |
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
| * 会場中で,かつ直前まで閉場していて,かつ現在開かれていない放送の id を取得 | |
| * | |
| programs | |
| .register() | |
| .isOnair() | |
| .isClose() | |
| .isNotify() | |
| .commit() |
NewerOlder