• Breaking News

    Thursday, October 10, 2019

    Triplebyte's ads piss me off so much I wrote some Javascript to hide them web developers

    Triplebyte's ads piss me off so much I wrote some Javascript to hide them web developers


    Triplebyte's ads piss me off so much I wrote some Javascript to hide them

    Posted: 10 Oct 2019 11:07 AM PDT

    It's super basic and inefficient and uses jQuery but here it is. I load it into Reddit with a Chrome extension. Post improvements if you're bored.

    function getFuckedTriplebyte(){ var posts = $('.ListingLayout-outerContainer > div:not(.ListingLayout-backgroundContainer) > div > div > div > div'); if (posts.length){ posts.each(function(i, el){ if ($(el).is(':hidden')) return; var text = $(el).text(); if (text.includes('Triplebyte')){ $(el).hide(); console.log('Get Fucked, Triplebyte'); } }); } } getFuckedTriplebyte(); setInterval(function(){ getFuckedTriplebyte(); }, 5000); 
    submitted by /u/drowninginteger
    [link] [comments]

    How Website Accessibility Affects Online Businesses In 2019 And How To Respond

    Posted: 10 Oct 2019 05:34 AM PDT

    Reddup.co use JavaScript Service Workers to display ads on your desktop

    Posted: 10 Oct 2019 03:42 AM PDT

    I couldn't believe my eyes when I saw a desktop notification on my Windows machine pop up with an advertisement on it. After investigating why this was happening, I found out that it was stemming from a service worker that was registered from the site reddup.co. Beware of this site. I'm not sure if many people would know how to stop service workers from running. (In chrome, hit f12, go to "Application", go to "Service Workers", find the service worker, and click "unregister".)

    Proof: https://i.imgur.com/peHC7o7.png

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

    I made a silly website to calculate meeting costs

    Posted: 10 Oct 2019 01:36 PM PDT

    Why do a lot of modern Javascript tutorials still use the var keyword?

    Posted: 10 Oct 2019 01:01 AM PDT

    I've noticed that a lot of tutorial articles written in 2019 still use the "var" keyword. There's even some popular open source projects that use "var". If let is pretty much a replacement for var, why is it still used?

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

    My guide to the GitHub Package Registry!

    Posted: 10 Oct 2019 11:21 AM PDT

    Ecommerce platform for a small shop.

    Posted: 10 Oct 2019 11:36 AM PDT

    Disclaimer: I'm a dev (PHP/C#/JS) who mostly builds CRMs, internal management systems in .NET / Laravel, previously working as Front End, Wordpress dev.

    Question:

    I haven't touched ecommerce for a couple of years now. I need to develop a shop for someone, selling limited edition pieces of clothing, trainers. Another part of it would be a quotation functionality - customers would be able to upload some data and pictures of their trainers/shoes and get a quotation for the restoration from the shop.

    Pretty simple stuff. Now, I have built small e-shops using Wordpress and Woocommerce in the past, but I wanted to explore something different and I am not sure if this is something I should do, I'm a bit out of the loop when it comes to ecommerce.

    I adore Laravel, but the only viable shop solution I could find was Bagisto, which is still running on Laravel 5.6 which is relatively old now. I don't want to touch Magento ever again and not very keen on Shopify. I can build bespoke functionalities if I have a good base, Wordpress I'm sure will work for this but maybe there is another (maybe Laravel based) platform that I could use instead, which is secure and maintainable?

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

    Does anyone have a good note taking app on the mac for programmer?

    Posted: 10 Oct 2019 01:02 PM PDT

    I did some research and it seems like Quiver on the mac is the only note taking app that is made for programmers. But it's barely supported and abandoned for years. Are there anything else like that out there?

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

    A Guide To New And Experimental CSS DevTools In Firefox

    Posted: 10 Oct 2019 01:00 PM PDT

    Is it possible to keep a Facebook app in dev mode permanently?

    Posted: 10 Oct 2019 03:00 PM PDT

    Is it possible to keep a Facebook app in dev mode permanently and use it on a live site? I have a use case where there is an app that is only used to generate an access token and that access token is used to grab posts from a Facebook page and display them on a website with data grabbed on the site via CURL. The requests to Facebook are heavily cached and only ever come from the website. Due to the client having some problems getting verified with Facebook and the fact that the app is only a means of access for the website to Facebook's API, is there any reason the app could not stay in dev mode forever? Will Facebook eventually see the consistent usage and cut off access or are there any other gotchas that may appear if the app is kept in dev mode forever on a live site? Thanks!

    submitted by /u/-BMR777-
    [link] [comments]

    Software Composition Analysis Explained

    Posted: 09 Oct 2019 11:12 PM PDT

    Question about editing my domain I already own (sorry I’m a noob)

    Posted: 10 Oct 2019 02:47 PM PDT

    To preface this: I have done a ton of trial and error and research and still for some reason can't figure it out.

    Hey all! I bought a domain on godaddy. I own it for three years. I assumed I could edit the site with them for free, but they want an absurd amount of money to use their editor.

    Can I transfer my domain to a free website editor? I need to be able to continuously update my website.

    And help, even simply a link to a website or a YouTube video would be greatly appreciated! Thank you!

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

    CSS Grid Flexbox Framework only?

    Posted: 10 Oct 2019 02:30 PM PDT

    I know we can use Bootstraps 4, or CSS Skeleton and I am sure there are others out there.
    The reason I don't want to use them is that it comes with predefined font-families, styles, etc.
    I just want a purely CSS grid flexbox framework. Is there anything you guys can highly recommend?

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

    Summernote table border not showing up

    Posted: 10 Oct 2019 02:19 PM PDT

    After inserting table in summernote, it doesn't show the borders when displaying. I am assuming I have to change some css but I have tried. Do I need to change or add summernote table class?

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

    Is this a good next step for a Freelancer?

    Posted: 10 Oct 2019 02:14 PM PDT

    After several months of learning and practicing I'm reaching a point where I can develop full interactive websites. Over the next month I will be looking for freelance jobs but still want to become more competitive and expand my web development skills. I want to be able to develop full stack web applications that involve more heavy duty backend work and in doing so get bigger clients. So,

    I wanted to ask if you guys think that getting a AWS Solutions Architect Associate certificate would be a good step to becoming a more competitive freelancer and a better well rounded full stack developer.

    Or is there anything else you would recommend for me to become a better developer and freelancer?

    (example work for anyone concerned about my current abilities: http://thisisatl.com http://www.andmenendez.com/ )

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

    Any good public bug reporting and status systems out there?

    Posted: 10 Oct 2019 07:54 AM PDT

    I have a side project with an active and helpful community, but I'm trying to figure out a good centralized way to allow users to report bugs / suggest features and see the status of that.

    I'm picturing something like github issues, but without all the code published because I want this to be for regular users, not just devs.

    I'm seeing a few things popup in Google, but it doesn't seem to have the public status side where people could upvote a bug like "I'm also having this issue".

    Thanks for any suggestions!

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

    Anyone Create a Large Product Base Store on 3dCart?

    Posted: 10 Oct 2019 01:20 PM PDT

    Hey Guys,

    Wondering if anyone here has ever created a large scale store on 3dCart? It looks like my clients competitor is on here & I think it may be a good CMS for what they are trying to do.

    I have played around in the 'backend', looked at the developer documentation, and it looks like it could work for what we need. It's an auto parts store and they want to have around 18k-40k product sold on the site.

    The competitor currently has 18k and it seems to be running really fast (500ms and 1.5s between the two).

    Honestly, it may be a better custom solution but the site wouldn't make enough revenue to justify that (or using Magento for that matter) .

    What do you guys think? Any bottlenecks you could see come from this? Also, does 3dCart handle site security on their end or is there something I should be looking out for? Thanks!

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

    Web Design begginer looking for tips

    Posted: 10 Oct 2019 12:58 PM PDT

    Hey folks how ya doin.

    This is my history:

    Did some courses on webdesign (Nothing too complex, learned some basic animation, html, css and javascript) back when I was fifteen this was like 10 years ago and never worked with anything like that after, Been working with IT Infrastructure for some time now, and I really don't like it so I was wondering if I could start developing some stuff for extra cash and maybe change my actual career (I'm on Infrastructure only because the door was open and I needed the money). I've worked on my own projects, although never completed any of them, and wanted some tips to start with. How is the market? Do people usually go to wix.com or sort and do everything there or design stuff with a notepad++ head bashing they keyboard?

    Thanks y'all

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

    (ReactJS question) How do I call a regular JS method in index.html via a button click?

    Posted: 10 Oct 2019 08:46 AM PDT

    I have an application that uses a third party library and the code uses jQuery inside of it. I could not figure out how to import this old code in the component along with all the dependencies so I thought I would place it in the index.html file. I was able to achieve something similar in Angular 4 but have not been able to do the same in React.

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

    Have user type in their zipcode and a site show closest results in a database

    Posted: 10 Oct 2019 12:31 PM PDT

    I have a database with several zip codes, I want to display the 10 closest results when a user writes their zip code in. Any ideas?

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

    A question in the key of OAUTH.

    Posted: 10 Oct 2019 12:25 PM PDT

    So I am currently writing an app. As part of the app's functionality, the user of the app needs to be able to authenticate with a remote endpoint (not owned by me), to access their resources.

    I already have an authorisation code grant flow for OAUTH set up, and my question is this. Once the authorisation server responds with a token, then what do I do?

    Do I deliver that token to the user's browser from my server, and then make requests to the remote resource's API authenticated with that token? Or do I make requests to my backend from the frontend, then append the token to those requests and relay them on to the API?

    I'm quite confused. The former seems insecure, and the latter seems unduly complicated.

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

    Can I use OCR to find and click a button?

    Posted: 10 Oct 2019 12:17 PM PDT

    I want to scrape some data from AirBnb's calendar. I need to click the 'next month' cal button and scrape the data.

    The button isn't a simple js object, so I can't emulate the on_click.
    Ideas?

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

    Moving from Ruby on Rails to NodeJS/Express. Starting this job in three weeks. Need advice.

    Posted: 10 Oct 2019 05:58 AM PDT

    Hey,

    So I landed myself a good role at a place where there use NodeJS/Javascript/Express. I have only a small experience playing around with JQuery (making things move around, ajax) but I am concerned about not being able to pull myself through the first couple of months because of my very small experience with these technologies.

    On the other hand, I have two years working with Ruby and Ruby on Rails, and Javascript is still an OOP language.

    My question is have you had any experience in this transition? What would you recommend is a MUST.

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

    Rx.js: Best Practices

    Posted: 10 Oct 2019 05:57 AM PDT

    No comments:

    Post a Comment