User Tools

Site Tools


task_boiler

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
task_boiler [2022/08/11 21:19] rajutask_boiler [2024/01/22 22:59] – [Issue] raju
Line 4: Line 4:
 Start the first heading with "=====" Start the first heading with "====="
  
-===== apply unix commands to all but the first line ===== +===== blocked by barrons ===== 
-==== Situation ==== +==== Issue ==== 
-Let's say we want to sort a series of numbers in descending order but keep the header at the topFor example, given+barrons.com is giving the following error.
 <code> <code>
-$ echo -e "value\n8\n2\n6\n3" +You have been blocked.
-value +
-+
-+
-+
-+
-</code> +
-we want to output +
-<code> +
-value +
-+
-+
-+
-+
-</code>+
  
-We can't directly use 'sort' since it will sort the header as well+Why? 
-<code> +Something about the behaviour of the browser has caught our 
-$ echo -e "value\n8\n2\n6\n3" | sort +attention
-2 + 
-3 +There are various possible explanations for this: 
-6 +* You are browsing and clicking at a speed much faster than 
-8 +  expected of a human being. 
-value+* Something is preventing JavaScript from working on your 
 +  computer. 
 +* There is a robot on the same network (IP WW.XX.YY.ZZ) as you. 
 + 
 +Having problems accessing the site? Submit feedback. 
 +ID: a-b-c-d-e
 </code> </code>
  
-==== simple solution ==== +==== Solution ==== 
-Create a script called 'body' with the following contents and place it somewhere in your PATH. +Click on the extensions button in the top right 
-<code+-Bypass Paywalls Clean -> settings button -> Options 
-#!/usr/bin/env bash +-> scroll down to "BPC settingssection 
-+-> check "Barron'- no Googlebot (http error 500)option 
-# body: apply expression to all but the first line. +-Save
-# Use multiple times in case the header spans more than one line. +
-+
-# Example usage: +
-# $ echo -e "value\n8\n2\n6\n3| body sort +
-+
-IFS= read -r header +
-printf '%s\n' "$header+
-"$@" +
-</code>+
  
 +==== System Information ====
 +  * bypass paywalls clean extension version: 3.5.2.1 (latest asof 2024-01-22)
 +  * google chrome: 120.0.6099.200
 +  * OS: Windows 10 Enterprise
  
-Give it  exec 
task_boiler.txt · Last modified: 2024/01/23 22:55 by raju