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
import kotlin.system.measureNanoTime | |
fun buildUseList(list: List<Int>, half: Int): List<String> { | |
return list | |
.filter { it < half } | |
.filter { it % 2 == 0 } | |
.map { it.toString() } | |
.take(3) | |
} |
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
# ref http://forum.nginx.org/read.php?2,214641,214641 | |
diff --git a/src/event/ngx_event_openssl.c b/src/event/ngx_event_openssl.c | |
index 62ce12c14355267b2031c8cad52abcb77d462b1e..f9e0ea4532557a5895f8c9a9ada42e8ab7884b94 100644 | |
--- a/src/event/ngx_event_openssl.c | |
+++ b/src/event/ngx_event_openssl.c | |
@@ -42,6 +42,9 @@ static void *ngx_openssl_create_conf(ngx_cycle_t *cycle); | |
static char *ngx_openssl_engine(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); | |
static void ngx_openssl_exit(ngx_cycle_t *cycle); | |
+static int ngx_http_ssl_pass_phase_callback(char *buf, int bufsize, |
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
diff --git a/lisp/cus-start.el b/lisp/cus-start.el | |
index 964c11859710defd36330b6e909b9efb49099638..44f6df7ef4277816f736446f711dd191b52eb21e 100644 | |
--- a/lisp/cus-start.el | |
+++ b/lisp/cus-start.el | |
@@ -385,6 +385,7 @@ Leaving \"Default\" unchecked is equivalent with specifying a default of | |
(const super)) "23.1") | |
(ns-antialias-text ns boolean "23.1") | |
(ns-auto-hide-menu-bar ns boolean "24.0") | |
+ (ns-use-native-fullscreen ns boolean "24.4") | |
;; process.c |
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
MP=/tmp/ramdisk | |
WP=${MP}/${USER} | |
if [ $(stat -f %d /tmp) -ne $(stat -f %d ${MP}) ]; then | |
MNTRD=yes | |
else | |
MNTRD=no | |
fi |
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
#TGTD_ENABLE=no | |
TGTD_ENABLE=yes |
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
#import <stdio.h> | |
#import <stdlib.h> | |
#import <unistd.h> | |
#import <Cocoa/Cocoa.h> | |
#import "CGSPrivate.h" | |
char *param_window; | |
char *param; | |
int show_pid; |
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
diff --git a/src/frame.c b/src/frame.c | |
index 5915c00..e353b7a 100644 | |
--- a/src/frame.c | |
+++ b/src/frame.c | |
@@ -114,6 +114,9 @@ Lisp_Object Qwindow_id; | |
#ifdef HAVE_X_WINDOWS | |
Lisp_Object Qouter_window_id; | |
#endif | |
+#ifdef HAVE_NS | |
+Lisp_Object Qns_window_id; |
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 -*- | |
(when (locate-library "flymake") | |
(require 'flymake) | |
;;シンタックスチェックは次のコマンドが呼ばれる | |
;;make -s -C . CHK_SOURCES=hoge.cpp SYNTAX_CHECK_MODE=1 check-syntax | |
;; | |
;; Makefile があれば、次のルールを追加 | |
;;PHONY: check-syntax |
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
% Reference Card for GNU Emacs | |
% Copyright (C) 1987, 1993, 1996, 1997, 2001, 2002, 2003, 2004, 2005, | |
% 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | |
% Author: Stephen Gildea <[email protected]> | |
% This file is part of GNU Emacs. | |
% GNU Emacs is free software: you can redistribute it and/or modify |
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
(x-popup-dialog | |
t | |
'("Sample Popup" | |
("OK" . t)) | |
t) |
NewerOlder