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
| # Step 1: Get the latest Discord executable path by checking if Discord.exe exists in the folder | |
| $discordDir = "C:\Users\karan\AppData\Local\Discord" | |
| $latestVersionFolder = Get-ChildItem -Path $discordDir -Directory | Where-Object { | |
| $_.Name -like "app-*" -and (Test-Path (Join-Path $_.FullName "Discord.exe")) | |
| } | Sort-Object LastWriteTime -Descending | Select-Object -First 1 | |
| # If we found the latest version folder | |
| if ($latestVersionFolder) { | |
| $latestPath = Join-Path $latestVersionFolder.FullName "Discord.exe" | |
| Write-Host "Latest Discord path: $latestPath" |
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
| // ==UserScript== | |
| // @name Video: scroll=seek | |
| // @namespace https://gist.github.com/vogler | |
| // @downloadURL https://gist.github.com/vogler/b7c66088cd22f899496f353d5295b7ad/raw/video-scroll-seek.tamper.js | |
| // @version 0.16 | |
| // @description Scrolling a video seeks back/forward | |
| // @author Ralf Vogler | |
| // @match *://*/* | |
| // @grant none | |
| // ==/UserScript== |
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
| ../../../Engine/Content/EditorMeshes/ColorCalibrator/ | |
| ../../../Engine/Content/EngineMaterials/DefaultBloomKernel.uasset | |
| ../../../Engine/Content/EngineMaterials/DefaultBloomKernel.uexp | |
| ../../../Engine/Content/Slate/Fonts/NanumGothic.ttf | |
| ../../../Engine/Content/Slate/Fonts/DriudSansFallback.ttf | |
| ../../../Engine/Content/Tutorials/ | |
| ../../../Engine/Content/MobileResources/ | |
| ../../../Engine/Content/Maps/ | |
| ../../../Engine/Content/EngineDebugMaterials/ | |
| ../../../Engine/Content/MapTemplates/ |
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
| // | |
| // LiveFrameCaptureViewController.swift | |
| // SCNKit2Video | |
| // | |
| // Created by Lacy Rhoades on 11/29/16 | |
| // Revised 7/19/17 | |
| // Copyright © 2017 Lacy Rhoades. All rights reserved. | |
| // | |
| import Foundation |
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
| # frappe/frappe/templates/pages/print.py | |
| @frappe.whitelist() | |
| def download_multi_pdf(doctype, name, format=None): | |
| # name can include names of many docs of the same doctype. Formatted as name1-name2-name3 | |
| totalhtml = "" | |
| # Pagebreak to be added between each doc html | |
| pagebreak = """<p style="page-break-after:always;"></p>""" | |
| import json | |
| result = json.loads(name) |