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
| function! s:setup_insmode() | |
| inoremap <buffer> <silent> <nowait> <Esc> <C-r>=lexima#insmode#escape()<CR><Esc> | |
| endfun | |
| function! Multiple_cursors_before() | |
| let b:lexima_disabled = 1 | |
| silent! iunmap <buffer> <esc> | |
| augroup lexima | |
| au! | |
| augroup END | |
| endfunction |
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
| WITH RECURSIVE lectures AS ( | |
| SELECT lessons.id, title, ancestry, section_id, lessons.position FROM lessons | |
| JOIN sections ON sections.id = section_id AND sections.deleted_at IS NULL | |
| WHERE lessons.course_id = ? AND lessons.deleted_at IS NULL | |
| ORDER BY ancestry ASC NULLS FIRST, sections.position ASC, sections.created_at ASC, lessons.position ASC | |
| ), | |
| nodes AS ( | |
| SELECT ARRAY[section_id] AS path, * FROM lectures | |
| WHERE ancestry IS NULL |
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
| <style> | |
| .button.is-primary, | |
| .button.is-primary:hover, | |
| .button.is-primary:active, | |
| .button.is-primary:disabled { | |
| background-color: red; /* COR DO BOTÃO */ | |
| } | |
| .notification.is-info { | |
| background-color: blue; /* COR DA CAIXA */ |
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
| gonano@data.db.5.1:/data $ aws | |
| Traceback (most recent call last): | |
| File "/data/bin/aws", line 19, in <module> | |
| import awscli.clidriver | |
| File "/data/lib/python2.7/site-packages/awscli/c | |
| import botocore.session | |
| File "/data/lib/python2.7/site-packages/botocore | |
| import botocore.configloader | |
| File "/data/lib/python2.7/site-packages/botocore | |
| from botocore.compat import six |
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
| module KeyMapping | |
| def self.included(base) | |
| base.instance_variable_set(:@key_mappings, {}) | |
| base.extend(ClassMethods) | |
| base.send(:include, InstanceMethods) | |
| end | |
| module ClassMethods | |
| attr_reader :key_mappings |
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
| ✓ Pulling nanobox/build:feature_release-2017-11 image | |
| ✓ Starting docker container | |
| ✓ Preparing environment for build | |
| ✓ Gathering requirements | |
| ✓ Mounting cache_dirs | |
| ! Installing binaries and runtimes | |
| - Installing packages : | |
| calculating dependencies... done. | |
| nothing to upgrade. |
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
| Building runtime : | |
| ✓ Starting docker container | |
| ! Preparing environment for build | |
| - Copying ssh keys into the build environment... | |
| - Setting up directories and permissions... | |
| - Cloning engine : | |
| Cloning into 'engine'... | |
| remote: Counting objects: 869, done. | |
| remote: Total 869 (delta 0), reused 0 (delta 0), pack-reused 869 | |
| Receiving objects: 100% (869/869), 134.60 KiB | 48.00 KiB/s, done. |
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
| installing ImageMagick-7.0.5.1... | |
| pkg_install warnings: 0, errors: 4 | |
| pkg_install error log can be found in /data/var/db/pkgin/pkg_install-err.log | |
| reading local summary... | |
| processing local summary... | |
| marking nodejs-8.6.0 as non auto-removable | |
| marking nginx-1.12.0 as non auto-removable | |
| marking ImageMagick-7.0.5.1 as non auto-removable | |
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
| " Executa o buffer atual. | |
| :QuickRun | |
| " Executa o buffer atual da linha 3 até 6. | |
| :3,6QuickRun | |
| " Executa o buffer atual como um programa perl. | |
| :QuickRun perl | |
| " Executa código de uma única linha no modo command-line. |
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
| nnoremap <silent> <Leader><Leader> :Files<CR> | |
| nnoremap <silent> <Leader>b :Buffers<CR> | |
| nnoremap <silent> <Leader>. :Tags<CR> | |
| vnoremap <leader>a "zy:execute "Ag " . @z<cr> | |
| nnoremap <leader>a :Ag<Space> |