<!-- Servlet API --> <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>4.0.1</version> </dependency> <!-- Jetty Server --> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-server</artifactId> <version>9.4.43.v20210629</version> </dependency> <!-- Jetty Servlet --> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-servlet</artifactId> <version>9.4.43.v20210629</version> </dependency> import spark.Request; import javax.servlet.MultipartConfigElement; import javax.servlet.ServletException; import javax.servlet.http.Part; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import java.nio.file.Paths; import java.nio.file.StandardCopyOption; private static void HTTPx() { File storageDIR = new File("tempStorage"); if (!storageDIR.isDirectory()) storageDIR.mkdir(); post("/upload", (req, res) -> uploadFile(req)); } private static String uploadFile(Request r) { // allow for multipart file uploads r.attribute("org.eclipse.jetty.multipartConfig", new MultipartConfigElement("")); try { // make sure input type = “file" has name = "jFIle" Part filePart = r.raw().getPart("jFile"); // Name of the file user uploaded String uploadedFileName = filePart.getSubmittedFileName(); //reading the contents of the uploaded file InputStream stream = filePart.getInputStream(); // Write stream/File to server storage folder Files.copy(stream, Paths.get("tempStorage").resolve(uploadedFileName), StandardCopyOption.REPLACE_EXISTING); } catch (IOException | ServletException e) { return "Exception occurred while uploading file" + e.getMessage(); } return "File successfully uploaded"; }
@fyer13654 күн бұрын
bro thank you so much, you make it look easy bro
@OfficialOrangeio7 күн бұрын
#!/bin/bash # Function to read input with prompt read_input() { read -p "$1: " $2 } # Read inputs read_input "Enter the path to the folder containing executable and dependencies" folder_path read_input "Enter the name for the output executable script (without extension)" script_name read_input "Enter the path to the executable to run within the bundled script (e.g., ./executable)" executable_path # Validate if the executable exists if [ ! -f "$executable_path" ]; then echo "Error: Executable '$executable_path' not found. Please provide a valid path." exit 1 fi # Get the absolute path of the folder containing the executable folder_path=$(dirname "$executable_path") # Create temporary directory and prepare for bundling temp_dir=$(mktemp -d) cp -r "$folder_path" "$temp_dir/" # Create tar archive, base64 encode it, and embed in the script base64_encoded=$(tar -czf - -C "$temp_dir" "$(basename "$folder_path")" | base64) cat <<EOF > "$script_name.sh" #!/bin/bash base64_encoded="$base64_encoded" temp_dir=\$(mktemp -d) echo "\$base64_encoded" | base64 -d | tar -xz -C "\$temp_dir" chmod +x "\$temp_dir/$(basename "$folder_path")/$(basename "$executable_path")" "\$temp_dir/$(basename "$folder_path")/$(basename "$executable_path")" "\$@" rm -rf "\$temp_dir" EOF # Make the script executable and clean up chmod +x "$script_name.sh" rm -rf "$temp_dir" echo "Executable script '$script_name.sh' created successfully!"
using System.Collections; using System.Collections.Generic; using UnityEngine; public class fx : MonoBehaviour { void Start() { GameObject instance = Instantiate(Resources.Load("blood", typeof(GameObject))) as GameObject; } }
#!/bin/bash # Prompt for the path to the SQLite database file read -p "Enter the path to your SQLite database file: " DB_FILE # Check if the file exists if [[ ! -f "$DB_FILE" ]]; then echo "File not found!" exit 1 fi # Get the list of tables in the database TABLES=$(sqlite3 "$DB_FILE" ".tables") # Loop through each table and export it to a CSV file for TABLE in $TABLES; do # Define the output CSV file name CSV_FILE="${TABLE}.csv" # Export the table to the CSV file sqlite3 "$DB_FILE" <<EOF .headers on .mode csv .output $CSV_FILE SELECT * FROM $TABLE; EOF echo "Exported $TABLE to $CSV_FILE" done
using System.Collections; using System.Collections.Generic; using UnityEngine; public class weapon : MonoBehaviour { public Animator animator; [Header("rifle")] public GameObject rifle; private bool isRifleOut = false; // Track if the rifle is currently out or not // Update is called once per frame void Update() { Rifle(); } void Rifle() { if (Input.GetKeyDown(KeyCode.Alpha2) && !isRifleOut) { animator.SetBool("rifle", true); animator.Play("Rifle Pull Out"); rifle.SetActive(true); isRifleOut = true; // Set the state to true since rifle is now out } else if (Input.GetKeyDown(KeyCode.Alpha1) && isRifleOut) { animator.SetBool("rifle", false); animator.Play("Put Back Rifle"); rifle.SetActive(false); isRifleOut = false; // Set the state to false since rifle is put back } } }
@OfficialOrangeio25 күн бұрын
using System.Collections; using System.Collections.Generic; using UnityEngine; public class pickObject : MonoBehaviour { public GameObject objectOnPlayer; public GameObject pickPrompt; void Start() { objectOnPlayer.SetActive(false); pickPrompt.SetActive(false); } private void OnTriggerStay(Collider other) { if (other.gameObject.tag == "Player") { pickPrompt.SetActive(true); if (Input.GetKey(KeyCode.E)) { this.gameObject.SetActive(false); objectOnPlayer.SetActive(true); pickPrompt.SetActive(false); } } } private void OnTriggerExit(Collider other) { pickPrompt.SetActive(false); } }
@OfficialOrangeio25 күн бұрын
// Patched Code using System.Collections; using System.Collections.Generic; using UnityEngine; public class pickObject : MonoBehaviour { public GameObject objectOnPlayer; public GameObject pickPrompt; void Start() { objectOnPlayer.SetActive(false); pickPrompt.SetActive(false); } private void OnTriggerStay(Collider other) { if (other.gameObject.tag == "Player") { pickPrompt.SetActive(true); if (Input.GetKey(KeyCode.E)) { Destroy(this.gameObject); objectOnPlayer.SetActive(true); pickPrompt.SetActive(false); } } } private void OnTriggerExit(Collider other) { pickPrompt.SetActive(false); } }
@OfficialOrangeio26 күн бұрын
using System.Collections; using System.Collections.Generic; using UnityEngine; public class weapon : MonoBehaviour { public Animator animator; [Header("rifle")] public GameObject rifle; // Update is called once per frame void Update() { Rifle(); } void Rifle() { if (Input.GetKeyDown(KeyCode.Alpha2)) { animator.SetBool("rifle", true); rifle.SetActive(true); } if (Input.GetKeyDown(KeyCode.Alpha1)) { animator.SetBool("rifle", false); rifle.SetActive(false); } } }
@OfficialOrangeio28 күн бұрын
using UnityEngine; public class pickupObject : MonoBehaviour { public Transform PickupPosition; public float distance = 10f; GameObject currentObject; GameObject wp; bool canPick; private void Update() { CheckObject(); if (!canPick || !Input.GetKeyDown(KeyCode.E)) return; if (currentObject == null) { Pickup(); return; } Drop(); } public void CheckObject() { canPick = Physics.Raycast(Camera.main.transform.position, Camera.main.transform.forward, out RaycastHit hit, distance) && hit.transform.CompareTag("pickable"); if (!canPick) return; Debug.Log("Pickable"); wp = hit.transform.gameObject; } private void Pickup() { currentObject = wp; currentObject.transform.position = PickupPosition.position; currentObject.transform.parent = PickupPosition; currentObject.transform.localEulerAngles = new Vector3(0f, 180f, 0f); currentObject.GetComponent<Rigidbody>().isKinematic = true; } private void Drop() { currentObject.transform.parent = null; currentObject.GetComponent<Rigidbody>().isKinematic = false; currentObject = null; } }
@OfficialOrangeioАй бұрын
using System.Collections; using System.Collections.Generic; using UnityEngine; public class playerMove : MonoBehaviour { public float speed = 5f; // Speed at which the character moves private Animator animator; void Start() { // Get the Animator component attached to the character animator = GetComponent<Animator>(); } void Update() { // Call the move method for "W" key and "run" animation move(KeyCode.W, "run"); move(KeyCode.Space, "jump"); } void move(KeyCode key, string animName) { // Check if the specified key is being pressed bool isMoving = Input.GetKey(key); // Move the character forward immediately transform.Translate(Vector3.forward * (isMoving ? speed : 0f) * Time.deltaTime); // Play or stop the specified animation animator.SetBool(animName, isMoving); } }
Thanks a lot mate ❤ it was such a pain to figure out
@NATIVODOHERMENAАй бұрын
me ajudou bastante, obrigado
@icefireobsidian7490Ай бұрын
Thank you
@JBJblaze2 ай бұрын
This serves as a reminder of what Xbox Support once helped me fix this problem by doing. Too bad this time, your video helped me quicker than resorting to their support via Microsoft again!
@sanjeev25252 ай бұрын
You are a lifesaver
@OfficialOrangeio2 ай бұрын
Use this command to export as CSV ⤵ sqlite3 History -header -csv "select * from urls" > shrome.csv
@OfficialOrangeio2 ай бұрын
Use this command to export as CSV ⤵️ sqlite3 History.db -header -csv "select * from history_items" > safari_history.csv
@djsash94022 ай бұрын
Hi and good evening. It is working and extracting all my history links, but inside the Terminal itself. It is not generating a CSV file on the desktop. Can you help me? It is rather generating 2 other files on the desktop: History.db-shm and History.db-wal << Well both are blank
@OfficialOrangeio2 ай бұрын
Use this command to export as CSV ⤵️ sqlite3 History.db -header -csv "select * from history_items" > safari_history.csv
@AaronDisi2 ай бұрын
This worked for me, love you bro
@rcmartins2 ай бұрын
TY.... and fuck Gitlab for being so shady...
@mikayfishlol7243 ай бұрын
Hello
@Fayne.Porosyatko3 ай бұрын
Thank you for your help!
@jatinbhalla34613 ай бұрын
Quite curious about what tool you are using?
@abcdefghjiklnmopqrstuvwxyz3 ай бұрын
Browser's Web Inspector
@YourFavColorBlu4 ай бұрын
THANK YOU I NEEDED THIS FOR SO LONG
@koncode-yt4 ай бұрын
Thank you, I was going crazy trying to add labels to my Gmail on mobile 🙏
@mickc29845 ай бұрын
😄 Promo_SM
@iloli10965 ай бұрын
It worked perfecftly, many thanks for the explanation!
You need to restart the app after changing the Language
@OfficialOrangeio7 ай бұрын
Wait until all files are uploaded or else blank page shows up. If the drag doesn't show refresh the page first.
@nightcoredragun34197 ай бұрын
That shoud be.. a parody ?
@abcdefghjiklnmopqrstuvwxyz7 ай бұрын
maybe yes no
@F18techhz7 ай бұрын
ty i will try it
@BUY_YOUTUBE_VIEWS_d0037 ай бұрын
I bet even NASA scientists would be impressed by the genius in this video
@official8KB10 ай бұрын
📝
@younesalgerian4179 Жыл бұрын
You cannot view the video from within the page
@OfficialOrangeio Жыл бұрын
Nope. It's in zip format.
@Neha-nb5zr2 жыл бұрын
Thank you so much 👍
@karannagrale11092 жыл бұрын
Thank you very much this was very helpful :)
@miamilifelover2 жыл бұрын
Awesome!!!! Something I couldn’t figure out and kept going in circles with searching for an answer. Can’t reach Microsoft support for nothing. Great and on point steps! Thank you