пятница, 18 июля 2014 г.

Системы резервного копирования


  1. BittorrentSync
  2. CrashPlan
    конфиг бэкап сетов хранится здесь: "C:\Documents and Settings\All Users\Application Data\CrashPlan\conf\"

четверг, 17 июля 2014 г.

Упрощенная миграция с SVN на Hg на Windows


  1. Поставить TortoiseHG
  2. Активировать в меню File\Settings\Extensions расширение Convert
  3. Провести процедуру конвертации

Converting the repository 

Mercurial come with an extension called “convert” that does just that: converting a non-Mercurial repository into a Mercurial repository.
First, the new Mercurial repository must be created (Windows commands work the same way):
$ hg init /path/to/new/repos
After that, converting the repository is as simple as that:
$ hg convert --datesort path/to/svnrepos path/to/hgrepos
And that’s it.

  1. Создать пустой репозиторий в Bitbucket
  2. Создать путь в файле настроек TortoseHG (Settings\Edit File)
  3. Push
  4. Есть возможность сделать репозитории из поддиректорий (Convert a subdirectory into a subrepository)

Есть проблема с именами файлов (связано с поддержкой кроссплатформенных чекаутов)

Problem with Unicode file names under Windows

June 28, 2012  http://manski.net/2010/10/migrating-from-subversion-to-mercurial/
March 24, 2011 http://blogs.atlassian.com/2011/03/goodbye_subversion_hello_mercurial/
28th Jul 2013  http://paazmaya.com/migrating-subversion-to-mercurial
Sep 11, 2011   http://code.google.com/p/support/wiki/ConvertingSvnToHg
Jan 9, 2014    http://sergevideo.blogspot.ru/2014/01/migrating-from-svn-to-git.html
2014-02-18     http://www.catb.org/esr/dvcs-migration-guide.html

пятница, 27 июня 2014 г.

Распределенные системы контроля версий

Mercurial HG

  • HGinit -- Joel Spolsky' tutorial
  • Bitbucket.org -- HG\GIT репозиторий

Создание репозитория


  1. Проще создать сначала на bitbucket, а потом склонировать к себе

Импорт существующего репозитория

среда, 4 июня 2014 г.

Инсталляция MikTeX 2.9

  • Win64
  • All users


  • Winedt 8.1 64 bit 
  • Admin Install (C:\Program Files\WinEdt Team\WinEdt 8). 
  • Enable User Profile creation


Решение проблемы с визуализацией в yap:
  • When you see the file in YAP viewer, go to view->render and change it to "dvips" 
  • In YAP viewer goto view->options->display->default render method and change it to Dvips 
Here are a few possible explanations: 

 (1) The tex executable has a bug. 
 (2) The DVI viewer has a bug. 
 (3) The DVI viewer's configuration file (if any) contains 
     an error (this is really a subitem of (1) unless one 
     edits that file oneself). 
 (4) The DVI file has become corrupted. 
 (5) The DVI file contains a \special not recognized 
     by the DVI viewer (or not in the format expected). 

I have encountered all of these. I see (5) on a regular 
basis and ignore it. But I have also induced (3) more 
than a few times through experimentation (with an old 
viewer called windvi). I have seen (4) in downloaded 
files, and have reported bugs in class (1) and (2) a couple 
of times over the years. 

However, with all the different TeX engines around now, 
I suppose it is also possible a "non-standard" DVI file 
could be created by one of them, and that a viewer might 
have a problem with that. 

Finally, if a viewer needs to read a .map file for fonts, 
it might encounter an invalid line in it. It is also 
conceivable mktexpk might be reporting an error in bitmap 
font generatio


      четверг, 13 февраля 2014 г.

      Воспитание Word


      Размер текста выноски определяется размером шрифта, который используется в стиле «Текст выноски».
      1. Выберите в меню Формат команду Стили и форматирование.
      2. В группе Выберите форматирование для применения щелкните правой кнопкой мыши запись Текст выноски и выберите команду Изменить.
      Если стиль «Текст выноски» отсутствует в списке, отобразите его.
      1. Выберите нужные параметры.
      2. Чтобы просмотреть дополнительные параметры, нажмите кнопку Формат, а затем выберите атрибут, который требуется изменить.
      После изменения атрибута нажмите кнопку OK, а затем измените таким же образом остальные атрибуты.
      Примечания
      • Изменение стиля «Текст выноски» также влияет на отображение текста в области проверки.
      • За исключением размера шрифта, текст в выносках для вставленных или удаленных элементов будет отображаться так же, как он отображается в документе.

      четверг, 30 января 2014 г.

      Изыскания по R


      • RStudio v0.98.501 — January 29th, 2014
        Environment Pane
        •Use str() for displaying object values
        Теперь переменные открываются не в текстовом редакторе, а в окне в усеченном виде. Показывает сводку по структуре (в отличии от ранее открывавшегося во внешнем файле текстового представления всей переменной)
      • Функции для отображения данных: str(), summary(), ls.str()ls()
      • Полный вывод: dput(),
      • Если данных не хватает в исходном источнике, то ts начинает гнать по кругу и добивает недостающие не NA, а данными с начала источника
      • Смена языка вывода сообщений в консоли: 

        How to change language setting of R on Windows

        I read FAQ on CRAN, but it was a bit confusing to a novice like me.  So here is the screenshot.  First, go to the "etc" folder under R program files folder.  Then locate Rconsole file. Find the line "language =  ", change it to "language = en"  if you want to run R in English. Save the file. Windows (I am using Windows 7.)  told me that I have no permission to change the Rconsole file and that I should contact the administrator. Thank you. !  I am the administrator/user.  I had to right click on the Rconsole file icon, select Property and grant a permission to modify the file to myself, the user. 
      • Установка паузы при выводе графиков ("Hit to see next plot")
        par(ask = TRUE). Если правильно понимаю, то это все работает для девайса вплоть до перезагрузки (в RStudio).
      • Смена языка вывода сообщений в коде: 
      You can set this using the Sys.setenv() function. My R session defaults to English, so I'll set it to French and then back again:
      > Sys.setenv(LANG = "fr")
      > 2 + x
      Erreur : objet 'x' introuvable
      > Sys.setenv(LANG = "en")
      > 2 + x
      Error: object 'x' not found
      • Красивая тема для ggplot2:
        Thanks! Yup, it's a custom theme (a work in progress). You can find it here: https://github.com/noamross/no...
        Glad it's useful. Note you can get "Lato Light" from Google Web Fonts, and you may want the R package "extrafont" to get the font into PDF figures.
      Визуализация графиков

      среда, 11 декабря 2013 г.