$ ifconfig
look for the entry for HWaddr,
6 groups of 2 hex characters
Thursday, January 29, 2015
Monday, January 26, 2015
ubuntu teamviewer black screen after unlock
In case after an unlock, the screen keeps dimming to black ...
Radical solution: System settings, Display, screensaver, disable sreensaver.
"May work" solution:
simply go to System settings, Display, screensaver, click anywhere in the application and exit. This will somehow update the config files and prevent further blinking during this session.
also, try to change the connection settings on the "controlling" machine:
tick "enable black screen if partner input is deactivated"
Radical solution: System settings, Display, screensaver, disable sreensaver.
"May work" solution:
simply go to System settings, Display, screensaver, click anywhere in the application and exit. This will somehow update the config files and prevent further blinking during this session.
also, try to change the connection settings on the "controlling" machine:
tick "enable black screen if partner input is deactivated"
Monday, January 12, 2015
LaTeX Labels for figures
When a label is declared within a float environment, the
\ref{...} will return the respective fig/table number, but it must occur after
the caption. When declared outside, it will give the section number. To
be completely safe, the label for any picture or table can go within
the \caption{} command, as in\caption{Close-up of a gull\label{fig:gull}}
Source: http://en.wikibooks.org/wiki/LaTeX/Labels_and_Cross-referencing
Saturday, January 10, 2015
update Adobe Flash Player in Kubuntu
You should just install the latest version from the Ubuntu
repositories. It is a lot easier and normally they keep this one
up-to-date with new Linux Flash releases.
To install it run the command
To install it run the command
sudo apt-get install flashplugin-installerSrc: http://askubuntu.com/questions/463295/how-to-update-adobe-flash-player-in-kubuntu-latest-update Tuesday, December 23, 2014
Firefox Register protocol
Firefox 3.5 and above
(Works without installed Gnome libraries)- Type about:config into the Location Bar (address bar) and press Enter.
- Right-click -> New -> Boolean -> Name: network.protocol-handler.expose.foo -> Value -> false (Replace foo with the protocol you're specifying)
- Next time you click a link of protocol-type foo you will be asked which application to open it with.
Friday, November 28, 2014
matlab fix bad ticks, fix plot print preview,
%%% nice tick format %%%%%%%%%%%%%%%%%%
% Query xTick numerical values.
yTick = get(gca,'yTick');
% Create strings out of yTick numerical values with a prescribed precision.
% The format string '%a.bf' means to present the values within a field that
% is wide enough to fit 'a' digits with 'b' digits after the decimal point
% in the format of a 'f'loating point number.
yTickLabel = arrayfun( @(y) sprintf('%1.3f',y), yTick, 'uniformoutput', false);
% Use xTickLabel on the plot.
set(gca, 'yTickLabel', yTickLabel);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
src: http://www.mathworks.com/matlabcentral/answers/103188-how-do-i-format-tick-labels
To prevent Matlab from messing it once again at the print level:
% Query xTick numerical values.
yTick = get(gca,'yTick');
% Create strings out of yTick numerical values with a prescribed precision.
% The format string '%a.bf' means to present the values within a field that
% is wide enough to fit 'a' digits with 'b' digits after the decimal point
% in the format of a 'f'loating point number.
yTickLabel = arrayfun( @(y) sprintf('%1.3f',y), yTick, 'uniformoutput', false);
% Use xTickLabel on the plot.
set(gca, 'yTickLabel', yTickLabel);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
src: http://www.mathworks.com/matlabcentral/answers/103188-how-do-i-format-tick-labels
To prevent Matlab from messing it once again at the print level:
Thursday, November 27, 2014
latex invisible section
Something like this:
\newcommand\invisiblesection[1]{%
\refstepcounter{section}%
\addcontentsline{toc}{section}{\protect\numberline{\thesection}#1}%
\sectionmark{#1}}
...
\invisiblesection{Blah}
http://tex.stackexchange.com/questions/68272/make-section-headings-invisible
Subscribe to:
Posts (Atom)
