WordPressのプラグインやテーマ、アップロードディレクトリ内の、ファイルとディレクトリの所有者及びパーミッションを設定するスクリプトです。
- plugins.sh
- themes.sh
- uploads.sh
/* | |
* Copyright (C) 2014 The Android Open Source Project | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
<?php | |
/* | |
Plugin Name: PHP Info. Preview | |
Plugin URI: | |
Description: PHPの情報(phpinfo())を表示するプラグイン | |
Author: Nia Tomonaka | |
Version: 0.1 | |
Author URI: https://chronoir.net/ | |
License: GPL2 | |
*/ |
#はじめに このGistは、Qiitaの記事「多言語対応したXMLドキュメントコメントファイルを配置できる、NuGetパッケージを作成してみよう!」で使用したサンプルコードです。
#Note Sample-ja.xmlはja/Sample.xml、Sample-de.xmlはde/Sample.xmlです(jaとdeはフォルダー名)。
ソースコードのライセンスはMIT Licenceです。
<?xml version="1.0" encoding="utf-8"?> | |
<!-- manifest要素は、マニフェストの構成を定義します。 | |
package属性は、アプリのパッケージ名( Google PlayでのURLで使用します )を表します。 | |
versionCode属性は、Google Playで管理するためのバージョン番号(整数)を表します。 | |
versionName属性は、Google Playで表示するアプリのバージョンを表します。 --> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="WatchFaceTest.WatchFaceTest" | |
android:versionCode="1" android:versionName="1.0" | |
android:installLocation="auto"> |
<?xml version="1.0" encoding="utf-8"?> | |
<!-- manifest要素は、マニフェストの構成を定義します。 | |
package属性は、アプリのパッケージ名( Google PlayでのURLで使用します )を表します。 | |
versionCode属性は、Google Playで管理するためのバージョン番号(整数)を表します。 | |
versionName属性は、Google Playで表示するアプリのバージョンを表します。 --> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="WatchFaceTest.WatchFaceTest" | |
android:versionCode="1" android:versionName="1.0" | |
android:installLocation="auto"> |
using System; | |
using System.IO; | |
using System.Security.Cryptography; | |
using System.Text; | |
namespace CryptTest { | |
// ICryptoTransformインターフェースの実装サンプル | |
/// <summary> |
#!/usr/bin/env python3.7 | |
# iTerm2のステータスバーにストレージの使用量を表示するコンポーネント | |
# The component that displays storage usage in the iTerm2 status bar | |
from iterm2 import Connection, StatusBarComponent, StatusBarRPC, run_forever | |
from iterm2.statusbar import Knob | |
import os | |
from decimal import Decimal, ROUND_HALF_UP |
#!/usr/bin/env python3.7 | |
# iTerm2のステータスバーにSubversionのリポジトリ情報を表示するコンポーネント | |
# The component that displays a subversion repository infomation in the iTerm2 status bar | |
from iterm2 import Connection, Reference, StatusBarComponent, StatusBarRPC, RPC, util, run_forever, async_get_app | |
from iterm2.statusbar import Knob | |
from subprocess import CalledProcessError, check_output | |
from xml.etree import ElementTree |
// 名前 : Nia Tomonaka | |
// Twitter : https://twitter.com/nia_tn1012 | |
using System; | |
namespace NiaTN1012_Cal { | |
class Program { | |
static void Main( string[] args ) { | |
// 現在の日付を取得から当月1日を表すインスタンスを生成します。 |