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 flask import Flask | |
| app = Flask(__name__) | |
| @app.route('/') | |
| @app.route('/<path:url_path>') | |
| def index( url_path="" ): | |
| return url_path |
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
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Rivets [] -> li</title> | |
| </head> | |
| <body> | |
| <div id="template"> | |
| <li rv-each-todo="todo"> | |
| <input type="checkbox" rv-checked="todo.done"> |
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
| document.addEventListener( 'keydown' , function( event ){ | |
| if( event.keyCode == 8 ){ | |
| if( document.activeElement == null || document.activeElement === document.body ){ | |
| event.preventDefault(); | |
| } | |
| } | |
| } , false ); |
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
| echo "Project Name? " | |
| read project_name | |
| echo "Creating: $project_name" | |
| mkdir $project_name && cd $project_name | |
| mkvirtualenv $project_name | |
| pip install django | |
| pip install psycopg2 | |
| pip install gunicorn | |
| pip install dj-database-url |
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
| font_family|Amadeo_W01_Bold_SC | |
| ascent|532 | |
| descent|-468 | |
| units-per-em|1000 | |
| horiz-adv-x|410 | |
| !|172 | |
| #|557 | |
| $|459 | |
| %|542 | |
| &|281 |
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
| font_family|Century_Gothic_W15 | |
| ascent|781 | |
| descent|-220 | |
| units-per-em|1000 | |
| horiz-adv-x|563 | |
| |0 | |
| |277 | |
| !|295 | |
| "|309 | |
| #|720 |
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
| -1|04|64|84|Ko|Kò|Kó|Kô|Kõ|Kö|LS|LŠ|kg|vs|vš | |
| -10|BÆ|CÆ|tS|tŠ|ÇÆ | |
| -11|y:|ý:|ÿ: | |
| -12|A,|ff|rr|ta|tà|tá|tâ|tã|tä|tå|tæ|À,|Á,|Â,|Ã,|Ä,|Å, | |
| -13|ft|rn|rñ | |
| -14|Aa|Aà|Aá|Aâ|Aã|Aä|Aå|r-|r;|ri|rj|rx|Àa|Àà|Àá|Àâ|Àã|Àä|Àå|Áa|Áà|Áá|Áâ|Áã|Áä|Áå|Âa|Âà|Âá|Ââ|Âã|Âä|Âå|Ãa|Ãà|Ãá|Ãâ|Ãã|Ãä|Ãå|Äa|Äà|Äá|Äâ|Äã|Ää|Äå|Åa|Åà|Åá|Åâ|Åã|Åä|Åå | |
| -15|A.|À.|Á.|Â.|Ã.|Ä.|Å. | |
| -16|rp | |
| -17|rf|ru|rù|rú|rû|rü | |
| -18|v; |
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
| createjs.Graphics.prototype.dashedLineTo = function( x1 , y1 , x2 , y2 , dashLen ){ | |
| this.moveTo( x1 , y1 ); | |
| var dX = x2 - x1; | |
| var dY = y2 - y1; | |
| var dashes = Math.floor(Math.sqrt( dX * dX + dY * dY ) / dashLen ); | |
| var dashX = dX / dashes; | |
| var dashY = dY / dashes; | |
| var q = 0; |
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
| enum foo { | |
| A, | |
| B, | |
| C, | |
| D | |
| } |
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
| /build/app/app.ts(145,35): error TS1015: Parameter cannot have question mark and initializer. | |
| /build/app/app.ts(801,34): error TS1015: Parameter cannot have question mark and initializer. | |
| /build/app/managers/FontManager.ts(114,48): error TS1015: Parameter cannot have question mark and initializer. | |
| /build/app/managers/FontManager.ts(175,53): error TS1015: Parameter cannot have question mark and initializer. | |
| /build/app/managers/ServiceManager.ts(670,10): error TS1008: Unexpected token; 'constructor, function, accessor or variable' expected. | |
| /build/app/managers/ErrorManager.ts(66,37): error TS1015: Parameter cannot have question mark and initializer. | |
| /build/app/managers/ErrorManager.ts(70,39): error TS1015: Parameter cannot have question mark and initializer. | |
| /build/app/managers/ErrorManager.ts(74,36): error TS1015: Parameter cannot have question mark and initializer. | |
| /build/app/managers/ErrorManager.ts(78,37): error TS1015: Parameter cannot have question mark and initializer. | |
| /build/app/managers/ImageManager.ts |