Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 17 09:32
    User @bjorno43 unbanned @linkin-park
  • Jun 20 21:19
    @bjorno43 banned @shenerd140
  • Apr 25 17:13
    @mstellaluna banned @cmal
  • Jan 08 22:05
    @mstellaluna banned @dertiuss323
  • Nov 07 2018 04:42
    User @texas2010 unbanned @ows-ali
  • Nov 02 2018 16:25
    @texas2010 banned @ows-ali
  • Oct 12 2018 05:50
    @bjorno43 banned @NACH74
  • Oct 05 2018 23:02
    @mstellaluna banned @JomoPipi
  • Sep 16 2018 12:21
    @bjorno43 banned @yash-kedia
  • Sep 16 2018 12:16
    @bjorno43 banned @vnikifirov
  • Sep 05 2018 08:12
    User @bjorno43 unbanned @androuino
  • Sep 05 2018 07:38
    @bjorno43 banned @androuino
  • Aug 23 2018 16:57
    User @bjorno43 unbanned @rahuldkjain
  • Aug 23 2018 16:23
    @bjorno43 banned @rahuldkjain
  • Jul 29 2018 14:13
    User @bjorno43 unbanned @jkyereh
  • Jul 29 2018 01:00
    @bjorno43 banned @jkyereh
  • Jul 10 2018 22:09
    @bjorno43 banned @manafn
  • Jul 06 2018 15:20
    @texas2010 banned @imlegend19
  • Jul 03 2018 12:28
    @bjorno43 banned @vbvmatta
  • Jun 29 2018 13:54
    @bjorno43 banned @OGTechnoBoy
DraGoNKiSs
@DraGoNKiSs
are u asking us to decrypt it?
ive seem some very handy decrypter out there
Gulsvi
@gulsvi
@Frosty427 Lorem ipsum text is not really latin
It has a bunch of latin in it though
DarkxPunk
@DarkxPunk
Aloha everyone
Eric Weiss
@eweiss17
guten tag
DarkxPunk
@DarkxPunk
How you doing this evening?
Eric Weiss
@eweiss17
learning react
Lee
@LeeConnelly12
What should i be aware of security-wise when setting up a site with a database without a PHP framework?
Brad
@bradtaniguchi
@LeeConnelly12 Uh all of them? (sorry for being generic I just idk haha)
Asher
@AJB14
Hey I'm try to learn visual basic and in my textbook there is a project where I need to make a program the when you enter your name as lastname,first name it will switch the names places and remove the comma I cant seem to find out how to do this any help would be appreciated.
Ken Haduch
@khaduch
@AJB14 - I don't know visual basic, at least haven't looked at it in years - look at string manipulation functions (I might try to google and see what hints I could give) but something like a "split" method or function, that's where I would start.
Ken Haduch
@khaduch
@AJB14 - this page looks like it would be what you want to use - "Split" and you specify a delimiter, it returns an array of the strings that are found. There is "RTrim" and "LTrim" to remove leading and trailing spaces. Then a "Join" to form them back to a string, or maybe just concatenate them using a space in between the two words.
Nick
@rhozeta
Hey, can anyone help me out! I am trying to do authentication with JsonWebToken and Passport, but I keep getting this error after applying passport.authenticate to my route:
(node:2624) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): CastError: Cast to ObjectId failed for value "undefined" at path "_id" for model "Post"
(node:2624) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Here is the strategy:
var opts = {}
opts.jwtFromRequest = ExtractJwt.fromAuthHeaderAsBearerToken()
opts.secretOrKey = 'theysaidnmlmlm'
opts.issuer = 'accounts.theysaid.co'
opts.audience = 'theysaid.co'
passport.use(new JwtStrategy(opts, function(jwt_payload, done) {
  User.findOne({id: jwt_payload.sub}, function(err, user) {
    if (err) {
      return done(err, false)
    }
    if (user) {
      return done(null, user)
    } else {
      return done(null, false)
    }
  })
}))
Abraham Andres Luna
@geniusFunk
You could always browse the internet for more resources and tutorials about what you need to build. i like codeproject
@jvondarke try codeproject
@rhozeta I don't see the where you define the 'done' variable
Ryan Williams
@Ryanwfile
Can someone please help me with this div background image moving, the image moves as text appears and I just want the image to stay still, any help is greatly appreciated https://codereese.com/
Abraham Andres Luna
@geniusFunk
@Ryanwfile body {
background-image: url("img_tree.png");
background-repeat: no-repeat;
background-position: right top;
background-attachment: fixed;
}
The fixed position will stop it from scrolling
Ryan Williams
@Ryanwfile
@geniusFunk Thank you so much, tried editing so much CSS in the inspector and couldn't pinpoint it
CamperBot
@camperbot
ryanwfile sends brownie points to @geniusfunk :sparkles: :thumbsup: :sparkles:
:cookie: 13 | @geniusfunk |http://www.freecodecamp.org/geniusfunk
Abraham Andres Luna
@geniusFunk
Thx for da brownies @Ryanwfile
What IDE are you using?
Ryan Williams
@Ryanwfile
@geniusFunk The site is on wordpress
Ryan Williams
@Ryanwfile
@geniusFunk I have tried that css in a few locations in the chrome inspector and can't seem to fix the image moving issue, where specifically should I use this css?
Abraham Andres Luna
@geniusFunk
@Ryanwfile use that css on the div class definition
Let me fire up the laptop and review your code
Ghost
@ghost~5928d90bd73408ce4f629b9e
does anyone know useful links for understanding authentication in express just the basic without using mongoose for modelling.. every tutorial i find uses this piece of #### like the writers just copy paste each other
Ali Bulut
@ali27001
image.png
image.png
how can I do that
circle image hover bla bla
do not care about the picture behind
i want to give hover into circle and add icon into
Fabien SHAN
@X140hu4
@ali27001 You could have a div for the background image, a nested div that shows on :hover.
Ali Bulut
@ali27001
Is there any example I can look at
Fabien SHAN
@X140hu4
The image you posted?
Marianissimus
@Marianissimus
@ali27001 A div over a div over a div / OR pseudo-classes - before & after
Frosty427
@Frosty427
@Frosty427
image.png
why does my hamburger button get pushed to the side on mobile?
is it the padding of the colorful flaT?
https://codepen.io/Frosty27/pen/rdVqJb
nvm
founf it
Edy1988
@Edy1988
hi guys check out my portfolio page! https://codepen.io/EdyB/full/eMNPqO/ . Its not pretty... design is not my strong point yet. x
Marianissimus
@Marianissimus
@Edy1988 Hi, I like the colors - the pink and the light blue:)
Fabien SHAN
@X140hu4
@ali27001 quick and dirty example: https://jsfiddle.net/36e6tcwm/3/
Edy1988
@Edy1988
@Marianissimus hi thanks! I really struggle to choose fonts and colours