Skip to content

Instantly share code, notes, and snippets.

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 / README.md
Last active Sep 20, 2019 — forked from nasrulhazim/quotes.json
Quotes List in JSON Format
View README.md
  • This is a sample json data for freeCodeCamp's project.
  • このJSONデータは、freeCodeCampのプロジェクト(課題)のために利用します。
@akiko-pusu
akiko-pusu / sample_2.rb
Created Jul 8, 2019
deliver_security_notificationの無効(その2)
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
akiko-pusu / sample.sh
Last active Jul 8, 2019
Redmineのfeature specでのエラー
View sample.sh
% 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)
View gist:19a89e7d882b8050212f8eb09984ad1e
▼プロフィール
IT業界で生き延びるミセスタックエンジニア。
▼Blog・Twitter・FacebookのURL・ID
https://twitter.com/akiko_pusu
▼U30枠への応募
応募しない
▼講演の概要
@akiko-pusu
akiko-pusu / article_template.html
Last active Aug 30, 2018
QiitaTeamのjsonをパースするスクリプト
View article_template.html
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" media="all" href="style.css">
<link rel="stylesheet" media="all" href="github-markdown.css">
</head>
<body>
<div class='teamMain'>
<div class="teamSidebarContainer">
<div class="teamSidebarContainer_main js-toc-section-chaser-wrapper">
@akiko-pusu
akiko-pusu / bash
Last active Aug 29, 2018
Pythonのインタラクティブモードで編集中のモジュールを再読み込みしたい ref: https://qiita.com/akiko-pusu/items/6e4c6114891dc83430a7
View bash
$ python sample.py
Hello World!
@akiko-pusu
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
akiko-pusu / confluence_page_post.py
Last active Apr 22, 2021
Confluenceのページをコピーして新しくページを作るサンプル
View confluence_page_post.py
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
akiko-pusu / sample.py
Created Nov 13, 2017
Google Cloud Speech API を叩くpython scriptのサンプル
View sample.py
# coding: utf-8
import pprint
import os # 環境変数を扱うモジュール
import sys # コマンドライン引数を扱うモジュール
import requests # http通信に便利なモジュール
#
# $ python --version
# Python 3.5.4
#