A Pen by Captain Anonymous on CodePen.
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
- no more tab clutter | |
Preferences > Editor > General > Editor Tabs > Tab limit > 1 (instead of 10) | |
- disable spellchecker | |
Editor > Inspections > Spelling > Typo > disable everything | |
- disable auto-folding | |
Editor > General > Code Folding > Imports | |
Editor > General > Code Folding > HTML 'style' attribute | |
angular2+: |
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
export class SuiResponsiveHelperService { | |
// <div class="{{suiClass.mobileAndLargerColumn(12,11)}}"> | |
// will translate to | |
// <div class="twelve wide mobile eleven wide tablet eleven wide computer column"> | |
mobileAndLargerColumn(mobile: number, larger: number): string { | |
return `${this.mobileAndLarger(mobile, larger)} column`; | |
} | |
mobileAndLargerRow(mobile: number, larger: number): string { | |
return `${this.mobileAndLarger(mobile, larger)} row`; | |
} |
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
Mail Not Sending Checklist | |
- Have you tried sending to other email addresses? | |
- Are delivery errors being raised? development.rb: | |
config.action_mailer.raise_delivery_errors = true | |
- Have you double-checked your config.action_mailer.smtp_settings? | |
- Are you making sure to call deliver_now / deliver_later? | |
- Are the proper environment variables loaded? | |
- Have you tried sending 'from' another email address? | |
- [Mailgun] have you added test email addresses to the test mailer service's 'authorized recipients' list? |
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
<?php | |
/* To create tests, you can extend this class and create methods that begin with 'test_', | |
* like 'test_square_is_a_quadrilateral'. Inside those methods you can include your unit | |
* tests like $this->unit-run(), etc. You should echo the results inside those methods. | |
* Viewing subclass#index in the browser should execute and display all tests. | |
*/ | |
class CI_Test extends CI_Controller | |
{ | |
public $testnames; |
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
// Simple snippet to hide 8chan threads in catalog view (4chan does this with shift+LMB). | |
// This script is currently set to Ctrl/Cmd key + left mouse. To change the modifier key, just adjust this line: | |
// if(e.ctrlKey || e.metaKey)... | |
// Hidden thread id's are stored as a cookie. Clear cookies to see the hidden threads again. | |
// You can add custom JS to 8chan by clicking Options in the top right corner | |
$(function() { | |
function getCookie(cname) { | |
var name = cname + "="; | |
var ca = document.cookie.split(';'); |
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
{"lastUpload":"2020-10-07T00:07:30.463Z","extensionVersion":"v3.4.3"} |