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
| foo |
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
| (add-to-list 'load-path "~/Dropbox/config/emacs/site-lisp") | |
| ;; sync clipboard | |
| (setq x-select-enable-clipboard t) | |
| ;; backspace and C-h problem | |
| (define-key key-translation-map [?\C-h] [?\C-?]) | |
| (global-set-key [(hyper h)] 'help-command) | |
| ;; indent setting |
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 node | |
| var | |
| $ = require('jquery') | |
| , express = require('express') | |
| , fs = require('fs') | |
| , querystring = require('querystring') | |
| , request = require('request') | |
| , RSS = require('rss') | |
| , Twit = require('twit') |
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
| class A { | |
| v = 0 | |
| function bar() { v++; } | |
| } | |
| function setTimeout(func, delay, this_ = getroottable() { | |
| delayFunc(delay) | |
| return func.bindenv(this_)() | |
| } |
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 --git a/src/reader_util.cpp b/src/reader_util.cpp | |
| index 9ae7087..e5194de 100644 | |
| --- a/src/reader_util.cpp | |
| +++ b/src/reader_util.cpp | |
| @@ -30,10 +30,14 @@ | |
| #include <cstdlib> | |
| #include <cstring> | |
| #include <sstream> | |
| +#include <vector> | |
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
| ;; git core.whitespace | |
| (add-hook | |
| 'c-mode-common-hook | |
| (lambda() | |
| (let (core-whitespace) | |
| (setq core-whitespace | |
| (shell-command-to-string | |
| (concat "git --exec-path=" | |
| (file-name-directory (buffer-file-name)) |
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
| #include <iostream> | |
| #include <cstdlib> | |
| #include <boost/filesystem.hpp> | |
| #include <boost/regex.hpp> | |
| namespace fs = boost::filesystem; | |
| bool is_rpg2k_project(fs::path const& 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
| #ifndef EASYRPG_TINY_READER | |
| #define EASYRPG_TINY_READER | |
| #include <istream> | |
| #include <vector> | |
| #include <string> | |
| #include <boost/cstdint.hpp> | |
| #include <boost/container/flat_map.hpp> | |
| #include <boost/detail/endian.hpp> |
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
| #include "tiny_reader.hxx" | |
| #include "picojson.hxx" | |
| #include <iconv.h> | |
| namespace LCF { | |
| namespace detail { | |
| template<class F> |
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
| #ifndef EASYRPG_TINY_READER_FWD | |
| #define EASYRPG_TINY_READER_FWD | |
| #include <boost/shared_ptr.hpp> | |
| #include <boost/container/vector.hpp> | |
| class picojson; | |
| namespace LCF { |