Activity
Great question Fritz and thanks for the compliment! :)
So I'm using Wistia because they're really the best video hosting platform for paid content (in my opinion). They have a great API, lots of awesome features like email capture during the video, and do a good job around protecting paid content. Overall, they can be a bit pricey but it's a great service for the business related features if you're looking for something like that.
Posted in Must Read / Must Watch
https://500ish.com/simple-smile-thumbs-up-8865f5912d84
Thought this was pretty fantastic description of the new slack reactions. I really think they are valuable. The syntax for typing them sucks a bit, but it's getting there.
Thanks David! :)
Posted in Activity Feed From Scratch Discussion
Yep! That's correct. It's actually another model instance but just given the name of "eventable" because it could be of various types of models.
I'm still planning on it! I just need to get started honestly. What I wanted to do was wrap up my vlogs about simple-calendar and then hop into that after I'm done. Those should be finished in the next couple days.
You might be able to, I'm not entirely sure. The full names make it more complicated.
You can inspect the HTML on Facebook to get an idea of how they do it. They have a much more complex system for it as you'll see with their "highlighter" class right above the textarea. Rather that doing much of this in text, they handle much of it in the JS instead so they can do more complex things. An out-of-the-box JS library like at.js won't be able to compete with that.
Haha such markdown fail.
I'm pretty sure an i
tag isn't intended to be wrapped around a form. That's likely invalid HTML that the browser strips and replaces.
Great points! Upvoting so everyone can see this. :)
In-app notifications is actually going to be my next episode!
Fun fact! You don't need ~ because it will default to that if you don't put it in. I learned that not too long ago. :)
Never used that. I'll check it out. From everything I've read, I think that you can use the "autoload" method somehow, but I've never gotten it to work.
I'm not sure I have this exactly how it was in this episode, but I continued refactoring it and it's now inside:
https://github.com/excid3/s...
https://github.com/excid3/s...
The EXTRACT is required because you need something to pull out the week day inside the database so you can make the comparison. The Ruby method unfortunately can't help you here because this is running a query inside the database.
Yeah no worries! The times when you see text in square brackes means that's the default value if you hit enter. You'd probably see something like [~/.ssh/id_rsa]
which means it will store to that file by default if you don't type a file in. Just one of those little Unix annoyances.
You want to save it to the default location by just hitting ENTER. What's the failure say?
Posted in API TOKEN DEVISE
Ah perfect. In that case, I think you'd be best off with devise_token_auth
. It's designed more for that use case.
Posted in API TOKEN DEVISE
Hey Saul,
I've never actually used devise_token_auth but it sounds like it might do the same thing. I'm not entirely sure. It seems to do the same thing as devise_token_authenticatable but provides more functionality. It definitely seems to be helpful if you're using React or Angular.
I guess maybe the best question is what are you trying to accomplish?
Ha! Thanks for catching that typo :)
I'm actually using a suite of Vim plugins called Janus and I'm not sure what plugin it is that does that. It's definitely one of them listed here. Also I'm using MacVim which probably helps to provide that functionality. http://github.com/carlhuda/...