This file contains 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
$ make html | |
sphinx-build -b html -d build/doctrees source build/html | |
Usage: sphinx-build [OPTIONS] SOURCEFILE ... | |
sphinx-build: error: no such option: -b | |
make: *** [html] Error 2 |
This file contains 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
// -*- coding: utf-8; -*- | |
// for gnome-shell 3.16.2 | |
const Gio = imports.gi.Gio; | |
const Shell = imports.gi.Shell; | |
const Meta = imports.gi.Meta; | |
const St = imports.gi.St; | |
const Main = imports.ui.main; | |
const ExtensionUtils = imports.misc.extensionUtils; |
This file contains 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/ruby | |
#-*- coding: utf-8; -*- | |
require "pp" | |
require "mechanize" | |
STDOUT.sync = true | |
# config |
This file contains 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
;;; An asynchronous data model sample for ctable.el | |
(require 'ctable) | |
(require 'deferred) | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;;; synchronous version | |
(defun ctbl:sync-demo1 () |
This file contains 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
;;; tern-dialog.el --- | |
;; Author: SAKURAI Masashi <m.sakurai at kiwanami.net> | |
;; Version: 0.0.2 | |
;; Package-Requires: ((tern "0.0.1") (widget-mvc "24")) | |
;;; Commentary: | |
;; M-x tern-prjfix-make | |
;; |
This file contains 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
;;; direx-ctable.el --- direx table extension | |
;; Copyright (C) 2013 SAKURAI Masashi | |
;; Author: SAKURAI Masashi <m.sakurai at kiwanami.net> | |
;; Keywords: dired, ctable | |
;; This program is free software; you can redistribute it and/or modify | |
;; it under the terms of the GNU General Public License as published by | |
;; the Free Software Foundation, either version 3 of the License, or |
This file contains 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
# -*- coding: utf-8 -*- | |
require 'mongo' | |
require 'stringio' | |
MONGO_PORT = 28017 | |
HTTP_PORT = 5001 | |
$mongodb = nil |
This file contains 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
// -*- coding: utf-8; -*- | |
var http = require('http'); | |
var Deferred = require('jsdeferred').Deferred; | |
var mongo = require('mongodb'); | |
var config; | |
(function() { | |
var cmdArguments = process.argv.splice(2); |
This file contains 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
use MongoDB::Async; | |
use Coro; | |
use Coro::EV; | |
use MongoDB::Async::GridFS; | |
use Data::Dumper; | |
use POSIX qw(:math_h); | |
# (setenv "PERL5LIB" "./exlib/lib/perl5/x86_64-linux:./exlib/lib/perl5") | |
my $connection = MongoDB::Async::Connection->new(host => 'localhost', port => 27017); |