Code Monkey home page Code Monkey logo

311's Introduction

stefanbund

311's People

Contributors

4o66 avatar stefanbund avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

311's Issues

placing <div> tag inside a <p></p>

I am currently working on a page, and the page in question has a default layout which I would not like to change. I know in are example we sent the output of are script to the body tag. If I did it with my code it would ruin the layout of the page. In order to get around this I had the output of the script go to a

tag which seems to have worked. However, in my independent study I was told that this was bad practice and should not be done. So my question is should a div tag ever be inside a other html tag such as

or <h#>?

this is what my page structure looks like after the script is done:

<.p>
<.div>
<.h1>
some test
</.h1>
<.p>
text content
</.p>

</.div>

</.p>

From what I can tell everything is working just fine, debugger picks up no issues.

Thanks.

Listing bucket items

Professor, in my project, I want to list the bucket objects immediately after authenticating and before we click anything. The way your code example is showing me is that its coded to display the list after clicking/uploading a file.

I tried calling the bucket.listObjects() function to display without clicking anything but it is not displaying any results

Missing credentials in config when trying to quary db

message": "Missing credentials in config", "code": "CredentialsError", "time": "2017-01-30T22:30:10.380Z", "originalError": { "message": "No credentials to load", "code": "CredentialsError", "time": "2017-01-30T22:30:10.379Z" } }

not sure what I did wrong here, I followed the videos to the letter.

Class

Sir,

Unfortunately, with a person family matter that came up today I won't be able to attend class tonight, so I wanted to what material was going to be cover today, so I could have my homework completed over the weekend and have it turned in on time.

Thanks,
Angel Millet

prefered video formatt?

Do you have a preferred video format?

Ideally I would like to avoid compatibility issues on your end.

thanks

Storing more then one set of values in a cookie.

Hi, I am trying to store 2 values that the user provides, however I am having trouble getting this to work.

I believe the error is happening in the setCookie function:

// we are setting the users name and age.

function setCookie(cname,cvalue1,cage,cvalue2,exdays) {
var d = new Date();
d.setTime(d.getTime() + (exdays2460601000));
var expires = "expires=" + d.toGMTString();
document.cookie = cname+"="+cvalue1+";"cage+"="+cvalue2+";"+expires;
}

two questions, Can I actually store more then 1 value in a cookie? If so do you see anything wrong with my syntax?

About the final

There seems to be a bit of misinformation going around regarding what is expected for the final. Just to be clear our options are to either do:

ASP.NET Final Project or complete your site and do a penetration test.

Do we do one or both?

ASP.Net Final Project

Hello Professor

For the ASP.Net project which part of the project would you like the source code from. In addition for what part of the tutorial would you like us to screenshot.

Thank You
Roberto Hernandez

Uploading files to S3 issue

I watched the uploading files video several times and coded the way it is explain in the video, but for some reason when I hit the upload to S3 button, I'm getting a statement saying ERROR:Networking Error: Network Failure

asp.net assignment

Professor Bund,

Will the dropbox be available before class tomorrow? Can you give us a list of things you would like us to screenshot?

dynamodb

Professor,

can you please provide the code to store a user input text area to dynamodb so that it can permanently be on webpage for everyone to see. I managed to get it to work using local storage but everyone cannot see that content. ex. http://jsfiddle.net/Xh2En/24/

DynamoDB Missing Credentials

I disabled the cache like we discussed and that fixed the issue I was having in class. Now I am having this problem...

image

Speical load order for bootstrap and aws authentication?

I am currently having an issue with integrating bootstrap into my pages that are using aws services. ( ie dynamo db, s3), from what I can tell using bootstrap breaks those pages about 90% of the time ( sometimes when you load the page it will work correctly, but other times it will not load) The error seems to be related to the Facebook authentication not always loading ;subsequently, makes those services dynamo db and s3 functions stop working (due to not being able to authenticate the user). I did make progress, fixing this issue by loading the script for authentication code into the head tag, but the problem still remains sometimes the authentication dose not load.

I have tried looking for an answers and have been unable to find any kind of fix for this.

Note: ( i did test the pages prior to adding the bootstrap they work perfectly.)

Assignment 2 and 3

I was wondering if you were going to be in your office today or tomorrow? I wanted to talk to you about the grade received on those two assignments.

How to pass user input to an object?

I tried:

function objectBuild(firstName,lastName,corps){

var x,y,z;

x = document.getElementById("genfirstname").value;
y = document.getElementById("genlastname").value;
z = document.getelementById("gencorps").value;

this.firstName = x;

this.lastName = y;

this.corps = z;

}

this did not work, so I then tried,

var commander = new objectBuild (x,y,z); // was hoping this would act like the example but with user info being pulled from the users input.

Finally I tried:

`Submit Answer

<script> function objectBuild(firstName,lastName,corps){ this.firstName = firstName; this.lastName = lastName; this.corps = corps; } var x,y,z; x = document.getElementById("genfirstname").value; y = document.getElementById("genlastname").value; z = document.getelementById("gencorps").value; var commander = new objectBuild ("x","y","z"); document.getElementById("output").innerHTML = " commander is name and corps is " + commander.firstName + " "+ commander.lastName +" "+ commander.corps; </script> `

Micro Project 1

For the YouTube Video is it alright if we have no audio on it? I don't have any working equipment.

And for the project itself, do you want us to code the pages and make a YouTube video of 3 separate web pages, where I display the code and show how it works, or are we suppose to make 1 website with 3 web pages?

microproject 3

For micro project 3
Is that due on Thursday or next Tuesday?
And do we still need to create 3 pages same as before?
Thx

Question on js-object2.html

2 questions:

I noticed that in the example the object we created has a internal function called,

this.changeName = function(name) case 2

I was under the impression that a function had to have the following syntax
function nameOfyourFunction() case 1

so I am assuming, that we have three options with uniquely identifying a function in js, we can name it, like in case 1 or we can give it a parameter list which then uniquely identifies it like in case 2 or we do both. Is this correct?

Second question in the example I noticed that a return statement was not needed. Why is that?

thanks for the help.

IAM/COGNITO/DYNAMODB

hello,

I am having a bit of trouble allowing users to sign in using cognito and access dynamoDB.

I think it may be this condition in my IAM policy that is screwing things up

"Condition": {
"ForAllValues:StringEquals": {
"dynamodb:LeadingKeys": [
"${cognito-identity.amazonaws.com:sub}"
]

I have no idea what this condition is or how to satisfy it.

I spent pretty much all this weekend figuring out how to use cognito, and

got most of the dynamodb functions working. Unfortunately IAM roles and policies are

what I am having a lot of problems with now.

Thanks

-Pete Martinez

Micro Project 1

Hello Professor

For the three webpages what would you like us to include?

Having trouble connecting my pages togather.

I am useing what we learned about links this weekend to connect all my pages to my main page. all the pages work correctly when I click on them in s3, However, When I try to go from the main page (which has links to the other pages I get the following)
This XML file does not appear to have any style information associated with it. The document tree is shown below.
AccessDeniedAccess Denied087C51862B6A5C10Z1Eb2GKnNIQVwW4FAzeYKVXAjzFd00wnHVtJBW9SaStmdCX29GTYEZxTBeSzzPOx3AA1xbL1PLo=

Not really sure what I did wrong.

A sample of the syntax used

Check out our armory of weapons!

any suggestions?

thanks.

useing a none Partition Key to querying dynamodb

I started getting an error when I tried to use the none Partition Key to specific the column. I was wondering is it possible to querying are database using something other then a partition key. ( I ended up changing my table to make it work).

I want to give vistors the ability to update my database.

I want to give visitors the ability to leave feed back on the site. I will get the following data from the Visitor : first name, last name, email and short message. All of this data will be saved to a table called Message.

How do I allow anyone to access my dynamodb?

Is that even possible?

missing credentials

Hey everyone, ive been having this problem for weeks and Ive tried everything but nothing seems to be working. I get these errors. can anybody help me out
screen shot 2017-03-04 at 9 53 42 pm
screen shot 2017-03-04 at 9 55 05 pm

MP5 CRUD question

I have the code going and there seems to be no errors, but when I run the site, only put works. It'll appear into the table, but for some reason, get, update, and delete don't work. I'm unsure why it doesn't work, as all variable names are correct, and the policy seems to be correct.

Stuck... (solved)

I created a simple function to get the users input and test it. For whatever reason I cant get it to output the results..... any ideas?

Code:

<title> Page 1 First Battle of Bull Run</title>

First Battle of Bull Run

Histocal background of the battle here

recommend sites to vist

recommend videos

recommend Books

recommend Games

recommend Maps

Test your knowloge of First Bull run!

What year did the battle of first bull run take place?

Submit answer

<script> fucnction myFuction() { Var x,y x = document.getElementById("resp").text; If ( x = 1861) { y = "Wow good job you are correct!"; } else { y = "Sorry that is incorrect"; } Document.getElementById("output").innerHTML = y } </script>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.