Skip to content

Instantly share code, notes, and snippets.

View akiko-pusu's full-sized avatar
😊
Good! Feedbacks, stars would be highly appreciated!

Akiko Takano akiko-pusu

😊
Good! Feedbacks, stars would be highly appreciated!
View GitHub Profile
@akiko-pusu
akiko-pusu / sample.sh
Last active July 8, 2019 22:28
Redmineのfeature specでのエラー
% bundle exec rspec -I plugins/redmine_issue_badge/spec -e 'When Administrator' \
--format documentation plugins/redmine_issue_badge/spec/features/badge_spec.rb
Run options: include {:full_description=>/When\ Administrator/}
IssueBadge
When Administrator
Global settings for badge option is displayed.
Badge is displayed if global settings badge option is activated. (FAILED - 1)
Badge is not displayed if global settings badge option is dectivated. (FAILED - 2)
Issue badge block is displayed if global settings badge option is activated and click badge. (FAILED - 3)
@akiko-pusu
akiko-pusu / sample_2.rb
Created July 8, 2019 22:54
deliver_security_notificationの無効(その2)
# frozen_string_literal: true
require_relative '../spec_helper'
require_relative '../support/login_helper'
feature 'IssueBadge', js: true do
include LoginHelper
let(:project) { FactoryBot.create(:project) }
let(:tracker) { FactoryBot.create(:tracker, :with_default_status) }
let(:role) { FactoryBot.create(:role) }
@akiko-pusu
akiko-pusu / README.md
Last active September 20, 2019 11:57 — forked from nasrulhazim/quotes.json
Quotes List in JSON Format
  • This is a sample json data for freeCodeCamp's project.
  • このJSONデータは、freeCodeCampのプロジェクト(課題)のために利用します。
@akiko-pusu
akiko-pusu / sample.py
Created November 13, 2017 14:55
Google Cloud Speech API を叩くpython scriptのサンプル
# coding: utf-8
import pprint
import os # 環境変数を扱うモジュール
import sys # コマンドライン引数を扱うモジュール
import requests # http通信に便利なモジュール
#
# $ python --version
# Python 3.5.4
#
@akiko-pusu
akiko-pusu / confluence_page_post.py
Last active June 2, 2022 19:43
Confluenceのページをコピーして新しくページを作るサンプル
import requests
import json
import os
import textwrap
from datetime import datetime
from datetime import timedelta
import re
class ConfluencePagePost:
'''Class to post page/blog content to Confluence via REST API.'''