Skip to content

Instantly share code, notes, and snippets.

View RuinDig's full-sized avatar
🏠
Working from home

RuinDig/Yuki Uchida RuinDig

🏠
Working from home
View GitHub Profile
@RuinDig
RuinDig / Tokyo2020_The-Olympic-Flame.md
Last active June 1, 2022 12:32
東京2020オリンピック・パラリンピックの開催前に、日本オリンピックミュージアムで展示された聖火。撮影日:2020年9月12日 【場所:東京都新宿区】

Tokyo2020_The-Olympic-Flame

CC-BY-4.0 - RuinDig/Yuki Uchida

東京2020オリンピック・パラリンピックの開催前に、日本オリンピックミュージアムで展示された聖火。撮影日:2020年9月12日 【場所:東京都新宿区】

Tokyo2020_The-Olympic-Flame_01

ランタンに灯る聖火

@RuinDig
RuinDig / Diamond-Fuji_Mihama-Ohashi-Bridge_2021-02-21.md
Last active June 1, 2022 12:34
千葉県千葉市美浜区の美浜大橋でのダイヤモンド富士。2021年2月21日に撮影。

Diamond-Fuji_Mihama-Ohashi-Bridge_2021-02

CC-BY-4.0 - RuinDig/Yuki Uchida

千葉県千葉市美浜区の美浜大橋でのダイヤモンド富士。2021年2月21日に撮影。

C0007.MP4
C0008.MP4
@RuinDig
RuinDig / The-Olympic-Rings_Tokyo.md
Last active June 1, 2022 12:31
日本オリンピックミュージアム前に設置されたオリンピックのシンボルマーク。 The Olympic Rings monument, in front of Japan Olympic Museum.

The-Olympic-Rings_Tokyo

CC-BY-4.0 - RuinDig/Yuki Uchida

東京都新宿区にある日本オリンピックミュージアム前に設置されたオリンピックのシンボルマーク。

The Olympic Rings monument, in front of Japan Olympic Museum, Shinjuku city, Tokyo.

2020年9月12日 2020.9.12 September 12th, 2020

@RuinDig
RuinDig / meta-data-for-Google-Scholar_livedoor-blog.html
Last active October 10, 2023 03:42
Google Scholarのために設定したメタデータ:ライブドアブログを利用した場合
/* 論文データベースに掲載されない卒業論文(学士論文)をGoogle Scholarの検索結果に反映させるためにライブドアブログ(https://ruindig.blog.jp)のトップページのheadタグ内に設定したメタデータ */
<meta name="citation_title" content="<!--論文の題名-->"> /* 英訳せず日本語で入力 */
<meta name="citation_author" content="<!--論文の著者名-->"> /* 日本語で入力 */
<meta name="citation_publication_date" content="<!--論文の公開日付:YYYY/MM/DD-->">
<meta name="citation_abstract_html_url" content="<!--論文概要ページのURL(ライブドアブログの個別記事のURL)-->">
<meta name="citation_university_name" content="<!--大学名-->"> /* 日本語で入力 */
<meta name="citation_faculty_name" content="<!--学部学科名-->"> /* 日本語で入力 */
<meta name="citation_language" content="ja"> /* 言語:日本語の言語コードはja */
<meta name="citation_firstpage" content="<!--表紙と目次を含む上での最初のページ番号-->">
@RuinDig
RuinDig / page-top-button.js
Last active December 19, 2021 11:26
ページトップに移動するボタンのjQueryとaタグ
<script>$(function() {
var pagetop = $('#page_top');
$(window).scroll(function () {
if ($(this).scrollTop() > 0) {
pagetop.fadein(); /* ボタンを表示する */
} else {
pagetop.fadein(); /* ボタンを表示する内容をもう1つ記して強制的に表示させる */
}
});
pagetop.click(function () {
@RuinDig
RuinDig / tenkyo-and-shiboutsuuchi-tayori_sample.md
Created August 23, 2021 16:02
転居と死亡通知を併せた手紙の参考例

転居と死亡通知を併せた手紙の参考例

転居と死亡通知を併せて伝える内容の手紙の参考例。ここに記された内容が正しい文面である事を示すものではなく、文面に迷った際の参考例として使ってほしいという考えから紹介している。

参考資料

中川越『実例 大人の基本 手紙書き方大全』(講談社、2015年)

https://bookclub.kodansha.co.jp/product?item=0000213628

岩下宣子『最新版 礼儀正しい手紙・はがきの書き方とマナー』(学研出版、2014年)

@RuinDig
RuinDig / HTML
Last active May 2, 2021 06:40
はてなブログでのシェアボタンのカスタマイズ
<div id="my-footer"> /* はてなブログの記事下に設置する際に使う */
<div class="share-button"> /* はてなブログの記事上と記事下に設置する際に使う */
/* Twitter */
<a href="https://twitter.com/intent/tweet?text={URLEncodedTitle} - {BlogTitle} {URLEncodedPermalink}" class="share-button_item share-button_item--twitter" target="_blank"><span class="share-button_icon"><i class="blogicon-twitter fa-2x"></i></span><span class="share-button_small-text">Twitter</span></a>
/* {Title}を{URLEncodedTitle}に変更した事でブログの記事タイトルにハッシュマーク(#)が含まれる場合でも、エンコードされるようになった。 */
/* Facebook */
<a href="https://www.facebook.com/sharer.php?u={URLEncodedPermalink}" class="share-button__item share-button_item--facebook" onclick="window.open(this.href, 'FBwindow', 'width=650, height=450, menubar=no, toolbar=no, scrollbars=yes'); return false;" target="_blank"><span class="share-button_icon"><i class="blogicon-facebook fa-2x"></i></span><span class="share-button_small-text">Facebook</span></a>
/* fa fa-facebook-squareをblogicon-facebookに変更した事でFacebookアイコンが表示されるようになった。 */
/* はてなブックマーク */
<a
@RuinDig
RuinDig / css
Last active May 3, 2021 04:59
はてなブログの公式テーマ「Smooth」の表の罫線の色や太さを調整できるCSS
/* cssのコード */
.entry-content table th {
border: 2px; /* 罫線の太さ */
border-style: solid; /* 罫線の形:実線 */
border-color: #a9a9a9; /* 罫線の色 */
}
.entry-content table td {
border: 2px; /* 罫線の太さ */
border-style: solid; /* 罫線の形:実線 */
border-color: #a9a9a9; /* 罫線の色 */
@RuinDig
RuinDig / Python
Last active February 9, 2021 15:05
Toast - bash - 04x01 #Ingress
//Toast - bash - 04x01
//codes from Ingress official YouTube video thumbnail: https://www.youtube.com/watch?v=PACMmXBq2iA
Last login: Monday Apr 1 00:00:00 on toast
for april_id in april_ids
# get basic info
city_config = ToastConfig(toast_id)
print "Toast: %s" % toast_jam.toast_name
competitors=butter.jam(aqo62cfs875jt)