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 zeroWidthCharRegexes = ['%EF%BB%BF', '%E2%80%8B', '%E2%80%8C'] |
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
| /** | |
| * Dependencies. | |
| */ | |
| var Hapi = require('hapi'); | |
| // Create a new server | |
| var server = new Hapi.Server(); | |
| // Setup the server with a host and port | |
| server.connection(); |
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
| id"; | |
| $icon-font-path: "../fonts/"; | |
| @import "../bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap-sprockets"; | |
| $icon-font-path: "../fonts/"; | |
| //** File name for all font files. | |
| $icon-font-name: "glyphicons-halflings-regular" !default; | |
| //** Element ID within SVG icon file. |
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
| # You have your csv data and it looks like so... It's in a file named "my_data.csv" and we want to import it into a table named "my_things". | |
| "1", "Something", "0.50", "2013-05-05 10:00:00" | |
| "2", "Another thing", "1.50", "2013-06-05 10:30:00" | |
| # Now you want to import it, go to the command line and type: | |
| $ PGPASSWORD=PWHERE psql -h HOSTHERE -U USERHERE DBNAMEHERE -c "\copy my_things FROM 'my_data.csv' WITH CSV;" | |
| # Voila! It's impoted. Now if you want to wipe it out and import a fresh one, you would do this: |
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
| /** | |
| * For the brave souls who get this far: You are the chosen ones, | |
| * the valiant knights of programming who toil away, without rest, | |
| * fixing our most awful code. To you, true saviors, kings of men, | |
| * I say this: never gonna give you up, never gonna let you down, | |
| * never gonna run around and desert you. Never gonna make you cry, | |
| * never gonna say goodbye. Never gonna tell a lie and hurt you. | |
| */ |
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
| <div class="pie percent_8" data-percent="8"> | |
| <div class="left"> | |
| <span></span> | |
| </div> | |
| <div class="right"> | |
| <span></span> | |
| </div> | |
| </div> |