株式会社クリアコード > ククログ > 複数の作業環境から変更が同一ブランチにpushされるGitリポジトリについて、リモートにある内容を確実に手元に反映する この記事では、Gitの「普通のpull」と「rebase」について、「普通のpullではなくrebaseした方が良いと言われるけれども、実際にrebaseを使ってみたら、衝突が発生した時に色々よくわからない事が起こって辛い思いをした」という人を対象として、rebaseの正しい使い方を解説します。 GitそのものやGitHubそのものの説明については省略していますのでご注意下さい。 また、GitはLinuxやmacOS(OS X)の端末エミュレータ上のシェルでコマンド列を実行して利用する形態を想定しています。 Gitでの「手元のコードをremoteの最新の状態と同期する」場面 GitHub上にあるリポジトリを複数人で手元にcloneし
IntroductionGenerative testing is a widespread approach in the functional world, mainly due to the popularity of Haskell’s QuickCheck and Clojure’s QuickCheck implementation test.check. Traditional unit tests enable us to verify assumptions for a given function. This approach, also known as example based testing, is based on manually defined inputs and expected outputs. In other words a developer
It's known that before ECMAScript 2015 JavaScript language was tricky. For simple scripts ES5 code works fine. But as soon as the application complexity grows, you start to feel that the lack of language constructs is making your code unpleasant. Because you have to implement the application requirements, you can't jump over the parts of code that are troublesome to implement in ES5 style. The pos
Fast and easy searching inside a page. $ yarn add holmes.js holmes({ find: '.results blockquote' }); holmes({ // queryselector for the input input: '.search input', // queryselector for element to search in find: '.results article', // (optional) text to show when no results placeholder: 'no results', class: { // (optional) class to add to matched elements visible: 'visible', // (optional) class t
久しぶりにvyosネタではない市田です。 今回は、netdataというLinux向けのモニタリングツールについてご紹介します。 netdataとは netdataは、ZabbixやNagiosなどの監視ツールとは異なり、リアルタイムパフォーマンスモニタリングができるツールです。 その代わりと言ってはなんですが、長期間の監視データの蓄積などはできないので、過去のパフォーマンスグラフを参照すると言ったことはできません。 以下のようなリアルタイムなリソースグラフを見ることができます。 下記のgifではカクカクしていますが、実際はもっと滑らかな動きのあるグラフになります。公式サイトが参考になるかと思います。 NetData - Real-time performance monitoring, done right! netdataの特徴 githubでは以下の特徴を謳っています。 Stunnin
ウィスキー、シガー、パイプをこよなく愛する大栗です。 先週発表がされたアプリケーションロードバランサー(ALB)ですが、最初からCloudFormationに対応しています。いつもCloudFormation対応は後になるのですが、ALBはサービスの発表と同時に対応しているので試してみました。 リソースのおさらい 以下のようにリソースの種類が1種類から4種類へ分割されています。 標準ロードバランサー(旧ELB:Classic Load Balancer) AWS::ElasticLoadBalancing::LoadBalancer アプリケーションロードバランサー(ALB:Application Load Balancer) AWS::ElasticLoadBalancingV2::Listener AWS::ElasticLoadBalancingV2::ListenerRule AW
ども、大瀧です。 DockerクラスタリングのマネージドサービスであるAmazon ECSにここ数週間で大きなアップデートがあり、AWSのロードバランササービスであるELB(Elastic Load Balancing)との組み合わせ方が大幅に増えました。この記事ではパターンとその使い分けについて解説してみます。 ECSとELBのアップデート概要 ECSでは、ここ数日で以下のアップデートがアナウンスされています。 Amazon EC2 Container Service Automatic Service Scaling Region Expansion Amazon EC2 Container Service Now Integrated with Application Load Balancer to Support Dynamic Ports and Path-based Rout
Googleイメージ検索を使えば面白い画像であったり、素敵な風景写真などがあっという間に手に入ります。サイズも指定できるので壁紙を集めるのにも便利です。個人的にはアニメーションGIFの検索にもよく使っています。 そんなGoogleイメージ検索の結果画像をまとめてダウンロードしてくれるのがgoogliserです。 googliserの使い方 googliserはコマンドラインで使います。フレーズを指定して、後は画像サイズなどを決めて実行するだけです。 $ ./googliser.sh --phrase "puppies" --title 'Puppies!' --upper-size 100000 --lower-size 2000 --failures 0 googliser.sh - v1.21 (2016-07-24) PID:[28612] -> searching Google:
GitHub Dark 2.0 If light theme hurts your eyes, switch off the lights on GitHub for a pleasant reading experience. Install View on GitHub How to use Install a userstyle manager for your favorite browser: Chrome: https://chrome.google.com/webstore/detail/stylish Firefox: https://addons.mozilla.org/en-US/firefox/addon/stylish (be sure to place the CSS inside the `@-moz-document domain("github.com")`
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く