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
//attach_shm.c | |
#include<sys/types.h> | |
#include<sys/ipc.h> | |
#include<sys/shm.h> | |
#include<stdio.h> | |
#define BUFSZ 1024 | |
int main() | |
{ |
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
# install ws4py | |
# pip install ws4py | |
# easy_install ws4py | |
from ws4py.client.threadedclient import WebSocketClient | |
class DummyClient(WebSocketClient): | |
def opened(self): | |
self.send("www.baidu.com") | |
def closed(self, code, reason=None): |
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
public class B { | |
public static void main(String[] args) { | |
} | |
public class B { | |
public String d; | |
} | |
} |
OlderNewer