Programming

CSS not working after exporting project from CodePen to GitHub

Learn Programming - 4 hours 25 min ago

Hello, I am having trouble having my first webpage display properly on GitHub Pages. Everything looks fine in CodePen, where I wrote all of the code originally, and when I export it as a zip and extract all the files it still looks fine when viewed locally. Then after uploading the files to GitHub it no longer displays any of the CSS, even though I am pretty sure I linked the CSS file correctly.

Link to CodePen

Link to GitHub And the actual webpage

I also tried creating another repo and exporting from CodePen as a Gist, but I am having the same problem. I am hoping someone can tell me what I'm doing wrong; I've been trying to fix this for several hours now and I feel like an idiot. I've tried moving the location of my script tags around and manually copying and pasting the code from CodePen and adding all the necessary tags that CodePen leaves out, to no avail.

Sidenote: you can ignore the actual text content, it's pretty much just all filler for the moment.

submitted by /u/Askmehowino
[link] [comments]

What do I need to learn to build a website that will allow a user to upload a csv or txt file, manipulate it, then allow the user to download it?

Learn Programming - 4 hours 28 min ago

I want to build a website that allows users to do the following:

  • Upload many data files (csv or txt), all of them in exactly the same format with different data (this data is being dumped by different monitoring equipment and needs to be manipulated for final use).

  • edit them (ex. move columns around, rename headers, then combine all the files into one)

  • Offer a new file for the user to download as a csv or txt file.

What do I need to learn to do this in practice? HTML/CSS, Javascript, Python, Django? How challenging would this project be? Any and all help is greatly appreciated!

I have a tiny bit of experience with HTML/CSS, and am attempting to learn python, if that helps.

submitted by /u/soil_nerd
[link] [comments]

Can you decrement a static integer automatically inside your class structure when an object of the class is deleted?

Learn Programming - 4 hours 29 min ago

In a constructor, you can automatically increment a static integer (or AtomicInteger, which is apparently the evolved static integer because it is thread-safe), but I am wondering if you can automatically decrement a static integer when an object of that class is deleted.

submitted by /u/ringingbells
[link] [comments]

Anyone know how to create a message box without windows script host?

Learn Programming - 4 hours 34 min ago

I'm developing a tool that collects data, filters it, formats it and then dumps it into a message box to display the output. I have the script working in AHK (AutoHotKey). I know it can be done in VBScript but Windows Script Host is disabled on company computers and wont let the VBS msgbox run. The AHK message box works fine. Issue is, the other guys don't have access to AHK and while yes I'm an admin and can create or enable the value we don't want to do that on company computers.

So is there a way to create a message box without installing anything or changing any registry values and without using WSH?

Example: x=msgbox ("%Output18%" ,0, "MyChMsgBxOutput")

Currently I have it dumping the output into a notepad and then running that which is okay, but not perfect.

submitted by /u/digitalnico
[link] [comments]

Honest opinions about my PORTFOLIO. New to Front-End Dev, looking for an entry-level position

Learn Programming - 4 hours 46 min ago

r/learnprogramming, As I mentioned in previous posts, I've been on a journey to transition from Marketing / Finance to programming. I finally got to the point where I was able to put together my first portfolio page and updated my CV to reflect my new goals. I've been also able to work as a freelancer for a small communications agency as a trainee Front-End dev, which I believe is great for my resume.

Could you please give your honest opinion about my portfolio page and Linkedin ? I'm looking for entry-level positions in the UK or Germany, primarly.

Thanks! (Linkedin link in the portfolio page)

https://serene-harbor-82794.herokuapp.com/home.html

submitted by /u/mendesmeirelles
[link] [comments]

Free code camp post

Learn Programming - 5 hours 4 min ago

Wasn't there a post on the front page about Free Code Camp being good and OP wondering how it could be free? I hadn't actually read it and wonder if it got deleted?

submitted by /u/akafooty
[link] [comments]

Is storing data in SQL tables the best way to go about tagging files?

Learn Programming - 5 hours 5 min ago

I've decided on a mini-project as I've got a fairly big (~100) number of unorganised photos and saw it as a good learning opportunity. The basics of what I'm trying to achieve is two scripts - one which takes a filename and tags as arguments, the second one taking tags as arguments and outputing the paths to any file that has every given tag.

Initially I thought the best way to handle this would be by learning some SQL basics and using mySQL (or mariadb in my case). Currently I'm leaning towards using bash in both scripts, but a cross-compatible script would be nice (if not needed) so python is also in consideration.

Anyway, the more that I've got to thinking about it, the less convinced I am that I actually know what on earth I'm doing. I've got one table so far (columns being file_ID, file_name, file_path) but I don't know how I'm going to implement the tagging system.

Perhaps add a single column "tags" which contains all the file's tags? I don't know how you'd implement a list of values in SQL or if it would be advised. Would probably complicate "select * from file_data where tag='x,y,z'" type statements (e.g if the tags were assigned in order x,y,z for one file but z,x,y another would both be returned?).

This is mostly a sanity check, really. Am I using the right tool for the job or is there a better solution available?

submitted by /u/S3WuKEGH1I89QUL9Ip0H
[link] [comments]

[Arm Assembly] How to concatenate a string?

Learn Programming - 5 hours 5 min ago

So I have a program that loops through a word a letter at a time and performs calculations on each letter to modify it. I then need to return the modified string back to the function.

I thought I could concatenate the letter to a string each itteration of the loop so when the loop is complete, the function will have built a string to return.

How can I concat in ARM assembly?? I can't seem to find too much information on it.

Any advice would be awesome.

Thanks.

submitted by /u/PM_Me_Compliments
[link] [comments]

Writing basic windows apps with ui/ pulling from a webpage

Learn Programming - 5 hours 7 min ago

Hello

I would like to write a basic app for windows to help keep me organized. Basically I want to pull assignments from my school's website and display them on my desktop. I would also consider adding a notepad element into it, but this would be a lesser priority.

I have no idea where to start or even what language. I was wondering if someone would be able to point me in the right direction, or give some advice on where/how to get started.

Any help would be great

Edit: I don't know if either of these are relevant, but i have a tiny bit of experience with Javascript and python

submitted by /u/legosail
[link] [comments]

Free Programming EBooks from O'Reilley

Learn Programming - 5 hours 23 min ago

Learning a new programming language can be tough. For some, like me, a book can be useful for a quick reference or following along from step 1 to step Z with an example product.

O'Reilly has some books available for free that are worth checking out. Just wanted to share!

http://www.oreilly.com/programming/free/

submitted by /u/lechatjaune
[link] [comments]

Pages