Skip to content

Instantly share code, notes, and snippets.

View brennanbrown's full-sized avatar
Looking for FOSS projects to contribute to!

Brennan Kenneth Brown brennanbrown

Looking for FOSS projects to contribute to!
View GitHub Profile
@brennanbrown
brennanbrown / footer.html
Last active July 25, 2020 06:57
How to ALWAYS ensure a footer is at the bottom of a web page, regardless of how much content is on the page or the viewport size of the screen.
> evolveu-user-generated-content@1.0.0 start /home/brennan/Documents/evolveu-user-generated-content
> npm run start:server
> evolveu-user-generated-content@1.0.0 start:server /home/brennan/Documents/evolveu-user-generated-content
> cd server && npm start
> ugc-server@1.0.0 start /home/brennan/Documents/evolveu-user-generated-content/server
> node server.js
<!DOCTYPE html>
<!--height 100% takes up all available room on the page-->
<style>
a {color: green; background-color: hotpink}
</style>
<html style="background-color: red; height:100%;">
<head>
<!-- notice title changes name of the tab in your browser-->
<title>Evolve U Messaging</title>
</head>
<!DOCTYPE html>
<html>
<head></head>
<body id='htmlBody' class='body' style='background-color: teal; color: white;
border: 5px solid yellow; border-radius: 20px'>
<div id='hello' myName='Chris'>
<div style='text-align: center; background-color: grey; width:10%'>
Hello World!
</div>
<br/>
<!DOCTYPE html>
<html>
<head></head>
<body id='htmlBody' class='body' style='background-color: teal; color: white;
border: 5px solid yellow; border-radius: 20px'>
<div id='hello' myName='Chris'>
<div style='text-align: center; background-color: grey; width:10%'>
Hello World!
</div>
<br/>
@brennanbrown
brennanbrown / potential-beeminder.md
Created February 10, 2020 14:43
A list of potential systems I could implement on Beeminder if I work out the current problems they have/if they're worth it.
  • /3Things: Tracking the three most important/interesting things that happened during the day. I think this would be better in my bullet journal. Will be manual.
  • /WordCount: Tracking the amount of words I write per day. Will either be manual or via Draftin? I don't use Draftin which is why this system failed in the past, maybe if I just manually enter it'd be easier.
  • /Books or PagesRead: Tracking the amount of books I read. Didn't work out before because I don't read enough :( Will be manual.
  • /Duolingo or French: Tracking the amount of XP I gain using Duolingo. didn't work because it's pretty exhausting to use for little actual language learning. I think I need better resources.
  • /Runkeeper or Outside/Walking: Tracking the amount of distance or time I am outside walking. Might be easier to record manually.
  • /Meetups or Networking: Tracking the events that I attend. This is actually a good idea, I just need to get out more. Will be manual. (Wouldn't a MeetUp API connection be co