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
[ 239.598028] custom sys call! | |
[ 239.598035] process id: 1. | |
[ 239.598038] process name: systemd | |
[ 239.598040] 0xb708a000, 0xb70cb000 | |
page frames of the interval : | |
[ 239.598044] pfn: 380231, pfa: 0x5cd47000 | |
[ 239.598046] pfn: 378019, pfa: 0x5c4a3000 | |
[ 239.598073] 0xb70cb000, 0xb70d6000 /usr/lib/libnss_files-2.18.so | |
page frames of the interval : |
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
obj-m += project_mod.o | |
all: | |
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules | |
clean: | |
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean |
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
#!/usr/bin/env python | |
""" | |
classify.py is an out-of-the-box image classifer callable from the command line. | |
By default it configures and runs the Caffe reference ImageNet model. | |
""" | |
import numpy as np | |
import pandas as pd | |
import os | |
import sys |
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
... | |
Installing pg 0.18.2 with native extensions | |
Gem::Ext::BuildError: ERROR: Failed to build gem native extension. | |
/Users/joy/.rubies/ruby-2.2.0/bin/ruby -r ./siteconf20150803-48365-1i2yvfa.rb extconf.rb | |
checking for pg_config... no | |
No pg_config... trying anyway. If building fails, please try again with | |
--with-pg-config=/path/to/pg_config | |
checking for libpq-fe.h... no |
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
% plot demo | |
t=[0:0.01:0.98]; | |
y1 = sin(2*pi*4*t); | |
y2 = cos(2*pi*4*t); | |
plot(t,y1); | |
hold on; | |
plot(t,y2,'r'); | |
xlabel('time'); | |
ylabel('value'); | |
legend('sin','cos'); |
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
$ > brew info gnuplot | |
gnuplot: stable 5.0.1 (bottled), HEAD | |
Command-driven, interactive function plotting | |
http://www.gnuplot.info | |
... | |
$ > brew search gnuplot | |
gnuplot (installed) | |
homebrew/versions/gnuplot4 |
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
% figure demo | |
A = magic(5); | |
figure(1),imagesc(A); | |
title('figure 1'); | |
print -dpng 'magicImagescInFigure1.png'; | |
figure(2),imagesc(A),colormap gray; | |
title('figure 2'); | |
print -dpng 'magicImagescGrayInFigure2.png'; | |
% clean and close figure2 | |
clf; |
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
% imagesc demo | |
A = magic(5); | |
imagesc(A); | |
title('magic imagesc'); | |
print -dpng 'magicImagesc.png'; | |
% imagesc with color bar | |
imagesc(A),colorbar; | |
title('magic imagesc with colorbar'); | |
print -dpng 'magicImagescWithColorbar.png'; | |
% imagesc with color bar, gray colormap |
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
% subplot demo | |
t=[0:0.01:0.98]; | |
y1 = sin(2*pi*4*t); | |
y2 = cos(2*pi*4*t); | |
subplot(1,2,1); | |
plot(t,y1); | |
title('my subplot 1'); | |
subplot(1,2,2); | |
plot(t,y2); | |
axis([0.5 1 -1 1]); |
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
#ifndef ENTITY_ROLE_ROLE | |
#define ENTITY_ROLE_ROLE | |
... | |
#endif // ENTITY_ROLE_ROLE |
OlderNewer