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 React from 'react' | |
| import { | |
| withRouter, | |
| Switch, | |
| Route, | |
| Redirect, | |
| BrowserRouter as Router | |
| } from 'react-router-dom' | |
| import { Auth } from 'aws-amplify' |
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
| cat > /tmp/subscript.sh << EOF | |
| # START UBUNTU USERSPACE | |
| echo "Setting up NodeJS Environment" | |
| curl https://raw.githubusercontent.com/creationix/nvm/v0.25.0/install.sh | bash | |
| echo 'export NVM_DIR="/home/ubuntu/.nvm"' >> /home/ubuntu/.bashrc | |
| echo '[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm' >> /home/ubuntu/.bashrc | |
| # Dot source the files to ensure that variables are available within the current shell |
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 React, { Component } from 'react'; | |
| class LoginForm extends Component { | |
| constructor(props) { | |
| super(props); | |
| this.state = { | |
| email: '', | |
| password: '' | |
| }; | |
| } |
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
| tags | |
| .swp |
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
| # Output debugging info | |
| # loglevel: debug | |
| # Major version of Bootstrap: 3 or 4 | |
| bootstrapVersion: 4 | |
| # If Bootstrap version 4 is used - turn on/off flexbox model | |
| useFlexbox: true | |
| # Webpack loaders, order matters |
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
| ############################################################################### | |
| # HTML | |
| ############################################################################### | |
| snippet option "option" b | |
| <option value="${1:default}">${2}</option>${0} | |
| endsnippet | |
| ############################################################################### | |
| # ANGULAR | |
| ############################################################################### | |
| snippet ngmodel "ngModel" |
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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <netdb.h> | |
| #include <netinet/in.h> | |
| #include <string.h> | |
| #include <unistd.h> | |
| /* adapted from http://www.cs.rpi.edu/~moorthy/Courses/os98/Pgms/socket.html */ | |
| int main(int argc, char *argv[]) { |
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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <strings.h> | |
| #include <unistd.h> | |
| #include <sys/types.h> | |
| #include <sys/socket.h> | |
| #include <netinet/in.h> | |
| /* adapted from http://www.cs.rpi.edu/~moorthy/Courses/os98/Pgms/socket.html */ |
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
| # Copyright (C) 2014 Google Inc. | |
| # | |
| # This file is part of ycmd. | |
| # | |
| # ycmd is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. | |
| # | |
| # ycmd is distributed in the hope that it will be useful, |
NewerOlder