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
asd |
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
def handle(user, message): | |
print "User x did", message | |
pass |
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
from grpc.beta import implementations | |
import pwservice_pb2 | |
TIMEOUT_SECONDS = 10 | |
def run(): | |
channel = implementations.insecure_channel('localhost', 50051) |
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/Makefile.am b/Makefile.am | |
index 03341fc..757d318 100644 | |
--- a/Makefile.am | |
+++ b/Makefile.am | |
@@ -202,7 +202,8 @@ AM_CPPFLAGS = \ | |
-DLIBDIR=\"$(libdir)\" \ | |
-DROOTLIBDIR=\"$(rootlibdir)\" \ | |
-DROOTLIBEXECDIR=\"$(rootlibexecdir)\" \ | |
- -DTEST_DIR=\"$(abs_top_srcdir)/test\" \ | |
+ -DROOTHOMEDIR=\"$(roothomedir)\" \ |
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
<div> | |
<ul class="lasmer"> <li> <a href="http://www.di.se/artiklar/2016/5/16/ranteangest-drabbar-farre/" id="related-article-item-1" class="recommendation-placeholder"><em><strong>LÄS MER: Ränteångest drabbar färre</strong></em></a> </li> </ul> | |
<p><strong>Marknaden har nu</strong> gått in i sommarstiltje och utbudet har fallit kraftigt efter stora försäljningsvolymer i maj inför att amorteringskravet skulle införas. I maj sjönk priserna med 3 procent för bostadsrätter i Stockholm enligt statistik från Valueguard – den största nedgången sedan hösten 2008. I Stockholms innerstad har priserna stått stilla sedan i höstas.</p> | |
<p><strong>Amorteringskravet och brexit</strong> bidrar till minskad optimism, konstaterar Per-Arne Sandegren.</p><ul class="lasmer"> <li> <a href="http://www.di.se/artiklar/2016/5/26/fi-larmar-banker/" id="related-article-item-2" class="recommendation-placeholder"><em><strong>LÄS MER: FI larmar ba |
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
# systemd-cgtop --depth=10 --cpu=time | |
Path Tasks CPU Time Memory Input/s Output/s | |
/ - 9h 39min 35.143235s 56.0G - - | |
/docker - 2h 18min 8.824526s 1.1G - - | |
/docker/6617d0347f3dbc15374020bf828fef6edccdac1ba371a0625ffeb113e2b04b58 3 2h 16min 10.604800s 1.1G - - | |
/docker/6617d0347f3dbc15374020bf828fef6edccdac1ba371a0625ffeb113e2b04b58/system.slice |
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
bash-4.3# ./cadvisor --logtostderr --port=8081 | |
I0722 15:17:46.509166 1814 storagedriver.go:50] Caching stats in memory for 2m0s | |
I0722 15:17:46.509519 1814 manager.go:138] cAdvisor running in container: "/docker/905e57d8fa7c9d69e5b1eef9ea9b8766f57fb3dd86e9c05a267d34e38d769635" | |
W0722 15:17:46.510143 1814 manager.go:142] Unable to connect to Docker: Cannot connect to the Docker daemon. Is the docker daemon running on this host? | |
W0722 15:17:46.511665 1814 manager.go:146] unable to connect to Rkt api service: rkt: cannot tcp Dial rkt api service: dial tcp [::1]:15441: getsockopt: connection refused | |
I0722 15:17:46.513084 1814 fs.go:139] Filesystem partitions: map[/dev/loop0:{mountpoint:/ major:0 minor:35 fsType:btrfs blockSize:0}] | |
I0722 15:17:46.531825 1814 manager.go:192] Machine: {NumCores:16 CpuFrequency:2294471 MemoryCapacity:169369563136 MachineID:855598f383e14ecc9529e06e70139508 Sy |
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
#include <stdlib.h> | |
#include <stdio.h> | |
#include <glob.h> | |
int main(int argc, char *argv[]) { | |
glob_t globbuf; | |
glob("./test.[0-9]*.ctl", GLOB_NOSORT, NULL, &globbuf); |
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
Build System for openswitch | |
Platform: genericx86-64 | |
Building fs (openswitch-disk-image)... | |
Loading cache: 100% |################################################################################################################################################################| ETA: 00:00:00 | |
Loaded 1604 entries from dependency cache. | |
Parsing recipes: 100% |##############################################################################################################################################################| Time: 00:00:02 | |
Parsing of 1111 .bb files complete (1107 cached, 4 parsed). 1610 targets, 212 skipped, 0 masked, 0 errors. |
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
[openswitch]$ gcc -shared -fPIC getpwnam-preload.c -o getpwnam.so -ldl [~] | |
[openswitch]$ gcc getpwnam.c -o getpwnam [~] | |
[openswitch]$ ./getpwnam bluecmd [~] | |
name: bluecmd | |
uid: 1000 | |
[openswitch]$ ./getpwnam bluecmd-test [~] | |
getpwnam: Success | |
[openswitch]$ LD_PRELOAD=$PWD/getpwnam.so ./getpwnam bluecmd [~] | |
name: bluecmd | |
uid: 1000 |
OlderNewer