1. 01 Feb, 2018 1 commit
    • anonym's avatar
      Rename function. · 755813ec
      anonym authored
      Some people don't like mixing declarative and imperative styles! :)
      755813ec
  2. 09 Oct, 2017 1 commit
  3. 13 Jan, 2017 2 commits
  4. 12 Jan, 2017 4 commits
    • spriver's avatar
      Passing yes option to apt-get · 44d85e75
      spriver authored
      44d85e75
    • spriver's avatar
      Added echo before installing sqlite3 · 638b0ea3
      spriver authored
      638b0ea3
    • spriver's avatar
      Removed newline · e86f8d6c
      spriver authored
      e86f8d6c
    • anonym's avatar
      Use a more (line) diff friendly way to store the uBlock Origin database dump. · 6ffd8e94
      anonym authored
      The command I used for generating our dump was:
      
          echo '.dump' | sqlite3 ublock0.sqlite | \
            grep -v "cached_asset_content://cache://compiled-" | \
            awk '!/^INSERT/; /^INSERT/ {print $0 | "sort -n"}' | \
            sed 's_\\n_\\n\r\n_g' | \
            sed "/^INSERT INTO \"settings\" VALUES('\(remoteBlacklists\|cached_asset_entries\)'/"'s_,_,\r\n_g' > \
            config/chroot_local-includes/usr/share/tails/ublock-origin/ublock0.dump
      
      The idea is to split lists (including huge strings with escaped
      newlines) into separate lines, leaving a CRLF at the end of the line
      as a marker -- removing these markers completely restores the file. We
      also have to sort the "INSERT" lines since uBlock Origin doesn't save
      them in the same order.
      6ffd8e94
  5. 11 Jan, 2017 1 commit