Skip to content

Instantly share code, notes, and snippets.

@srz-zumix
srz-zumix / config.yml
Created March 25, 2020 01:34
.circleci/config.yml NEW
version: 2.1
aliases:
- &branch-filter
branches:
only:
- master
- develop
- /^feature.*/
- /^fix.*/
- /^circleci.*/
@srz-zumix
srz-zumix / config.yml
Created March 23, 2020 09:48
CircleCI config OLD
version: 2
default: &default
shell: /bin/bash --login
docker:
- image: circleci/buildpack-deps:cosmic-browsers
jobs:
optimize_test:
working_directory: ~/srz-zumix/iutest
parallelism: 4
// ==UserScript==
// @name Resizeable Jenkins Script Editor
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Display pipeline options in wide screen, make script editor resizeable.
// @author Andrew Allen (credit to Victor Toulouse for previous version)
// @match http://jenkins-ci.org
// @grant none
// ==/UserScript==
.syntaxhighlighter code.diff.color2 { /* file */
background-color: #ffff99 !important;
color: #990000 !important;
}
.syntaxhighlighter code.diff.variable { /* range */
color: #ff0000 !important;
}
.syntaxhighlighter code.diff.color1 { /* unchanged */
color: black !important;
}
@srz-zumix
srz-zumix / v1.17.0.md
Created November 11, 2019 04:24
iutest releases changed
  • New

    • ::std::string_view 対応
    • ::std::filesystem 対応
    • FreeBSD 対応
    • ALMOST_EQ アサーション を追加
    • --iutest_locale_ctype オプションを追加
  • Improved

    • setlocale(LC_CTYPE, IUTEST_FLAG(locale_ctype)) をテスト実行開始時に行うように修正
  • Visual Studio 2019 対応

/bin/bash -c cd /home/build/project && cat /proc/cpuinfo || true
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 158
model name : Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
stepping : 12
microcode : 0xae
cpu MHz : 900.296
cache size : 16384 KB
#!/bin/bash
exec llvm-cov gcov "$@"
// https://wandbox.org/permlink/DnmwABiHeYne8Iaz
#include <iostream>
#include <cstdlib>
#include <boost/timer/timer.hpp>
int main()
{
const long n=10000000;
{
boost::timer::cpu_timer timer;
@srz-zumix
srz-zumix / blueprint.json
Created April 8, 2019 01:19
Integromat Slack-Status-Notification scenario
{
"name": "Slack Status RSS",
"flow": [
{
"id": 1,
"module": "rss:TriggerNewArticle",
"version": 4,
"parameters": {
"url": "https://status.slack.com/feed/rss",
"gzip": true,
@srz-zumix
srz-zumix / template-make-disabled-test.yml
Last active December 11, 2018 00:33
AzurePipelines Matrix sample
parameters:
name: ''
options: ''
vmImage: 'ubuntu 16.04'
jobs:
- job: ${{ parameters.name }}
strategy:
matrix:
Disable_AnyParamTest: