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
| # UE file types | |
| *.uasset filter=lfs diff=lfs merge=lfs -text | |
| *.umap filter=lfs diff=lfs merge=lfs -text | |
| # Raw Content types | |
| *.fbx filter=lfs diff=lfs merge=lfs -text | |
| *.3ds filter=lfs diff=lfs merge=lfs -text | |
| *.psd filter=lfs diff=lfs merge=lfs -text | |
| *.png filter=lfs diff=lfs merge=lfs -text | |
| *.mp3 filter=lfs diff=lfs merge=lfs -text |
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
| HTTP status code symbols for Rails | |
| Thanks to Cody Fauser for this list of HTTP responce codes and their Ruby on Rails symbol mappings. | |
| Status Code Symbol | |
| 1xx Informational | |
| 100 :continue | |
| 101 :switching_protocols | |
| 102 :processing |
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
| # If you want to check whether a string matches a regular expression, | |
| # but not return the match data, you can just use === the case equality operator. | |
| # Bad | |
| !! ('foobar' =~ /bar/) #=> true | |
| !! ('foo' =~ /bar/) #=> false | |
| # Good | |
| /bar/ === 'foobar' #=> true | |
| /bar/ === 'foo' #=> false |