https://developer.fedoraproject.org/tech/languages/nodejs/nodejs.html https://developer.fedoraproject.org/tech/languages/nodejs/modules.html
$ sudo dnf install nodejs
| # Custom settings for abcde version 2.8.2 | |
| # sudo dnf install abcde lame flac eyeD3 id3v2 | |
| # getalbumart requires glyrc, which you can install on fedora from files downloaded here: | |
| # https://packages.fedoraproject.org/pkgs/glyr/glyr/ | |
| # If you want to edit the id3 info: sudo install exfalso | |
| # CDDB options | |
| # Choose whether you want to use "cddb", "musicbrainz" and/or | |
| # "cdtext". Default is "musicbrainz", but all can be specified in a |
| #!/bin/sh | |
| gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/prepress -dNOPAUSE -dQUIET -dBATCH -sOutputFile=compressed.pdf inpu.pdf |
| package be.crydust; | |
| import org.apache.commons.csv.CSVFormat; | |
| import org.apache.commons.csv.CSVParser; | |
| import org.apache.commons.csv.CSVRecord; | |
| import org.apache.commons.text.StringEscapeUtils; | |
| import java.io.IOException; | |
| import java.net.URI; | |
| import java.net.http.HttpClient; |
| import org.w3c.dom.Document; | |
| import org.w3c.dom.Element; | |
| import javax.xml.parsers.DocumentBuilder; | |
| import javax.xml.parsers.DocumentBuilderFactory; | |
| import javax.xml.stream.XMLInputFactory; | |
| import javax.xml.stream.XMLOutputFactory; | |
| import javax.xml.stream.XMLStreamReader; | |
| import javax.xml.stream.XMLStreamWriter; | |
| import javax.xml.transform.Transformer; |
| private static void show(Geometry... geometries) throws InterruptedException, InvocationTargetException { | |
| ShapeWriter shapeWriter = new ShapeWriter(createPointTransformation(5, 20)); | |
| int width = 640, height = 480; | |
| BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB); | |
| Graphics2D g2d = createGraphics2D(image); | |
| try { | |
| // Draw background | |
| g2d.setColor(Color.WHITE); |
| import java.io.InputStream; | |
| import java.nio.file.Files; | |
| import java.nio.file.Path; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| import javax.xml.namespace.QName; | |
| import javax.xml.stream.XMLEventReader; | |
| import javax.xml.stream.XMLInputFactory; | |
| import javax.xml.stream.events.EndElement; |
| Write-Host "Creating Restore Point in case something bad happens" | |
| Enable-ComputerRestore -Drive "$env:SystemDrive" | |
| Checkpoint-Computer -Description "RestorePoint1" -RestorePointType "MODIFY_SETTINGS" | |
| #WPFEssTweaksDVR | |
| If (!(Test-Path "HKCU:\System\GameConfigStore")) { | |
| New-Item -Path "HKCU:\System\GameConfigStore" -Force | |
| } | |
| Set-ItemProperty -Path "HKCU:\System\GameConfigStore" -Name "GameDVR_DXGIHonorFSEWindowsCompatible" -Type DWord -Value 1 | |
| Set-ItemProperty -Path "HKCU:\System\GameConfigStore" -Name "GameDVR_HonorUserFSEBehaviorMode" -Type DWord -Value 1 |
| <img src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="/> |