- Step 1: Download and install StarUML Version 6 from main website https://staruml.io
- Step 2: Download
app.asarfile from https://drive.google.com/drive/folders/1gbhjOEYH1NPZNB_uMDDNr34sMsgGw8kf?usp=sharing - Step 3: Copy
app.asarfile download in step 2 (Overrideapp.asarfile)- Window:
C:\Program Files\StarUML\resources - MacOS:
/Applications/StarUML.app/Contents/Resources/ - Linux:
/opt/StartUML/resources
- Window:
- Step 4: Open StarUML app to use
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
| #!/bin/bash | |
| # A bash script for installing Python 3.10.2 on your Raspberry Pi. | |
| # (c) 2022 Valentin B. / Midian T. E. | |
| # | |
| # Open your terminal and type the following command: | |
| # sudo wget https://gist.githubusercontent.com/realSnosh/cfe29370d2205bd1ad296e7bc7c9b9ea/raw/raspberry_python.sh && chmod +x raspberry_python.sh && ./raspberry_python.sh | |
| sudo apt-get update -y | |
| sudo apt-get upgrade |
For typical use cases, I prefer using nvitop to view detailed information. This script offers a dependency-free implementation.
The script enhances the functionality of nvidia-smi and provides the following info:
Usernamefull process CommandGPU IDPID
This is useful on multi-user servers and can be used to quickly identify which user is using the GPU and running what kind of program.
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
| # Note: You MUST have curl 7.47+ with http/2 support compiled in | |
| curl -v \ | |
| -d '{"aps":{"alert":"<message>","badge":42}}' \ | |
| -H "apns-topic: <bundle id>" \ | |
| -H "apns-priority: 10" \ | |
| --http2 \ | |
| --cert <certificate file> \ | |
| https://api.development.push.apple.com/3/device/<device token> |
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
| // We allocate a file with the size of the downloaded file so we can | |
| // append chunks randomly to diffrent position as we download the file | |
| function allocateDisk(size, callback){ | |
| fss.cwd.getFile(prompt("Filename","movie.mp4"), {create: true}, (fileEntry) => { | |
| fileEntry.createWriter((writer) => { | |
| var blob = new Blob([new ArrayBuffer(1.049e+8)]) | |
| writer.onerror = (err) => { |
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
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> | |
| <title>Stripe Sample Form</title> | |
| <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> | |
| <script type="text/javascript" src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.8.1/jquery.validate.min.js"></script> | |
| <script type="text/javascript" src="https://js.stripe.com/v1/"></script> | |
| <script type="text/javascript"> |
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
| log_format complete '[$time_local] REQ_TIME:$request_time UPS_TIME:$upstream_response_time C:$remote_addr H:$host ' | |
| 'URI:$request_uri ($request_method) ST:$status SZ:$bytes_sent ' | |
| 'REFERER:http_referer AGENT:$http_user_agent'; |