Skip to content

Instantly share code, notes, and snippets.

@cumet04
cumet04 / Dockerfile
Last active August 2, 2021 15:24
テキストファイル一つだけで頒布可能なアプリケーションを作るテスト
# syntax=docker/dockerfile:1.3-labs
# usage (for gh user):
# $ docker build -t usage .
# $ docker run -it -e ACCESS_TOKEN=$(cat ~/.config/gh/hosts.yml | grep token | tr -s ' ' | cut -d' ' -f 3) usage your-org-name
FROM ruby:3.0
RUN gem install octokit
@cumet04
cumet04 / dependencies.js
Last active August 7, 2021 06:25
package.jsonのdependenciesをjsで書けたら面白いかなという試み
const _deps = {}
const _devDeps = {}
function add(deps, devDeps) {
Object.assign(_deps, (deps || {}))
Object.assign(_devDeps, (devDeps || {}))
}
const devDeps = (targets) => add({}, targets)
add({
"react": "^17.0.2",
@cumet04
cumet04 / LICENSE
Last active April 11, 2023 14:31
rspec-daemonできるか?
MIT License
Copyright (c) 2023 inomoto
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions: