-
Ensure turbolinks is disabled for good measure
- comment out gem
- remove from javascript asset pipeline
- remove from application layout
-
Add the following gems to Gemfile in a development, test group
hirb
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
| <h1>HTML Kitchen Sink</h1> | |
| <h2>a</h2> | |
| <a href="#">a</a> | |
| <br> | |
| <h2>abbr</h2> | |
| <abbr title="abbr">Mr. Mrs. Dr.</abbr> | |
| <br> |
This file has been truncated, but you can view the full 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
| { | |
| "a": "The first letter of the English and of many other alphabets.The capital A of the alphabets of Middle and Western Europe, as alsothe small letter (a), besides the forms in Italic, black letter,etc., are all descended from the old Latin A, which was borrowed fromthe Greek Alpha, of the same form; and this was made from the firstletter (Aleph, and itself from the Egyptian origin. The Aleph was aconsonant letter, with a guttural breath sound that was not anelement of Greek articulation; and the Greeks took it to representtheir vowel Alpha with the ä sound, the Phoenician alphabet having novowel symbols. This letter, in English, is used for several differentvowel sounds. See Guide to pronunciation, §§ 43-74. The regular longa, as in fate, etc., is a comparatively modern sound, and has takenthe place of what, till about the early part of the 17th century, wasa sound of the quality of ä (as in far).", |
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
| fa-adjust  \f042 | |
| fa-adn  \f170 | |
| fa-align-center  \f037 | |
| fa-align-justify  \f039 | |
| fa-align-left  \f036 | |
| fa-align-right  \f038 | |
| fa-ambulance  \f0f9 | |
| fa-anchor  \f13d | |
| fa-android  \f17b | |
| fa-angellist  \f209 |
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
| function * chunkGen(collection, size=2, i=0) { | |
| for (; i < collection.length; i += size) { | |
| yield collection.slice(i, i + size); | |
| } | |
| } | |
| function chunk(collection, size=1) { | |
| const chunked = []; | |
| const gen = chunkGen(collection, size); | |
| let c = gen.next(); |
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
| /** | |
| * Wanna FAFO what a jawn is? Use this function! | |
| * @param {*} jawn The jawn. Any jawn. | |
| * @returns {string} What the jawn is... | |
| */ | |
| function whatIsThisJawn(jawn) { | |
| let answer = 'Yo this jawn is'; | |
| if (jawn === undefined || jawn === null) { | |
| return `${answer} ${jawn}`; |
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 sqlite3 | |
| class Model: | |
| def __init__(self, db, table): | |
| self.db = db | |
| self.table = table | |
| self.connection = sqlite3.connect(db + '.db') | |
| self.connection.row_factory = sqlite3.Row | |
| def create(self, row): |
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 == []][0] + []][0][1]) + ([[0 == []][0] + []][0][1]) + ([[0 == []][0] + []][0][0]) + ([[] + [][0]][0][4]) + ([[] + [][0]][0][0]) + ([[1 == []][0] + []][0][2]) |
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
| function say(phrase) { | |
| speechSynthesis.speak(new SpeechSynthesisUtterance(phrase)); | |
| } | |
| // Ex. | |
| say('Happy Friday :)'); |
NewerOlder