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
    
  
  
    
  | using System.Text; | |
| float sin(float x) | |
| { | |
| return MathF.Sin(x); | |
| } | |
| float cos(float x) | |
| { | |
| return MathF.Cos(x); | 
  
    
      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
    
  
  
    
  | using SixLabors.ImageSharp; | |
| using System.Threading.Tasks; | |
| var imagesPath = @"/path/to/images/"; | |
| var images = Directory.GetFiles(imagesPath); | |
| Parallel.ForEach(images, imagePath => { | |
| using var image = Image.Load(File.OpenRead(imagePath)); | |
| image.SaveAsPng(imagePath + ".png"); | 
  
    
      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 fs = require('fs').promises | |
| const path = require('path') | |
| const convert = require('heic-convert') | |
| async function getFiles(folder){ | |
| const filesFound = await fs.readdir(folder) | |
| const files = [] | |
| filesFound.forEach(file => { | |
| files.push(path.join(folder, file)) | 
  
    
      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
    
  
  
    
  | curl --user-agent "Googlebot/2.1 (+http://www.google.com/bot.html)" -v $@ | |
  
    
      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
    
  
  
    
  | using System; | |
| using System.Threading; | |
| static class Program { | |
| static void Main() { | |
| Console.Write("Performing some task... "); | |
| using (var progress = new ProgressBar()) { | |
| for (int i = 0; i <= 100; i++) { | |
| progress.Report((double) i / 100); | 
  
    
      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
    
  
  
    
  | alias update_all="sudo apt update && sudo apt upgrade -y && sudo snap refresh && sudo flatpak update" | 
  
    
      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
    
  
  
    
  | #!bash | |
| STEAM_COMPAT_CLIENT_INSTALL_PATH=$HOME/.proton STEAM_COMPAT_DATA_PATH=$HOME/.proton "/home/ivan/.steam/steam/steamapps/common/Proton 6.3/proton" run '/home/ivan/Downloads/MTGAInstaller.exe' | 
  
    
      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 { useEffect } from 'react'; | |
| class EventHub | |
| { | |
| private listeners: {}; | |
| constructor () | |
| { | |
| this.listeners = {}; | |
| } | 
  
    
      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
    
  
  
    
  | version: '3' | |
| services: | |
| mssql: | |
| image: mcr.microsoft.com/mssql/server:2019-CU8-ubuntu-16.04 | |
| container_name: "MS_SQL" | |
| ports: | |
| - "1433:1433" | |
| volumes: | |
| - ./db:/var/opt/mssql | |
| environment: | 
  
    
      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
    
  
  
    
  | <?xml version="1.0"?> | |
| <!-- This is a web.config for static file serving in a windows ISS web server | |
| Created by Ivan S Cavalheiro [[email protected]] --> | |
| <configuration> | |
| <system.webServer> | |
| <!-- custom error pages --> | |
| <httpErrors errorMode="Custom"> | |
| <remove statusCode="500" subStatusCode="-1" /> | |
| <remove statusCode="404" subStatusCode="-1" /> | |
| <error statusCode="404" prefixLanguageFilePath="" path="/404.html" responseMode="ExecuteURL" /> | 
NewerOlder