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
Next revisionBoth sides next revision
task_boiler [2022/09/01 13:57] rajutask_boiler [2023/02/13 23:53] raju
Line 4: Line 4:
 Start the first heading with "=====" Start the first heading with "====="
  
-===== Impact of enabling SSL on google page indexing =====+===== print hundredths ===== 
 +Let's define hundredths as numbers with two decimal digits. This can be money amounts in dollars and cents.
  
-On 2022-08-16, I enabled SSL on this website using certificate from letsencrypt. This resulted in google indexing more pages.+tags | pennies, dollar-cent amounts 
 +==== write single numbers ==== 
 +There are two possible ways
  
-{{:impact_of_enabling_ssl_on_20220816.png?direct|}}+^ ^ round ^ format ^ 
 +| output type | float | string | 
 +| output type | <code> 
 +In [1]: 
 +a = 10.30467 
 + 
 +In [2]: 
 +type(round(a,2)) 
 +Out[2]: 
 +float 
 + 
 +In [3]: 
 +type('{:.2f}'.format(a)) 
 +Out[3]: 
 +str 
 +</code> || 
 +| number of digits after the decimal point | varies | always two |
  
-<code> 
-% cat Chart.csv | csvsql -I --query 'select * from stdin where Date >= "2022-08-13"' 
-Date,Affected pages 
-2022-08-13,37 
-2022-08-14,37 
-2022-08-15,37 
-2022-08-16,59 
-2022-08-17,59 
-2022-08-18,59 
-2022-08-19,59 
-2022-08-20,76 
-2022-08-21,76 
-2022-08-22,76 
-2022-08-23,191 
-2022-08-24,191 
-2022-08-25,191 
-2022-08-26,191 
-2022-08-27,191 
-2022-08-28,191 
-2022-08-29,191 
-</code> 
  
-tags | http vs https,  
task_boiler.txt · Last modified: 2024/01/23 22:55 by raju