Gistを使い始めて気がついた点をメモした。 Gistはこのようなメモや短いコードをバージョン管理しながら公開するのに便利。
特にこのメモでは、画像を同一ディレクトリに置いて、 それGFMファイル内に挿入する方法を解説。
このメモにはgitコマンドの使い方の解説はない。 このメモは随時更新される予定。
| /** | |
| * Google Spreadsheet向けBigQuery取り込みスクリプト | |
| * http://toreta.blog.jp/archives/20649904.html | |
| * License: MIT 2014- Toreta, Inc. | |
| * | |
| * runAllQueries() をトリガーで毎日実行してください | |
| * Queries, Single row queries, Dataの三つのシートを作って下さい | |
| * Queries, Single row queriesのシートには実行するクエリを書きます | |
| * A列にクエリ名、B列にクエリです。 | |
| * conuntなどの集約関数で1行しか返らないクエリは「Single row queries」、それ以外は「Queries」に書いて下さい |
| #-*- coding: utf-8 -*- | |
| import contextlib | |
| from django.db import connection | |
| @contextlib.contextmanager | |
| def acquire_table_lock(read, write): | |
| '''Acquire read & write locks on tables. |
| <?php | |
| /** | |
| * WordPress Query Comprehensive Reference | |
| * Compiled by luetkemj - luetkemj.com | |
| * Japanese translated by hissy | |
| * | |
| * CODEX: http://wpdocs.sourceforge.jp/%E9%96%A2%E6%95%B0%E3%83%AA%E3%83%95%E3%82%A1%E3%83%AC%E3%83%B3%E3%82%B9/WP_Query#.E3.83.91.E3.83.A9.E3.83.A1.E3.83.BC.E3.82.BF | |
| * Source: https://core.trac.wordpress.org/browser/tags/3.9/src/wp-includes/query.php | |
| * Original: https://gist.github.com/luetkemj/2023628/9e911982440141a13cb1dd8ba1ad6b35cd7bbdd7 | |
| */ |
install
open 'karabiner://karabiner/assets/complex_modifications/import?url=https%3A%2F%2Fgist.githubusercontent.com%2Fymrl%2F5468e24c7a4454bdc57fbf65c69772d6%2Fraw%2F59615455ee07b6141e7eb91341121e726186b9d3%2Fkarabiner-elements-semicolon-to-enter.json'
| 更新: | 2021-05-23 |
|---|---|
| 作者: | @voluntas |
| バージョン: | 2021.1 |
| URL: | https://voluntas.github.io/ |