This file contains hidden or 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
    
  
  
    
  | <?php | |
| class DefaultController extends Controller | |
| { | |
| /** | |
| * Dashboard page. | |
| * @Permissions(perm="dashboard_view") | |
| * @Route("/", name="ITEDashboardBundle_index") | |
| * @Template() | |
| * @return array | 
  
    
      This file contains hidden or 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
    
  
  
    
  | # Клонируем исходный репозиторий без рабочего каталога (--bare) | |
| git clone --bare https://github.com/exampleuser/old-repository.git | |
| cd old-repository.git | |
| # Делаем mirror-push(будут скопированы все ветки и тэги) в новый репозиторий | |
| git push --mirror https://github.com/exampleuser/new-repository.git | |
| cd .. | |
| # Удаляем папку с репозиторием | 
  
    
      This file contains hidden or 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
    
  
  
    
  | <?php | |
| namespace MyPageBundle\Form; | |
| use Symfony\Component\Form\AbstractType; | |
| use Symfony\Component\Form\FormBuilderInterface; | |
| use Symfony\Component\OptionsResolver\OptionsResolver; | |
| use Symfony\Component\Validator\Constraints as Assert; | |
| class TestType extends AbstractType | 
  
    
      This file contains hidden or 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
    
  
  
    
  | <?php | |
| namespace Acme\HotsiteBundle\EventListener; | |
| use Acme\HotsiteBundle\Controller\HotsiteSignedController; | |
| use Symfony\Component\HttpKernel\Event\FilterControllerEvent; | |
| use Symfony\Component\HttpFoundation\Session\Session; | |
| use Symfony\Component\HttpFoundation\RedirectResponse; | 
  
    
      This file contains hidden or 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
    
  
  
    
  | # Set inotify watch limit high enough for IntelliJ IDEA (PhpStorm, PyCharm, RubyMine, WebStorm). | |
| # Create this file as /etc/sysctl.d/60-jetbrains.conf (Debian, Ubuntu), and | |
| # run `sudo service procps start` or reboot. | |
| # Source: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit | |
| # | |
| # More information resources: | |
| # -$ man inotify # manpage | |
| # -$ man sysctl.conf # manpage | |
| # -$ cat /proc/sys/fs/inotify/max_user_watches # print current value in use | 
  
    
      This file contains hidden or 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
    
  
  
    
  | #! /bin/sh | |
| # Installation | |
| # - Move this to /etc/init.d/myservice | |
| # - chmod +x this | |
| # | |
| # Starting and stopping | |
| # - Start: `service myservice start` or `/etc/init.d/myservice start` | |
| # - Stop: `service myservice stop` or `/etc/init.d/myservice stop` | 
- точно в этой последовательности выполняем в терминале:
# hda-verb /dev/snd/hwC0D0 0x20 0x500 0x1b
# hda-verb /dev/snd/hwC0D0 0x20 0x477 0x4a4b
# hda-verb /dev/snd/hwC0D0 0x20 0x500 0xf
# hda-verb /dev/snd/hwC0D0 0x20 0x477 0x74
- Что бы это исправление сделать постоянным пишем скрипт для systemd - выполняется при загрузке.
/api/v2/academy/block/recommendations             -> /api/v2/academy/profile/dashboard/block/recommendations
/api/v2/analytics-document/block/recommendations  -> /api/v2/analytics-document/profile/dashboard/block/recommendations
/api/v2/news/block/recommendations                -> /api/v2/news/profile/dashboard/block/recommendations
/api/v2/news/expert-opinion/list                  -> /api/v2/news/profile/dashboard/experts-opinions
/api/v2/event/announcements                       -> /api/v2/event/profile/dashboard/announcements
/api/v2/project/block/recommendations/initiatives -> /api/v2/project/profile/dashboard/block/recommendations/initiatives
/api/v2/project/block/recommendations             -> /api/v2/project/profile/dashboard/block/recommendations
/api/v2/project/tab/for-current-user              -> /api/v2/project/profile/tab/my-projects/all
                                                     /api/v2/project/profile/tab/my-projects/author
OlderNewer