Search This Blog

Tuesday, December 31, 2013

Disable warning that iOS message app asks to disable airplane mode

Using iFile,
1. Edit /var/stash/Applications.xxxx/MobileSMS.app/Info.plist (on my iPhone /Applications is linked to the correct .xxxx)
2. Change SBUsesNetwork~iphone from 20 to 2
3. Save
4. Respring

Ref. http://modmyi.com/forums/file-mods/809642-airplane-mode-pop-up-driving-me-nuts.html

Wednesday, December 18, 2013

Mactex for USletter

Need to change the following file:


/usr/local/texlive/2013/texmf-dist/tex/latex/vmargin/vmargin.sty

Change the default setting in the following way:

% Fixed for USletter paper size
%\setpapersize{A4}
\setpapersize{USletter}
\def\@hf@dflt{}
\@ifundefined{DeclareOption}{
}{
  \DeclareOption{shiftmargins}{\shiftmargins}
  \DeclareOption{portrait}{\Landscapefalse}
  \DeclareOption{landscape}{\Landscapetrue}
  \DeclareOption{nohf}{\def\@hf@dflt{y}}
  \DeclareOption*{\@@@setps{\CurrentOption}}
  \ProcessOptions\relax  % process options in order of declaration!
}
\if y\@hf@dflt
  \setmargnohfrb{35mm}{20mm}{25mm}{15mm}%
\else
% Fixed for USletter paper size
%  \setmarginsrb{35mm}{20mm}{25mm}{15mm}{12pt}{11mm}{0pt}{11mm}%
  \setmarginsrb{1in}{1in}{1in}{1in}{0pt}{0mm}{0pt}{0mm}%

Blog Archive