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
public class DateFormatTest extends TestFmwk { | |
// ... | |
public void test20741_ABFields() { | |
ULocale locale = ULocale.forLanguageTag("en-001"); | |
DateTimePatternGenerator gen = DateTimePatternGenerator.getInstance(locale); | |
String pattern = gen.getBestPattern("EEEEEBBBBB"); | |
SimpleDateFormat dateFormat = new SimpleDateFormat(pattern, locale); | |
Calendar calendar = Calendar.getInstance(TimeZone.getTimeZone("PST8PDT")); | |
calendar.setTime(new Date(0)); |
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
for (let i = 0; i < wordList.length; i++) { | |
#specialize(0, 2, 3) | |
let findPos = searchInText(textTokenized, wordList[i], 1, 4); | |
print("Found \"" + wordList[i] + "\" in text in following positions:"); | |
for (let pos of findPos) | |
print(findPos); | |
} |
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
" Name: Solarized vim colorscheme | |
" Author: Ethan Schoonover <[email protected]> | |
" URL: http://ethanschoonover.com/solarized | |
" (see this url for latest release & screenshots) | |
" License: OSI approved MIT license (see end of this file) | |
" Created: In the middle of the night | |
" Modified: 2011 May 05 | |
" | |
" Usage "{{{ | |
" |
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
First you need to build JSC. Since it is a module in WebKit, you can follow these instructions to get the code and learn how to build it. | |
https://webkit.org/getting-started/#building-webkit | |
After the machine setup, you can build JSC as a stand-alone CLI program running | |
```<path_to_webkit>/Tools/Scripts/build-jsc —release``` | |
It will build jsc into ```<path_to_webkit>/WebKitBuild/Release``` |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.box = "caiolima/xv6-vfs" | |
end |
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
set tabstop=2 | |
set shiftwidth=4 | |
set softtabstop=4 | |
set nowrap | |
set expandtab " expand tabs to spaces | |
set smarttab | |
set hidden | |
set autoread " reload files when changed on disk, i.e. via `git checkout` | |
set backspace=2 " fix broken backspace in some setups |