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
In [1]: %doctest_mode | |
Exception reporting mode: Plain | |
Doctest mode is: ON | |
>>> |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import os | |
import os.path | |
import sys | |
import lxml.html | |
import xlwt |
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
#import <Foundation/Foundation.h> | |
int main(void) | |
{ | |
NSURL *baseWithSlash = [NSURL URLWithString:@"http://example.com/v1/"]; | |
NSURL *baseWithoutSlash = [NSURL URLWithString:@"http://example.com/v1"]; | |
NSString *relativeWithSlash = @"/foo"; | |
NSString *relativeWithoutSlash = @"foo"; | |
// 1.baseWithSlash + relativeWithSlash |
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
*** snipMate.vim.old 2009-04-23 02:30:12.703125000 +0900 | |
--- snipMate.vim 2009-04-23 01:41:56.890625000 +0900 | |
*************** | |
*** 187,190 **** | |
--- 187,202 ---- | |
let num = inputlist(snippet) - 1 | |
return num == -1 ? '' : s:multi_snips[a:scope][a:trigger][num][1] | |
endf | |
+ | |
+ fun GetSnippetsList(ft) |
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
setlocal makeprg=/Users/tatsuro/python/pythonbrew/bin/flake8\ % | |
setlocal errorformat=%f:%l:%m | |
""" getqflist()でQuickFixのエラー件数が取得できる. | |
function! s:open_quickfix_window() | |
silent make | redraw! | |
if (len(getqflist()) == 0) | |
cclose | |
else | |
copen |
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
NeoBundleLazy 'nosami/Omnisharp', { | |
\ 'autoload': {'filetypes': ['cs']}, | |
\ 'build': { | |
\ 'mac': 'xbuild server/OmniSharp.sln', | |
\ 'unix': 'xbuild server/OmniSharp.sln', | |
\ } | |
\ } |
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
// Python3 | |
% python3 | |
Python 3.3.0 (default, Mar 2 2013, 11:44:00) | |
[GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.24)] on darwin | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> a = range(5) | |
>>> a | |
range(0, 5) | |
>>> type(a) | |
<class 'range'> |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import sys | |
import math | |
from multiprocessing import Process, Queue, Pool | |
from itertools import izip_longest, islice | |
import cProfile | |
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
nunit-console2 (dllへのパス) |