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
private static RegExp buildRegexpLangRfc5646() | |
{ | |
String extLang = "([A-Za-z]{3}(-[A-Za-z]{3}){0,2})"; | |
String language = | |
"(([a-zA-Z]{2,3}(-" + extLang + ")?)|([a-zA-Z]{5,8}))"; | |
String script = "([A-Za-z]{4})"; | |
String region = "([A-Za-z]{2}|\\d{3})"; | |
String variant = "([A-Za-z0-9]{5,8}|(\\d[A-Z-a-z0-9]{3}))"; | |
String singleton = "(\\d|[A-W]|[Y-Z]|[a-w]|[y-z])"; | |
String extension = "(" + singleton + "(-[A-Za-z0-9]{2,8})+)"; |
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
System | |
Preferences | |
System Configuration | |
File Associations | |
text /html | |
Move "Iceweasel" to the top of the list | |
Personal | |
Default Applications | |
Web Browser | |
Tick "In an application based on the content of the URL" |
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
ssh-keygen -lf ~/.ssh/id_rsa.pub | |
1024 43:28:56:7f:21:93:02:04:56:af:5f:cb:55:45:e1:67 /users/username/.ssh/id_rsa.pub (DSA) |
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
a:not([title]) |
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
java -jar ~/.m2/repository/org/jruby/jruby-complete/1.6.5/jruby-complete-1.6.5.jar -S gem env |
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
StringWriter writer = new StringWriter(); | |
e.printStackTrace( | |
new PrintStream( | |
new WriterOutputStream( | |
new PrintWriter(writer) | |
) | |
) | |
); |