Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. LupusInferni

    Rewrite request that matches a pattern

    The answer to this specific question was as follows RewriteEngine ON # Allow urls to not include the .php extension RewriteCond %{REQUEST_URI}/$1.php -f [NC] RewriteRule ^(.+?)/?$ $1.php [L] ## Rules for internal rewrite here. RewriteCond %{REQUEST_FILENAME} !-f RewriteCond...
  2. LupusInferni

    Rewrite request that matches a pattern

    My current .htaccess is this # ErrorDocument 404 /error/404.php Options All -Indexes -MultiViews RewriteEngine On # Allow urls to not include the .php extension RewriteCond %{REQUEST_URI}/$1.php -f [NC] RewriteRule ^(.+?)/?$ $1.php [L] # Silent Redirect from any url ending with mcc-* to...
  3. LupusInferni

    C# I have model with two values: string id and string subject. I am saving it variable a. now i want to pass only id to a method when i have some data

    If I understand this correctly, you have a model which well call Model public class Model { public string ID; public string Subject; } and you want to store it as such public Model a;. You want to pass ID from a as a parameter in a method. You could do one of the following, would...
  4. LupusInferni

    Study Tips/Questions

    I will add to my statement, by clarifying that these 'easy' foods are only eaten while I'm actually coding and more as snacks, I don't/won't work through meal times and take the time/effort to eat better foods; and not all of my snack foods while easy/convenient are necessarily unhealthy either...
  5. LupusInferni

    Study Tips/Questions

    Not even going to try lying, I've spent long stretches of time coding eating whatever was easiest and most accessible (albeit not so much pizza, no delivery where I live) and way too much caffeine.
  6. LupusInferni

    Hi there

    I'm not sure how to really introduce myself except by saying that I'm a game and web developer.
  7. LupusInferni

    C# GameObject[] error

    GameObject.FindGameObjectsWithTag returns an array of Game Objects if you are simply trying to find '1' game object with a tag you should use GameObject.FindWithTag("Animobject").GetComponent<Animator> which returns just a single object more specifically it will return the result as doing this...
  8. LupusInferni

    Fun activity Say hello... in a coding language!

    <?php echo 'Hello, Cory'; ?>
  9. LupusInferni

    Codepen HTML + CSS (scss) don't work

    The problem, after doing the same as you did and seeing it not work, and looking through the code, the variables being used in the css file ' --burger-menu-radius, --primary-color, --primary-color-darker' are never declared and have no meaning. To fix this at the top of the css file add :root {...
  10. LupusInferni

    JavaScript What is wrong in this code?

    It's the equals sign in the `if` statement, In Javascript specifically `=` makes the left hand side be equal to the right hand side `==` Will tell if the values can be considered the same if they were the same type ie. 1 == '1' // would be true `===` Will tell if both the type and the value are...
Back
Top Bottom