From Stackoverflow
$ cd /usr/ssl/certs
$ curl http://curl.haxx.se/ca/cacert.pem | awk 'split_after==1{n++;split_after=0} /-----END CERTIFICATE-----/ {split_after=1} {print > "cert" n ".pem"}'
| *.class |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #define COUNTER_RIGHT_BITS 24 | |
| #define COUNTER_MASK 0x000000ff | |
| #define ADDER_RIGHT_BITS 16 | |
| #define ADDER_MASK 0x000000ff | |
| #define SUM_MASK 0x0000ffff | |
| #define extract_sum(v) (v & SUM_MASK) |
| /** | |
| * Test case, which uses multibyte (Japanese) characters | |
| */ | |
| public void testExecute_検証失敗_ログインID不正() throws Exception { | |
| } | |
| /** | |
| * Test case, which uses only ascii characters (method name means as same as the above) | |
| */ | |
| public void testExecute_ValidationFailed_LoginIdIsWrong() throws Exception { |
| start() { | |
| if [ -f ${LOCKFILE} ]; then | |
| echo "ERROR: LOCKFILE $LOCKFILE exists!" >&2 | |
| check_status | |
| exit 1 | |
| fi | |
| runuser romania -c "exec $TOMCAT_STARTUP $OPTIONS" | |
| RETVAL=$? |
| start_silent() { | |
| echo "Starting $TOMCAT_NAME..." | |
| if [ -f ${LOCKFILE} ]; then | |
| echo "ERROR: LOCKFILE $LOCKFILE exists!" >&2 | |
| check_status | |
| exit 1 | |
| fi | |
| runuser romania -c "exec $TOMCAT_STARTUP $OPTIONS" >/dev/null 2>&1 |
| #!/usr/bin/python | |
| # vim: set fileencoding=ascii ts=2 expandtab : | |
| import socket | |
| import sys | |
| class PortScanner: | |
| def isOpened(self, ipaddr, port): | |
| try: | |
| sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM,0) |
| #!/bin/bash | |
| . /etc/init.d/functions | |
| LOGFILE=/tmp/tmp.log | |
| KEYWORD=Started | |
| CHECK_INTERVAL=5 | |
| TIMEOUT=30 | |
| TIME_COMMAND='date +%s' |
| import java.util.Timer; | |
| import java.util.TimerTask; | |
| import android.app.Activity; | |
| import android.app.ProgressDialog; | |
| /** | |
| * 一定時間後に表示する {@link ProgressDialog} です | |
| * @author skomatsu | |
| * |
| Index: trunk/teraterm/teraterm/clipboar.c | |
| =================================================================== | |
| --- trunk/teraterm/teraterm/clipboar.c (revision 5057) | |
| +++ trunk/teraterm/teraterm/clipboar.c (working copy) | |
| @@ -67,6 +67,10 @@ | |
| void CBClose() | |
| { | |
| BOOL Empty; | |
| + HGLOBAL CBCopyWideHandle = NULL; | |
| + LPWSTR CBCopyWidePtr = NULL; |
From Stackoverflow
$ cd /usr/ssl/certs
$ curl http://curl.haxx.se/ca/cacert.pem | awk 'split_after==1{n++;split_after=0} /-----END CERTIFICATE-----/ {split_after=1} {print > "cert" n ".pem"}'