./documentation/page in freespeech-1.0.82 vs ./documentation/page in freespeech-1.0.87

- old
+ new

@@ -137,47 +137,47 @@ end a = "<div class=inner>#{a}</div>" a = <<~EOF - <!DOCTYPE html> - - <html> - <head> - <meta charset="UTF-8"> - <title>Democracy</title> - <meta name="viewport" content="width=device-width, initial-scale=1"/> - <style type=text/css> - b, a { + <!DOCTYPE html> + + <html> + <head> + <meta charset="UTF-8"> + <title>Democracy</title> + <meta name="viewport" content="width=device-width, initial-scale=1"/> + <style type=text/css> + b, a { - text-shadow:0px 0px 0px black; - color:#009900; - } + text-shadow:0px 0px 0px black; + color:#009900; + } - h1, h2 { - color: #009900; - } + h1, h2 { + color: #009900; + } - .header { - box-shadow: none; - padding-top: 30px; - margin-top: 20px; - margin-bottom: 20px; + .header { + box-shadow: none; + padding-top: 30px; + margin-top: 20px; + margin-bottom: 20px; - } + } - body { - z-index: 0; - } + body { + z-index: 0; + } - .cd1 { - display:block; - z-index: 1; - } + .cd1 { + display:block; + z-index: 1; + } - .cd2 { - background-color:#{BACKGROUND_COLOR}; + .cd2 { + background-color:#{BACKGROUND_COLOR}; color:#{BG}; width:50%; display:inline-block; text-align:left; z-index: 1; @@ -291,11 +291,12 @@ <p>How many options are there? 37 projects for “democracy.” Almost nothing. On RubyGems, 9, 6 of which are mine.</p> <p>ONLY MY PROJECT IS CALLED “DEMOCRACY.” on PyPI or RubyGems.".gsub("--", "&ndash;")}</p> <p>On rubygems, there are even fewer results. MY CODE WILL BE FOUND.</p> <p>I shared my gem online.</p> #{"https://www.rubygems.org/gem/democracy - https://www.linkedin.com/in/gregory-cohen-274333261/"} + https://twitter.com/democracygem + https://www.linkedin.com/in/gregory-cohen-274333261/".strip.list} <p>Gems that link to this gem on RubyGems</p> #{" https://www.rubygems.org/gems/democracy https://www.rubygems.org/gems/computers https://www.rubygems.org/gems/freespeech @@ -429,13 +430,13 @@ str = '"\\!\\("' # .dump str2 = '"\\![Image]\\("' # .dump str.gsub! '"', '\\"' str2.gsub! '"', '\\"' - cmd = 'cd ..; cp index.html /home/a/foon/*/index.html; lynx -dump -stdin<README.md | \ -squeeze 0 0 README.md; -ruby -e "print File.read(\"README.md\").gsub(10.chr, \' \'+10.chr).gsub(' << str << "," << str2 << ')"|squeeze 0 0 README.md' + cmd = 'cd ..; cp index.html /home/a/foon/*/index.html; lynx -dump -stdin<README.md | squeeze 0 0 README.md + + ruby -e "print File.read(\"README.md\").gsub(10.chr, \' \'+10.chr).gsub(' << str << "," << str2 << ')" | squeeze 0 0 README.md' system cmd a = File.open("../README.md") lines = [] lines << a.readline.strip @@ -446,10 +447,10 @@ a.close File.open "../README.md", "w" do |file| file << ("<h1 style='color: green'>" << lines[0] << " " << lines[1] << "</h1>" << ("\n " * 2)) v = "Fx9x8cArK30" - # file << "[![Video](https://img.youtube.com/vi/#{v}/maxresdefault.jpg)](https://www.youtube.com/watch?v=#{v}) " + file << "[![Video](https://img.youtube.com/vi/#{v}/maxresdefault.jpg)](https://www.youtube.com/watch?v=#{v}) " file << ("\n " * 5) file << rest.sub(/all\s*still/m, "all still").sub(/IFRAME.+?\n/, "").gsub(/\[\d+\]/, "").each_line.reject do |line| line.match(%r{(file:/{3})|javascript:window}) end.join