HTML等をgitで管理していると、サーバーへのアップロード用のファイルとしてコミットした差分のファイルだけを抽出したい事があります。 「git diff」で差分の表示は出来るのですが、ディレクトリ構造を保持した状態でのファイル抽出みたいな事は出来ないようだったので、Perlでスクリプトを書いてみました。 ※bashとかでも書けると思いますが、なんとなくPerlで書いてみました。 「git diff --name-only」で差分のファイル名を取得 普通にgit diffを使うと・・・ gitでの差分の表示には「git diff」を使用しますが、そのまま使うとファイルの内容まで表示されてしまいます。 $ git diff HEAD^ diff --git a/bar.txt b/bar.txt new file mode 100755 index 0000000..9e74262 ---
» OpenSIPS Summit 2024, 14-17 May, Valencia - 19 December 2023 The 2024 Summit has now open its Call for Papers, Call for Sponsors and registrations. So, join us now! » IMS OpenSIPS Working Group - 08 December 2023 The Scope of Work was just defined, moving ahead with the Technical Requirements. » OpenSIPS Control Panel 9.3.4 Released - 09 November 2023 As the official companion for OpenSIPS 3.4 .
As of August 2013 Google shut down it's weather API. The following tutorial will not work with the Google weather API but you can use the following code for another weather API that you find. Google has a lot of APIs which any developer can use to add a bit more interaction to your application. Some of the APIs need an API key to access the data you want, but there are others which don't need any
TL;DR Python powered MongoDB based search engine https://github.com/SupermanScott/Arya MotivationI wanted to explore MongoDB Map Reduce framework and to build something non-trivial So this is a system that provides an Indexer and a Searcher to do the tasks and store the data in MongoDB. It is realtime search as the index is just a collection in MongoDB.SolutionThe solution uses Python and pymongo
About 南の島のプログラマ。 たまに役者。 Practical Schemeの主。 WiLiKi:Shiro 最近のエントリ 無限cxr高校受験Defense振り返ってみると2019年は色々学んで楽...覚えるより忘れる方が難しい(こともある)眼鏡のつると3DプリンタIris Klein Acting ClassSAG-AFTRA conservatory: Voice Acting創作活動って自分を晒け出さねばならないと...ループを使わずに1から100までMore... 最近のコメント shiro on 歳を取ると時間が速く過ぎるのは、新しいことに挑戦しないから? (2023/03/14)1357 on 歳を取ると時間が速く過ぎるのは、新しいことに挑戦しないから? (2023/03/01)ベアトリーチェ on ハイポハイポハイポのシューリンガン (2022/04/02)ベアトリーチ
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く