Note: here is a list (not complete) of valuable resources used on Grammarly web projects. Here, you may find our public talks and blog posts.
// very bad
Functional programming with fp-ts by its author Giulio Canti
This file contains 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
### Quiz: | |
1. What is result of next line of code? | |
typeof null | |
Answer: | |
* `null` | |
* `object` | |
* `undefined` |
This file contains 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
sudo port install git-core +bash_completion | |
if [ -f /opt/local/etc/bash_completion ]; then | |
. /opt/local/etc/bash_completion | |
fi | |
GIT_PS1_SHOWDIRTYSTATE=true | |
PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;33m\]\w\[\033[00m\]\[\033[01;31m\]$(__git_ps1 " {%s}")\[\033[00m\]\$ ' |
This file contains 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
sudo apt-get install libonig-dev | |
gem install oniguruma |
This file contains 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
/* https://www.npmjs.com/package/webpack-watch-livereload-plugin | |
* in webpack.config: | |
* new WatchLiveReloadPlugin({ | |
* files: ['./dist'] | |
* }) | |
* | |
* somewhere in index.ts | |
* if (process.env.NODE_ENV === 'development') { | |
* require('./livereload')() | |
* } |
- Gem parallel_tests
- add to config/database.yml:
test:
database: yourproject_test<%= ENV['TEST_ENV_NUMBER'] %>
- Parallel tests with Cucumber:
This file contains 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 | |
# | |
# Automatically adds ticket name to every commit message | |
# when branch name starts with "XX-00" | |
# | |
# Don't change message when it already contains any ticket name.# | |
# | |
# Don't do anything when in merge - https://git-scm.com/docs/githooks#_prepare_commit_msg | |
[ -f $GIT_DIR/MERGE_MSG ] && exit 0 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder