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
    
  
  
    
  | --- | |
| Lora: | |
| Module: sx1262 | |
| DIO2_AS_RF_SWITCH: true | |
| DIO3_TCXO_VOLTAGE: true | |
| # CS: 8 # Newer version of MeshtasticD do not need this? If issues uncomment this line | |
| IRQ: 22 | |
| Busy: 4 | |
| Reset: 18 | |
| RXen: 25 | 
  
    
      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
    
  
  
    
  | // Run in the dev console of your browser on the page | |
| // eg. https://www.radioreference.com/db/browse/ctid/167/all | |
| let fileContent = '' | |
| $('tr').each((index, tr) => { | |
| // Skip header | |
| if (index > 0) { | |
| const freq = $(tr).find('td').eq(0).text().replace('.', '').substring(0, 9) | |
| const description = $(tr).find('td').eq(4).text() | |
| fileContent += `f=${freq}, d=${description}\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
    
  
  
    
  | [] | 
  
    
      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
    
  
  
    
  | declare @tableName varchar(200) | |
| declare @columnName varchar(200) | |
| declare @nullable varchar(50) | |
| declare @datatype varchar(50) | |
| declare @maxlen int | |
| declare @sType varchar(50) | |
| declare @sProperty varchar(200) | |
| DECLARE table_cursor CURSOR FOR | 
  
    
      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
    
  
  
    
  | ffmpeg -listen 1 -i rtmp://area61.better-than.tv:1935/ANYTV_USR_BRITISH10/BRITISH10.sdp \ | |
| -c:v libx264 -crf 21 -preset veryfast \ | |
| -c:a aac -b:a 128k -ac 2 \ | |
| -f hls -hls_time 4 -hls_playlist_type event stream.m3u8 | 
  
    
      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
    
  
  
    
  | sudo letsencrypt renew | 
  
    
      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
    
  
  
    
  | function Replace-HostEntry ($targetDns, $newIpAddress) { | |
| $hostsPath = "$env:windir\System32\drivers\etc\hosts" | |
| $hosts = Get-Content $hostsPath | |
| $hosts = $hosts -replace "^.+$targetDns", "$newIpAddress $targetDns" | |
| $hosts | Out-File $hostsPath -enc ascii | |
| } | |
| function Get-DockerIpByImageName($imageName) { | |
| $container = docker ps | Select-String $imageName | 
  
    
      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
    
  
  
    
  | git revert --no-commit 0766c053..HEAD | |
| git commit | 
  
    
      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
    
  
  
    
  | # | |
| # Example | |
| # Restore-SqlBackup -serverInstance TARDIS\SQLEXPRESS -backupFile C:\DATA\TestDatabase.bak -targetDatabase TestDatabaseClone | |
| # | |
| function Restore-SqlBackup($serverInstance, $backupFile, $targetDatabase) { | |
| $server = New-Object Microsoft.SqlServer.Management.Smo.Server $serverInstance; | |
| $dataFolder = $server.Settings.DefaultFile; | |
| $logFolder = $server.Settings.DefaultLog; | 
  
    
      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
    
  
  
    
  | configure | |
| set service dns dynamic interface eth0 service namecheap host-name <host> | |
| set service dns dynamic interface eth0 service namecheap login <username> | |
| set service dns dynamic interface eth0 service namecheap password <password> | |
| commit | |
| save | |
| exit | 
NewerOlder