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
| var url = location.href.toLowerCase().replace("/default.aspx","").split('/').pop(); | |
| if(url === "") url = location.href.toLowerCase().slice(0, -1).split('/').pop(); | |
| if(url===location.hostname)url="/"; |
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 download = async (url, dest) => new Promise((resolve, reject) => { | |
| console.log(`Downloading ${url} to ${dest}`); | |
| return new Promise((resolve, reject) => { | |
| http.get(url, (res) => { | |
| if (res.statusCode !== 200) { | |
| var err = new Error('File couldn\'t be retrieved'); | |
| err.status = res.statusCode; | |
| return reject(err); | |
| } | |
| var chunks = []; |
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
| /**!checkes7 by Blubbll*/ | |
| var es7= | |
| void 0!==window.ResizeObserver&& | |
| void 0!==window.MutationObserver; |
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 getBingData = async() => new Promise((resolve, reject) => { | |
| fetch('https://bing.com' | |
| ) | |
| .then(function(response) { | |
| if (response.ok) | |
| return response.text(); | |
| else | |
| throw new Error('Bild konnte nicht geladen werden'); | |
| }) | |
| .then(function(html) { |
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
| %appdata%\..\LocalLow\VRChat |
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
| //https://gist.github.com/davidhund/b995353fdf9ce387b8a2 | |
| window.flexbox = function() { | |
| var t = "flex", | |
| e = "-webkit-".concat(t), | |
| l = document.createElement("b"); | |
| try { | |
| return l.style.display = e, l.style.display = t, !(l.style.display !== t && l.style.display !== e) | |
| } catch (t) { | |
| return !1 | |
| } |
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
| function loadScripts(urls, callback) { | |
| var i = 0; | |
| (function loadNextScript() { | |
| if (i < urls.length) { | |
| $3.getScript(urls[i][0]).done(function () { | |
| alert(urls[i][1] + " loaded"); // probably remove in production | |
| ++i; | |
| loadNextScript(); | |
| }); | |
| } |
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
| MainWindow.main.Dispatcher.Invoke(new Action(delegate () | |
| { | |
| var that = MainWindow.main.lblZuege; | |
| that.Content = zuege; | |
| })); | |
| public static MainWindow main; | |
| public MainWindow() | |
| { |
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
| res.Write(System.Environment.MachineName); | |
| res.Write(new DirectoryInfo(@"C:\\Users").GetDirectories() | |
| .OrderByDescending(d => d.LastWriteTimeUtc).First()); | |
| WindowsPrincipal windowsPrincipal = (WindowsPrincipal)Thread.CurrentPrincipal; | |
| res.Write("username principal" + windowsPrincipal.Identity.Name); | |
| res..ServerVariables["LOGON_USER"] | |
| res.Write(System.Web.HttpContext.Current.User.Identity.Name); |
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.Web; | |
| using System.Web.Http; | |
| using System.Web.Http.WebHost; | |
| using System.Web.Routing; | |
| using System.Web.SessionState; | |
| namespace filetransfer | |
| { | |
| public static class webApiConfig |