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
| #GIT REBASE FLOW | |
| #Git Rebase Workflow | |
| #Then, to use the Git Rebase workflow, you can try : | |
| # Checkout the Feature branch. | |
| # $ git checkout feature/1 | |
| # Rebase the Feature branch onto "master" the interactive way. | |
| # $ git rebase -i master |
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
| # Ошибка/Error | |
| $ sudo apt-get update | |
| sudo: error in /etc/sudo.conf, line 0 while loading plugin "sudoers_policy" | |
| sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner | |
| sudo: fatal error, unable to load plugins | |
| # Решение/solved | |
| # Запускаем cmd и вводим |
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
| import R from 'ramda'; | |
| const items = [ | |
| {id: 1, name: 'Al', country: 'AA'}, | |
| {id: 2, name: 'Connie', country: 'BB'}, | |
| {id: 3, name: 'Doug', country: 'CC'}, | |
| {id: 4, name: 'Zen', country: 'BB'}, | |
| {id: 5, name: 'DatGGboi', country: 'AA'}, | |
| {id: 6, name: 'Connie', country: 'AA'}, | |
| ]; |
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
| export default { | |
| // Включает абстрактный компонент во Vue. | |
| // Это свойство не задокументировано и может измениться в любой момент, | |
| // но ваш компонент должен работать без него. | |
| abstract: true, | |
| // Входные параметры отлично работают в абстрактных компонентах! | |
| props: { | |
| threshold: { | |
| type: 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
| input:-webkit-autofill, | |
| input:-webkit-autofill:hover, | |
| input:-webkit-autofill:focus | |
| input:-webkit-autofill, | |
| textarea:-webkit-autofill, | |
| textarea:-webkit-autofill:hover | |
| textarea:-webkit-autofill:focus, | |
| select:-webkit-autofill, | |
| select:-webkit-autofill:hover, | |
| select:-webkit-autofill:focus { |
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
| location = location | |
| ... and a 534 other ways to reload the page with JavaScript | |
| location = location | |
| location = location.href | |
| location = window.location | |
| location = self.location | |
| location = window.location.href | |
| location = self.location.href |
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
| -- 10.13 rus | |
| on assistive_access_check() | |
| tell application "System Events" | |
| if not (UI elements enabled) then | |
| return false | |
| else | |
| return true | |
| end if | |
| end tell |
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
| // В ipad media-query в албомном режиме определяет свою ширину как 768px, | |
| // хотя должно быть 1024px. Хак решающий этот баг | |
| @media (orientation:landscape) and (min-device-height:1000px), all and (min-width:1000px) { | |
| // css | |
| } |
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(d) { | |
| var wf = d.createElement('script'), s = d.scripts[0]; | |
| wf.src = '/bower_components/webfontloader/webfontloader.js'; | |
| s.parentNode.insertBefore(wf, s); | |
| })(document); |
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
| var sql1 = "SET CHARACTER SET utf8"; | |
| connection.query(sql1, function (err, result) { | |
| var sql = "SET SESSION collation_connection ='utf8_general_ci"; | |
| connection.query(sql, function (err, result) { | |
| }); | |
| }); |
NewerOlder