Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Content Count

  • Joined

  • Last visited


This user doesn't have any awards

About ScottDurkin

  • Title
  • Birthday 1997-08-12

Profile Information

  • Gender
  • Location
  • Interests
    Programming, Software, Tech, Weightlifting, video editing,
  • Biography
  • Occupation
    Software Engineer @ Salmon Software


  • CPU
    Intel i7 9700k
  • Motherboard
    Gigabyte Z390 GAMING X
  • RAM
    32GB of Vengeance Pro
  • GPU
    Gigabyte NVIDIA GeForce GTX 1070 G1 Gaming 8GB
  • Case
    NZXT H440 Black/Red
  • Storage
    1TB Samsung SSD, 2TB HDD and 1TB External
  • Display(s)
    Triple Monitors
  • Cooling
    NZXT Kraken X62
  • Keyboard
    Razer Blackwidow
  • Mouse
    Razer Momba
  • Operating System
    Windows 10 Pro
  • Laptop
    Macbook Pro 2015 15inch

Recent Profile Visitors

2,365 profile views
  1. Have you any examples of something like this or recommendations of libraries to turn code/arrays to fancy image?
  2. Hi all, I am looking for a c# QR Code generator that is not basic.. I have seen some QR Codes around the web that have like rounded corners or dotted styles. I was wondering if someone has come across a library for this? I have been using QRCoder but they look to basic and I'm not sure if there is a way to style them within the library either. Any help would be great, thanks.
  3. Thanks for the insight on everything and suggestions As for the harmless names. We plan on a whitelist for certain names and places in the world as well. It will need some refining but I think it will work
  4. I was thinking the database route more so myself as well. Just realized we will need to filter words in other languages as well haha
  5. Hi all, I am working on a platform that allows users to be created and a question was asked. "What happens is someone wants to signup with a curse word" And it got me thinking, what is the best way to filter these words to make sure they do not show up in peoples usernames? Am I going to have to write a functions to search for these words and create the list myself.. I don't mind having some words in the source code but others.. might not be great to have in the source code haha Please let me know your thoughts.
  6. Hi all, I am working on an ASP .NET Application within Visual Studio and I would like to run the application on my local IIS server so I can access it from my mobile phone. I have the IIS on Windows 10 setup where I can view standard .html files by my phone but I want to know how or if I can setup to run my ASP Application. Hopefully someone out there can help me. Thanks. The error I get when trying to view my ASP Application:
  7. Hi all, I am working on a simple booking form with different steps. I would like to validate each step to make sure all inputs are filled for that section before moving to the next step. I am using the basic version of MDBootstrap and you can view my code below. Thanks in advance. <!-- Horizontal Steppers --> <div class="container"> <div class="row"> <div class="col-md-12"> <!-- Stepers Wrapper --> <ul class="stepper stepper-horizontal"> <!-- First Step --> <li class="completed" id="StepOne"> <a href="#!"> <span class="circle">1</span> <span class="label">Your details</span> </a> </li> <!-- Second Step --> <li class="disabled" id="StepTwo"> <a href="#!"> <span class="circle">2</span> <span class="label">Desired Time</span> </a> </li> <!-- Third Step --> <li class="disabled" id="StepFinish"> <a href="#!"> <span class="circle">2</span> <span class="label">Finish</span> </a> </li> </ul> <!-- /.Stepers Wrapper --> <form class="needs-validation" novalidate> <div class="form-group" id="SectionOne"> <div class="form-row"> <div class="col-md-4 mb-3"> <label for="validationCustom01">First name</label> <input type="text" class="form-control" id="validationCustom01" placeholder="First name" value="" required> <div class="valid-feedback"> Looks good! </div> </div> <div class="col-md-4 mb-3"> <label for="validationCustom02">Last name</label> <input type="text" class="form-control" id="validationCustom02" placeholder="Last name" value="" required> <div class="valid-feedback"> Looks good! </div> </div> <div class="col-md-4 mb-3"> <label for="validationCustomUsername">Email</label> <div class="input-group"> <div class="input-group-prepend"> <span class="input-group-text" id="inputGroupPrepend"><i class="fas fa-envelope"></i></span> </div> <input type="email" class="form-control" id="validationCustomUsername" placeholder="example@gmail.com" aria-describedby="inputGroupPrepend" required> <div class="invalid-feedback"> Please enter an email address </div> </div> </div> <div class="col-md-4 mb-3"> <label for="validationCustomUsername">Mobile Number</label> <div class="input-group"> <div class="input-group-prepend"> <span class="input-group-text" id="inputGroupPrepend"><i class="fas fa-phone-alt"></i></span> </div> <input type="number" class="form-control" id="validationCustomUsername" placeholder="08712345678" aria-describedby="inputGroupPrepend" required> <div class="invalid-feedback"> Please provide your phone number </div> </div> </div> </div> </div> <div class="form-group hidden" id="SectionTwo"> <div class="form-row"> <div class="col-md-4 mb-3"> <label for="validationCustom01">Your desired date</label> <input type="datetime-local" class="form-control" id="validationCustom02" value="" required> <div class="valid-feedback"> Looks good! </div> </div> </div> </div> <div class="form-group hidden" id="SectionFinish"> <!--Details of whole form here--> <p>Hello world</p> </div> <button class="btn btn-primary btn-sm" type="submit" id="nextOne">Next</button> </form> </div> </div> </div> JS <script> (function () { 'use strict'; window.addEventListener('load', function () { // Fetch all the forms we want to apply custom Bootstrap validation styles to var forms = document.getElementsByClassName('needs-validation'); // Loop over them and prevent submission var validation = Array.prototype.filter.call(forms, function (form) { form.addEventListener('submit', function (event) { if (form.checkValidity() === false) { event.preventDefault(); event.stopPropagation(); } else { if ($('#SectionOne').hasClass('hidden') === false) { GoToStageTwo(); } } form.classList.add('was-validated'); }, false); }); }, false); })(); function GoToStageOne() { } function GoToStageTwo() { $('#SectionOne').addClass('hidden'); $('#SectionTwo').removeClass('hidden'); $('#StepTwo').removeClass('disabled'); $('#StepTwo').addClass('completed'); } function GoToStageFinish() { $('#SectionTwo').addClass('hidden'); $('#SectionFinish').removeClass('hidden'); } </script>
  8. Hi all, Just wondering would anyone know how to scrape the goal and currently raised of a GoFundMe page? Either with php or JQuery? Thanks.
  9. Hi all, I am thinking of dabbling in a Web Application Project for a car listing website but I'm not sure what framework would be best for this? Could I get some suggestions from you guys on frameworks and thoughts on ASP .net? Thanks
  10. I will go with your options one. I like that better. Thank you!
  11. I have solved my own problem.. List<MODELS> MakeModel = new List<MODELS>(); MODELS pModels = new MODELS(); pModels.models = new List<String>(); pModels.brand = "Audi"; for(int i = 0; i < 8; i++) pModels.models.Add("A" + Convert.ToString(i+1)); MakeModel.Add(pModels);
  12. Hi all, I am working on an .net Web Application. I have created a class known as "MODELS" which has a String Variable and a String IList Variable. Within my Search.cshtml file up the top I am trying to create a list using this object but every time I add something to the IList I get an error. Error when loading the page. The app allows me to populate the brand but not the list? how can I resolve this? Thanks in advance and look forward to hearing back from you all. Cheers.
  13. Hi all, I am working on pulling data down from my server and have ran into a little issue and cant wrap my head around it. I have this script that generates a json output neatly but I want to expand it for when pulling multiple records down from my database. Right now the output looks like this: { "Testing01": { "name": "Scott", "number": null, "address": { "Line01": "123 fake street", "Line02": "Dublin", "Line03": "4", "Country": "Ireland" } } } But what I want to do is create a loop that will out put records like this: { "Testing01": { "name": "Scott", "number": null, "address": { "Line01": "123 fake street", "Line02": "Dublin", "Line03": "4", "Country": "Ireland" } }, "Testing02": { "name": "Mike", "number": null, "address": { "Line01": "321 fake street", "Line02": "Dublin", "Line03": "2", "Country": "Ireland" } } } If anyone at all can help me to create a method of printing nicely formatted json like the second example can you please share. Here is my code for the single output: <?php header('Content-Type: application/json'); $root = array( "Testing01" => array( "name" => "Scott", "number" => null, "address" => array( "Line01" => "123 fake street", "Line02" => "Dublin", "Line03" => "4", "Country" => "Ireland" ) ) ); echo json_encode($root, JSON_PRETTY_PRINT); ?> Thanks in advance.
  14. Hi there, I am working on a project that requires files been uploaded to an S3 server and I ran into a problem with the Post request. My upload script works perfectly using the following AJax code: var form = new FormData(); let msg = $("#msg").val(); form.append('file', file); form.append('msg', msg); form.append('size', file.size); $.ajax({ url: 'upload.php', // point to server-side PHP script dataType: 'text', // what to expect back from the PHP script, if anything cache: false, contentType: false, processData: false, data: form, type: 'post', success: function(php_script_response){ alert(php_script_response); // display response from the PHP script, if any } }); However this is not the code I want to use as I have a progress bar linked to my other method that I want to use. Here is the code I am trying to use, it is calling my upload script but no FormData is been passed through at all. var form = new FormData(); let msg = $("#msg").val(); form.append('file', file); form.append('msg', msg); form.append('size', file.size); $(".uploader__share").addClass("hidden"); $(".uploader__progress").removeClass("hidden"); $("#msg").prop("readonly", true); const xhr = new XMLHttpRequest(); xhr.open("POST", 'upload.php', true); xhr.upload.addEventListener("progress", e => { const percent = e.lengthComputable ? (e.loaded / e.total) * 100 : 0; $(".progress-bar").width(percent.toFixed(5) + "%"); }); xhr.setRequestHeader("Content-Type", "text/plain"); xhr.send(form); I've also tried setting the "setRequestHeader" to: xhr.setRequestHeader("Content-Type", "multipart/form-data"); But nothing seems to be working. Can someone help me resole this please Thanks in advance!