Skip to content

Instantly share code, notes, and snippets.

{
"name": "Integration Blogger, Twitter",
"flow": [
{
"id": 1,
"module": "blogger:TriggerNewPost",
"version": 4,
"parameters": {
"blogId": "1887782251735454807",
"labels": [],
@srz-zumix
srz-zumix / config-e.yml
Created May 12, 2021 23:43
Re:VIEW Starter for ebook
# この設定ファイルでサポートするRe:VIEWのバージョン番号。
# major versionが違うときにはエラーを出す。
review_version: 2.0
# ほかの設定ファイルの継承を指定できる。同じパラメータに異なる値がある場合は、
# 呼び出し元の値が優先される。
# A.yml、B.ymlのパラメータを継承する例。A.ymlとB.ymlに同じパラメータがある
# 場合、B.ymlの値が優先される。さらに今このファイルに同じパラメータがあるなら、
# その値がB.ymlよりも優先される。
# 同様にA.yml、B.yml内でさらにinherit:パラメータを使うこともできる。
{
"schemaVersion": 1,
"label": "Endpoint",
"message": "From Gist",
"color": "orange"
}
#include <iostream>
#include <cstdlib>
#include <type_traits>
#include "donot-change.h"
struct X
{
};
@srz-zumix
srz-zumix / docker-compose.yml
Last active March 5, 2023 04:41
OpenSTF(DeviceFarmer/stf) for Windows Docker
version: '2'
services:
stfdb:
image: rethinkdb:2
restart: always
ports:
- 8082:8080
- 28015:28015
volumes:
- db_data:/data
#!/usr/bin/perl
use strict;
use warnings;
# sets mtime and atime of files to the latest commit time in git
#
# This is useful for serving static content (managed by git)
# from a cluster of identically configured HTTP servers. HTTP
# clients and content delivery networks can get consistent
# Last-Modified headers no matter which HTTP server in the
@srz-zumix
srz-zumix / Dockerfile
Created June 5, 2020 06:07
CentOS 5 + gcc 3.4.6 + pyenv
FROM centos:centos5
COPY CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo
SHELL ["/bin/bash", "-l", "-o", "pipefail", "-c"]
RUN yum update -y && \
yum -y install epel-release && \
yum install -y make gcc g++ nkf wget perl gettext libffi-devel \
compat-gcc-34-3.4.6-4.1.x86_64 compat-gcc-34-c++-3.4.6-4.1.x86_64
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="std::basic_string&lt;char,*&gt;" Priority="High">
<Intrinsic Name="size" Expression="_Mypair._Myval2._Mysize" />
<Intrinsic Name="capacity" Expression="_Mypair._Myval2._Myres" />
<!-- _BUF_SIZE = 16 / sizeof(char) &lt; 1 ? 1 : 16 / sizeof(char) == 16 -->
<Intrinsic Name="bufSize" Expression="16" />
<Intrinsic Name="isShortString" Expression="capacity() &lt; bufSize()" />
<Intrinsic Name="isLongString" Expression="capacity() &gt;= bufSize()" />
<DisplayString Condition="isShortString()">{_Mypair._Myval2._Bx._Buf,nas8}</DisplayString>
@srz-zumix
srz-zumix / main.cpp
Created May 12, 2020 07:36
Wandbox-api sample
// This file is a "Hello, world!" in C++ language by GCC for wandbox.
#include <iostream>
#include <cstdlib>
#include "test.h"
int main()
{
#if defined(TEST)
std::cout << "test" << std::endl;
#else
iutest:
build:
image: codeship/iutest
dockerfile: ./tools/docker/Dockerfile
volumes:
- ./.ssh:/root/.ssh
- ./:/work
cached: true