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
    
  
  
    
  | map.current.on('load', function () { | |
| map.current.addLayer({ | |
| id: 'places', | |
| type: 'circle', | |
| source: { | |
| type: 'geojson', | |
| data: { | |
| type: 'Feature', | |
| geometry: { | |
| type: 'Point', | 
  
    
      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
    
  
  
    
  | Set-VMVideo -VMName "Ubuntu 22" -HorizontalResolution 2560 -VerticalResolution 1440 -ResolutionType Single | 
  
    
      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
    
  
  
    
  | artist = "rq2VQ5mb9SDAFWbBIUIn" | |
| song = "t_yrXoUO3qGsJS4Y6iXX" | |
| Array.from(document.querySelectorAll('[role="row"]')) | |
| .map(v => `${v.querySelector(`.${artist}`)?.innerText} ${v.querySelector(`.${song}`)?.innerText}`); | 
  
    
      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
    
  
  
    
  | const a = 'asdf'; | |
| const q = 'qwerty'; | |
| // instead of | |
| // aCalculated = | |
| // qCalculated = | |
| const [aCalculated, qCalculated] = [a, q].map(v => someComplexFunction(v)); | |
| // or [a, q].map(someComplexFunction) for short | 
  
    
      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
    
  
  
    
  | const numbers = [...Array(n).keys()]; | |
| // [1, 2, 3... n] | 
  
    
      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
    
  
  
    
  | import pandas as pd | |
| def calculate(catalogue, min_magnitude): | |
| df = pd.read_excel(f'./data/catalogue{catalogue}.xlsx', sheet_name=None) | |
| print(df) | |
| for sheet_name in df.keys(): | |
| calculate_per_sheet(df[sheet_name], sheet_name, min_magnitude) | 
  
    
      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
    
  
  
    
  | PATH=$PATH:node_modules/.bin | 
  
    
      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
    
  
  
    
  | let z = Array.from(document.querySelector('#table_sale_container').querySelectorAll('tr')).slice(1) | |
| .map(v => { | |
| const [region, price] = Array.from(v.querySelectorAll('td')).map(v => v.innerText); | |
| const _price = Number(price.replace('.','')); | |
| return { | |
| region, | |
| price: _price, | |
| ex50: (_price * 50)}; | |
| }) | 
  
    
      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
    
  
  
    
  | unzip -j \*.zip | 
NewerOlder