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
;; list the packages you want | |
;; http://stackoverflow.com/a/10093312 | |
;; WARNING: git-gutter could not be found for some reason... Have to | |
;; install it manually; | |
(setq package-list '(ggtags company cc-mode company-c-headers linum-relative | |
multiple-cursors cedet git-gutter zenburn-theme | |
rainbow-delimiters)) | |
(require 'package) |
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
<snippet> | |
<content><![CDATA[ | |
describe("${1}", () => { | |
${2} | |
}); | |
]]></content> | |
<tabTrigger>describe</tabTrigger> | |
<scope>source.ts</scope> | |
</snippet> |
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
using System; | |
using System.Collections.Generic; | |
using System.Text; | |
namespace System | |
{ | |
public static class StringExtensionMethods | |
{ | |
public static bool IsNullOrWhiteSpace(this string theString) { | |
if (theString == null) return true; |
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
using System; | |
namespace String_IsNullOrEmpty_Test | |
{ | |
class Program | |
{ | |
static void Main( string [] args ) { | |
string test1 = null; | |
string test2 = string.Empty; | |
string test3 = ""; |
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
namespace String_IsNullOrWhitespace_Test | |
{ | |
using System; | |
class Program | |
{ | |
static void Main( string [] args ) { | |
string test1 = null; // True | |
string test2 = String.Empty; // True |