Skip to content

Instantly share code, notes, and snippets.

Good! Feedbacks, stars would be highly appreciated!

Akiko Takano akiko-pusu

Good! Feedbacks, stars would be highly appreciated!
View GitHub Profile
akiko-pusu /
Last active Sep 20, 2019 — forked from nasrulhazim/quotes.json
Quotes List in JSON Format
  • This is a sample json data for freeCodeCamp's project.
  • このJSONデータは、freeCodeCampのプロジェクト(課題)のために利用します。
akiko-pusu / sample_2.rb
Created Jul 8, 2019
View sample_2.rb
# 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 /
Last active Jul 8, 2019
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/}
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)
View gist:19a89e7d882b8050212f8eb09984ad1e
akiko-pusu / article_template.html
Last active Aug 30, 2018
View article_template.html
<meta charset="UTF-8">
<link rel="stylesheet" media="all" href="style.css">
<link rel="stylesheet" media="all" href="github-markdown.css">
<div class='teamMain'>
<div class="teamSidebarContainer">
<div class="teamSidebarContainer_main js-toc-section-chaser-wrapper">
akiko-pusu / bash
Last active Aug 29, 2018
Pythonのインタラクティブモードで編集中のモジュールを再読み込みしたい ref:
View bash
$ python
Hello World!
akiko-pusu / init.rb
Last active Aug 28, 2018
FullTextSearch Pluginの検証
View init.rb
require_dependency "full_text_search/hooks/search_index_options_content_bottom_hook"
require_dependency "full_text_search/hooks/issues_show_description_bottom_hook"
require_dependency "full_text_search/hooks/similar_issues_helper"
# これも追加?
require_dependency "full_text_search/hooks/search_helper"
require "full_text_search/searcher"
Redmine::Plugin.register :full_text_search do
akiko-pusu /
Last active Apr 22, 2021
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.'''
akiko-pusu /
Created Nov 13, 2017
Google Cloud Speech API を叩くpython scriptのサンプル
# coding: utf-8
import pprint
import os # 環境変数を扱うモジュール
import sys # コマンドライン引数を扱うモジュール
import requests # http通信に便利なモジュール
# $ python --version
# Python 3.5.4