A TypeScript port of https://github.com/rskmoi/namedivider-python
import { divide_name } from "./namedivider";
console.log(divide_name("新海誠"));
// => { family: "新海", given: "誠" }
# https://developers.google.com/calendar/api/quickstart/ruby | |
require "google/apis/calendar_v3" | |
require "googleauth" | |
require "googleauth/stores/file_token_store" | |
require "date" | |
require "fileutils" | |
OOB_URI = "urn:ietf:wg:oauth:2.0:oob".freeze | |
APPLICATION_NAME = "Google Calendar API Ruby Quickstart".freeze | |
CREDENTIALS_PATH = "credentials.json".freeze |
A TypeScript port of https://github.com/rskmoi/namedivider-python
import { divide_name } from "./namedivider";
console.log(divide_name("新海誠"));
// => { family: "新海", given: "誠" }
FROM getsentry/sentry-cli:latest | |
RUN apk add --no-cache bash | |
ENTRYPOINT ["/bin/sentry-cli"] |
FROM alpine:latest | |
RUN apk add --no-cache bash gettext | |
ENTRYPOINT ["/usr/bin/envsubst"] |
// The main ray tracer. | |
#pragma warning (disable: 4786) | |
#include "RayTracer.h" | |
#include "scene/light.h" | |
#include "scene/material.h" | |
#include "scene/ray.h" | |
#include "parser/Tokenizer.h" |
<?xml version="1.0" encoding="UTF-8"?> | |
<opml version="1.0"> | |
<head> | |
<title>Subscriptions - RSS</title> | |
</head> | |
<body> | |
<outline text="CAPITALISTS" title="CAPITALISTS"> | |
<outline htmlUrl="https://500hats.com?source=rss----adacc3043f65---4" title="500 Hats - Medium" xmlUrl="https://500hats.com/feed" type="rss" text="500 Hats - Medium"/> | |
<outline htmlUrl="http://thomasgr.tumblr.com/" title="A personal view on Venture Capital" xmlUrl="http://thomasgr.tumblr.com/rss" type="rss" text="A personal view on Venture Capital"/> | |
<outline htmlUrl="http://abovethecrowd.com" title="Above the Crowd" xmlUrl="http://abovethecrowd.com/feed/" type="rss" text="Above the Crowd"/> |
# Description: | |
# Capistrano deployment from hubot | |
# | |
# Dependencies: | |
# Prepare capistrano config files in your repo. | |
# | |
# Configuration: | |
# None | |
# | |
# Commands: |
FROM ruby:2.6.4 | |
ENV LANG=C.UTF-8 \ | |
LC_ALL=C.UTF-8 | |
ENV BUNDLE_JOBS=4 \ | |
BUNDLE_PATH=/vendor/bundle | |
RUN apt-get update \ | |
&& apt-get install -y git iproute2 procps postgresql \ |
require "net/http" | |
require "uri" | |
require "json" | |
ENDPOINT = 'https://sentry.io/api/0'.freeze | |
TOKEN = 'XXXXXXXXXX'.freeze | |
def sentry_api(url) | |
uri = URI.parse(url) |
"use strict"; | |
const request = require("request"); | |
const SLACK_WEBHOOK_URL = "https://hooks.slack.com/services/XXXXXXXXXXXXXXXXXXXXXXXXXXX"; | |
const LABEL_NAMES = ["bug"]; | |
exports.notifyLabelIssue = (req, res) => { | |
console.log(req.body); |