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
#!/usr/bin/env python3 | |
"""Porter Stemming Algorithm | |
This is the Porter stemming algorithm, ported to Python from the | |
version coded up in ANSI C by the author. It may be be regarded | |
as canonical, in that it follows the algorithm presented in | |
Porter, 1980, An algorithm for suffix stripping, Program, Vol. 14, | |
no. 3, pp 130-137, |
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
option_settings: | |
aws:elasticbeanstalk:container:nodejs: | |
NodeCommand: "npm start" | |
ProxyServer: apache | |
GzipCompression: true | |
files: | |
"/opt/elasticbeanstalk/hooks/appdeploy/post/00_set_tmp_permissions.sh": | |
mode: "000755" | |
owner: root | |
group: root |
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
import YourPage from "../components/YourPage"; | |
class Root extends Component { | |
renderScene(route, navigator) { | |
let renderedScene; | |
switch (route.id) { | |
case "dashboard": { | |
renderedScene = ( | |
<Dashboard /> | |
); |