- DocBlocker : Block comments / Documentation
- Emmet : Auto fill HTML Eg: ul>li*5
- Gist : Creating new gists from Sublime
- Package Control
- Select Quoted : Select texts inside quotes
- MarkdownEditing : Edit md files
- SideBarEnhancements
- SublimeCodeIntel : Sublime autocomplete
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 | |
/** | |
* String replace nth occurrence | |
* | |
* @param type $search Search string | |
* @param type $replace Replace string | |
* @param type $subject Source string | |
* @param type $occurrence Nth occurrence | |
* @return type Replaced string | |
*/ |
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 | |
/** | |
* String replace nth occurrence - case-insensitive | |
* | |
* @param type $search Search string | |
* @param type $replace Replace string | |
* @param type $subject Source string | |
* @param type $occurrence Nth occurrence | |
* @return type Replaced string | |
*/ |
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 | |
class Config | |
{ | |
private static $environments = ['dev', 'qa', 'prod']; | |
private static $filenames = ['assets', 'libraries']; | |
private static $filepath = "/"; | |
private static $environment = NULL; | |
private static $file_data = NULL; |
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
/*************************************************************************************************** | |
* Class Name : BooleanExpression | |
* Created Date : July 4, 2018 | |
* Author : Vijaya Sankar N | |
* Description : Class to evaluate a boolean expression | |
* Example : (TRUE AND (FALSE OR TRUE)) is TRUE | |
****************************************************************************************************/ | |
public class BooleanExpression { | |
static Map<String, String> logicTypes = new Map<String, String>(); | |
static Map<String, Map<String, String>> expressionLogic = new Map<String, Map<String, String>>(); |
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
for($i=1;$i<100;$i++) { | |
echo ($i%3?'':'Fizz').($i%5?'':'Buzz')?:$i,"<br/>"; | |
} |
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
/* RESPONSIVE LIGHTNING DATATABLE - SALESFORCE (With Checkbox) | |
* https://developer.salesforce.com/docs/component-library/bundle/lightning-datatable/example | |
*/ | |
@media (max-width: 768px) { | |
.THIS lightning-datatable.responsive-table thead th:not(:first-child) { | |
display: none; | |
} | |
.THIS lightning-datatable.responsive-table thead th:first-child .slds-checkbox:after { | |
content: 'Select All'; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta | |
name="viewport" | |
content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" | |
/> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
</head> | |
<body> |
OlderNewer