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
using System; | |
using System.Runtime.InteropServices; | |
namespace RotateDisplayTest | |
{ | |
class RotateDisplay | |
{ | |
static void Main(string[] args) | |
{ | |
uint deviceID = 1; // zero origin (i.e. 1 means DISPLAY2) |
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
Function ColNum2Name(Col As Long) As String | |
Dim C As Integer | |
Col = Col - 1 ' 1 -> A, 26 -> Z, 27 -> AA | |
If (Col >= 0) Then | |
While (Col >= 0) | |
C = Col Mod 26 | |
Col = Col \ 26 - 1 | |
ColNum2Name = Chr$(Asc("A") + C) + ColNum2Name | |
Wend | |
Else |
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
files: | |
"/var/lib/postgrest/postgrest.conf" : | |
mode: "000644" | |
owner: root | |
group: root | |
content: | | |
db-uri = "postgres://app_user:password@postgres:5432/app_db" | |
db-schema = "public" | |
db-anon-role = "app_user" | |
jwt-secret = "changeme" |
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
Feb 27, 2017 9:16:48 AM org.apache.catalina.startup.HostConfig deployWARs | |
SEVERE: Error waiting for multi-thread deployment of WAR files to complete | |
java.lang.InterruptedException | |
at java.util.concurrent.FutureTask.awaitDone(FutureTask.java:404) | |
at java.util.concurrent.FutureTask.get(FutureTask.java:191) | |
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:818) | |
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488) | |
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1658) | |
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:328) | |
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) |
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
==================================================== | |
milter-manager 1.8.7: test/tool/test-suite.log | |
==================================================== | |
# TOTAL: 1 | |
# PASS: 0 | |
# SKIP: 0 | |
# XFAIL: 0 | |
# FAIL: 1 | |
# XPASS: 0 |
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
$ git branch | |
* develop | |
master | |
$ git rev-parse HEAD | |
52a43a98cafa16c294aebc99d6e642c59346ee2a | |
$ git diff | |
diff --git a/opendkim/opendkim-db.c b/opendkim/opendkim-db.c | |
index 5fac364..a6a275a 100644 | |
--- a/opendkim/opendkim-db.c | |
+++ b/opendkim/opendkim-db.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
# This is a shell archive. Save it in a file, remove anything before | |
# this line, and then unpack it by entering "sh file". Note, it may | |
# create directories; files and directories will be owned by you and | |
# have default permissions. | |
# | |
# This archive contains: | |
# | |
# devel/luaposix | |
# devel/luaposix/files | |
# devel/luaposix/files/patch-lposix.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
===> Fetching all distfiles required by nbd-server-3.2,1 for building | |
===> Extracting for nbd-server-3.2,1 | |
=> SHA256 Checksum OK for nbd-3.2.tar.bz2. | |
===> Patching for nbd-server-3.2,1 | |
===> nbd-server-3.2,1 depends on executable: pkgconf - found | |
===> nbd-server-3.2,1 depends on shared library: glib-2.0 - found | |
===> nbd-server-3.2,1 depends on shared library: pcre - found | |
===> Configuring for nbd-server-3.2,1 | |
configure: loading site script /usr/ports/Templates/config.site | |
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel |
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 <Foundation/Foundation.h> | |
// gcc -framework Foundation XX.m -o XX.exe | |
int main(int argc, const char *argv[]){ | |
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; | |
// STEP1 普通にjoinする(空の要素がない場合) | |
NSArray *array_part_a = [NSArray arrayWithObjects:@"1", @"2", @"3", @"4", @"5", @"6", nil]; | |
NSString *string_a = [array_part_a componentsJoinedByString:@" / "]; |
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
# This is a shell archive. Save it in a file, remove anything before | |
# this line, and then unpack it by entering "sh file". Note, it may | |
# create directories; files and directories will be owned by you and | |
# have default permissions. | |
# | |
# This archive contains: | |
# | |
# net/nspg | |
# net/nspg/Makefile | |
# net/nspg/pkg-descr |
NewerOlder