This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo add-apt-repository ppa:git-core/ppa | |
$ sudo apt-get update | |
$ sudo apt-get install git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -cr ruby-1.9.3-p194.orig/file.c ruby-1.9.3-p194/file.c | |
*** ruby-1.9.3-p194.orig/file.c 2014-02-16 23:23:54.439076800 +0900 | |
--- ruby-1.9.3-p194/file.c 2014-02-16 23:11:13.350545000 +0900 | |
*************** | |
*** 3977,3983 **** | |
#ifdef __CYGWIN__ | |
#include <winerror.h> | |
- extern unsigned long __attribute__((stdcall)) GetLastError(void); | |
#endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[core] | |
editor = 'D:/Apps/vim73/vim-for-git/gvim.exe' -f -c 'set fenc=utf-8' | |
quotepath = false | |
# ▼▼▼ ここ以下を追加しました。※WinMergeのパスは自分の環境に読み替えてください。▼▼▼ | |
[merge] | |
tool = WinMerge | |
[mergetool "WinMerge"] | |
path = D:/Apps/WinMerge/WinMergeU.exe | |
cmd = \"D:/Apps/WinMerge/WinMergeU.exe\" \"$MERGED\" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (var k = 0; k < data.length; k++) { | |
var target_p = new google.maps.LatLng(data[k][3], data[k][4]); | |
var m = getDistance( current_p, target_p); | |
if( m <= 1000 ){ | |
mark( target_p ); | |
} | |
} | |
function mark( target_p ){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function csv2Array(filePath) { //csvファイルノ相対パスor絶対パス | |
var csvData = new Array(); | |
var data = new XMLHttpRequest(); | |
data.open("GET", filePath, false); //true:非同期,false:同期 | |
data.send(null); | |
var LF = String.fromCharCode(10); //改行コード | |
var lines = data.responseText.split(LF); | |
for (var i = 0; i < lines.length;++i) { | |
var cells = lines[i].split(","); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>AED設置場所の確認</title> | |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"> | |
<meta charset="utf-8"> | |
<style> | |
html, body, #map-canvas { | |
height: 100%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with | |
view01 as | |
(SELECT | |
id | |
FROM | |
tb1 | |
WHERE | |
id = '01' | |
) | |
SELECT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Load the rails application | |
require File.expand_path('../application', __FILE__) | |
# Initialize the rails application | |
RailsApp::Application.initialize! | |
require 'yahoo' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Yahoo | |
class Proofreading | |
require 'nokogiri' | |
def self.make(sentence) | |
conn = Faraday.new(:url => 'http://jlp.yahooapis.jp') do |builder| | |
builder.request :url_encoded | |
builder.response :logger |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eclipseで返り値を自動で補完する方法 | |
ctrl + 2 で l |