Posts

Showing posts from April 20, 2019

Setup local nextcloud file server through hotspot

Image
up vote 0 down vote favorite I'm trying to setup a file sharing system that's easy to access. It might help to know what I'm using it for: I am a recording engineer. After my concert I would like to be able to turn my computer into a hotspot that audience members can log into and download the file of their little baby playing rolling along. So far, I've been able to get the hotspot setup. I have snap installed a nextcloud server. I am able to log into the server from another device. The issue I'm having is the share codes for the nextcloud server are not very client friendly. Currently I would have to tell audience members "Do download the recording of tonight's recording, simply connect to the 'JRSRecording' using the password:####### and type 'http://###.#.#.#/index.php/s/pp4NPk

ASP.NET MCV Razor - dynamic folder iteration HTML display

Image
up vote 0 down vote favorite Variable Model is essentially a folder from the root-url where its child folders gets displayed through razor. short story long - I got an internship, no past experience with ASP.NET-MCV, a nucance of an assignment (Yet fulfilling), and now I want to optimize my code, giving the content is to be used for our intern job portal. Ps. I did look up @functions{} for razor, but there was a lot of different opinions for when (if ever) it should be used. So choose a different route, but please share your opinions. @foreach (var parentFolder in Model) { Stack<Folder> folderStack = new Stack<Folder>(); folderStack.Push(parentFolder); var currentFolder = folderStack.Pop(); int dummyCounter = 1; //Parent folder <div class="row"> <div class="col-sm-2">