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
| package main | |
| import "fmt" | |
| func main() { | |
| l := []string{"eat", "tea", "tan", "ate", "nat", "bat"} | |
| fmt.Printf("%v\n", groupAnagrams(l)) | |
| } |
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
| Start-Service ssh-agent | |
| ssh-add.exe <ssh-key> |
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
| const videoMachine = Machine({ | |
| id: 'video', | |
| initial: 'loading', | |
| context: { | |
| video: null, | |
| elapsed: 0, | |
| duration: 0, | |
| }, | |
| states: { | |
| loading: { |
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
| const signInMachine = Machine({ | |
| id: 'signIn', | |
| initial: 'ready', | |
| states: { | |
| ready: { | |
| type: 'parallel', | |
| states: { | |
| email: { | |
| initial: 'noError', | |
| states: { |
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
| sudo raspi-config | |
| sudo localedef -f UTF-8 -i en_US en_US.UTF-8 |
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
| call plug#begin('~/.vim/plugged') | |
| Plug 'scrooloose/nerdtree' | |
| Plug 'itchyny/lightline.vim' | |
| Plug 'tpope/vim-surround' | |
| Plug 'raimondi/delimitmate' | |
| Plug 'tpope/vim-endwise' | |
| Plug 'wincent/command-t' | |
| Plug 'yggdroot/indentline' | |
| Plug 'tomtom/tcomment_vim' |
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 remote add staging git@heroku.com:<app-name>.git |
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
| server { | |
| index index.php index.html; | |
| server_name localhost; | |
| error_log /var/log/nginx/error.log; | |
| access_log /var/log/nginx/access.log; | |
| root /usr/share/nginx/html/public; | |
| location / { | |
| try_files $uri $uri/ /index.php?$query_string; | |
| } |
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
| FROM elixir:1.6-alpine | |
| RUN mkdir -p /home/app | |
| WORKDIR /home/app | |
| RUN mix archive.install \ | |
| https://github.com/phoenixframework/archives/raw/master/phx_new.ez --force | |
| COPY . ./ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder