- develop ブランチから新たに作成する機能のためのフィーチャーブランチを作成します。
git branch feature/new_feature develop
#!/bin/bash | |
# Go build script that runs cloc, cpd, lint, vet, test and coverage for Jenkins | |
# | |
# Outside tools include: | |
# gocov: go get github.com/axw/gocov | |
# gocov-xml: go get github.com/t-yuki/gocov-xml | |
# go2xunit: go get bitbucket.org/tebeka/go2xunit | |
# jscpd: npm i jscpd -g | |
# cloc: npm i cloc -g |
-- These queries let you define find user sessions against event data | |
-- logged to Segment SQL, Snowplow, or Google BigQuery. | |
-- For more details, see the full post: | |
-- LINK | |
--- SEGMENT SQL | |
-- Finding the start of every session | |
SELECT * | |
FROM ( |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
-- show running queries (pre 9.2) | |
SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
FROM pg_stat_activity | |
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
ORDER BY query_start desc; | |
-- show running queries (9.2) | |
SELECT pid, age(clock_timestamp(), query_start), usename, query | |
FROM pg_stat_activity | |
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
package main | |
// #include <stdlib.h> | |
// #include "wrapper.c" | |
import "C" | |
import "unsafe" | |
import "fmt" | |
func read(filename string) string { | |
f := C.CString(filename) |
package com.github.tototoshi.finagle_hack | |
import java.net.InetSocketAddress | |
import com.twitter.finagle.{Service, SimpleFilter} | |
import com.twitter.util.Future | |
import com.twitter.finagle.builder.{Server, ServerBuilder} | |
import com.twitter.finagle.http._ | |
import com.twitter.finagle.http.path._ | |
object HTTPServer { |
Munin Passenger Plug-in Installation | |
Configure the passenger plug-ins according the the guide on http://www.alfajango.com/blog/how-to-monitor-your-railspassenger-app-with-munin/ | |
NOTE: restart munin after implementing the following changes for Single-User RVM | |
sudo nano /etc/munin/plugin-conf.d/munin-node | |
[passenger_*] | |
user root |
organization := "net.seratch" | |
name := "sandbox" | |
version := "0.1" | |
scalaVersion := "2.9.1" | |
libraryDependencies ++= Seq( | |
"junit" % "junit" % "4.9" withSources(), |