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
| [11860:11860:1215/155347:ERROR:browser_main_loop.cc(162)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on. | |
| Xlib: extension "RANDR" missing on display ":99". | |
| [11860:11860:1215/155347:ERROR:browser_main_loop.cc(208)] GLib-GObject: Attempt to add property GtkSettings::gtk-label-select-on-focus after class was initialised | |
| [11860:11860:1215/155347:ERROR:browser_main_loop.cc(208)] GLib-GObject: Attempt to add property GtkSettings::gtk-entry-select-on-focus after class was initialised | |
| [11860:11860:1215/155347:ERROR:browser_main_loop.cc(208)] GLib-GObject: Attempt to add property GtkSettings::gtk-entry-password-hint-timeout after class was initialised |
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
| require 'csv' | |
| path = ARGV[0] | |
| fail "path required" if path.nil? | |
| csv = CSV.open "#{path}.csv", "w" | |
| begin | |
| File.open(path).each do |line| | |
| line = line.strip.force_encoding('iso-8859-1').encode 'UTF-8' | |
| csv << line.split('|', -1) |
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
| infix operator |? | |
| func |?<I,O>(left: I?, pipeFunc: ((I) -> O?)) -> O? { | |
| guard let value = left else { return nil } | |
| return pipeFunc(value) | |
| } | |
| let formatter = DateFormatter() | |
| formatter.locale = Locale(identifier: "en_US_POSIX") | |
| formatter.timeZone = NSTimeZone.local |
OlderNewer