https://benmccormick.org/2015/09/14/es5-es6-es2016-es-next-whats-going-on-with-javascript-versioning/
- ES5, ES6, ES2016, ES.Next: What's going on with JavaScript versioning?
- Learn ES2015 · Babel
#!/usr/bin/env python | |
# Knuth-Morris-Pratt demonstration | |
# Kyle Gorman <[email protected]> | |
# | |
# A naive Python implementation of a function that returns the (first) index of | |
# a sequence in a supersequence is the following: | |
def subsequence(needle, haystack): | |
""" | |
Naive subsequence indexer; None if not found |
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" |
var p=(playlist.series===undefined)?playlist.videos:playlist.series; p.forEach(function(s){s.sources.forEach(function(f){console.log(f.file)})}) |
<?php | |
/** | |
* TVarDumper class file | |
* | |
* @author Qiang Xue <[email protected]> | |
* @link http://www.pradosoft.com/ | |
* @copyright Copyright © 2005-2013 PradoSoft | |
* @license http://www.pradosoft.com/license/ | |
* @version $Id$ | |
* @package System.Util |
# best practice: linux | |
nano ~/.pgpass | |
*:5432:*:username:password | |
chmod 0600 ~/.pgpass | |
# best practice: windows | |
edit %APPDATA%\postgresql\pgpass.conf | |
*:5432:*:username:password | |
# linux |
# best practice: linux | |
nano ~/.pgpass | |
*:5432:*:username:password | |
chmod 0600 ~/.pgpass | |
# best practice: windows | |
edit %APPDATA%\postgresql\pgpass.conf | |
*:5432:*:username:password | |
# linux |
<?php | |
/** | |
* TVarDumper class file | |
* | |
* @author Qiang Xue <[email protected]> | |
* @link http://www.pradosoft.com/ | |
* @copyright Copyright © 2005-2013 PradoSoft | |
* @license http://www.pradosoft.com/license/ | |
* @version $Id$ | |
* @package System.Util |
Make sure these boxes are checked before submitting/approving the PR
Пример: https://uzlatin.com (работает неправильно) | |
https://latin.uz (работает частично правильно) https://matn.uz (почти без ошибок). | |
Присылайте ТОЛЬКО ссылку на публичный github проект. (архив или просто код не принимается, будет обсуждение решения задачи в github) | |
1) Нужно реализовать функции - конвертер для латиницы/кириллицы узбекского языка (туда и обратно). Нужны правильные функции (cyrLat, latCyr) и ТЕСТЫ для них (конвертировать пока только слова). | |
2) Добавить словарь неправильных слов, эти слова конвертируются не по общему правилу | |
3) Добавить unit тесты на данные слова (неправильные слова добавляются в словарь) | |
цирк - sirk | |
sirk - цирк (сирк неправильно) | |
салом - salom | |
salom - салом |