WDYWT - November 25, 2016 - Streetwear | Streetwear

Pages

Friday, November 25, 2016

WDYWT - November 25, 2016 - Streetwear

WDYWT - November 25, 2016 - Streetwear


WDYWT - November 25, 2016

Posted: 24 Nov 2016 04:07 PM PST

Welcome to the daily WDYWT Thread!


WDYWT = What Did You Wear Today. It doesn't necessarily need to be what you were wearing TODAY.


If you're looking for other ways to interact with the /r/streetwear community, you might want to check out our official social media accounts:

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

Simple Questions and General Discussion - November 25, 2016

Posted: 24 Nov 2016 04:07 PM PST

Welcome to the Simple Questions and General Discussion thread!


You know the drill, this thread is up for any kind of discussion, it doesn't have to be about streetwear!

All W2C/ID requests belong in this thread


If you're looking for other ways to interact with the /r/streetwear community, you might want to check out our official social media accounts:

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

Re: Friend's Vans Custom - Fit Pic @limelightsparrish

Posted: 24 Nov 2016 11:56 AM PST

Patagonia donating 100% of its Black Friday sales to envrionmental groups

Posted: 24 Nov 2016 02:34 PM PST

[Python Tutorial] Restock / Release Monitor + Notifier - Never Miss A Release Again!

Posted: 24 Nov 2016 05:33 PM PST

Welcome!

There was a bit of hype for a tutorial so I had to deliver. If you know 0 python you're probably gonna have a bad time. I'd get versed on the basics first on a site like SoloLearn first. That being said let's get right into it.

Why code this yourself / learn to code?

If you really get into it and keep learning you can have the program monitor a page, then as soon as the item(s) you want drop, it'll check them out or add them to your cart for you, or open your browser to the page you've been watching, or tweet restocks like @supremealerts does or integrate it to make an app a la Restocks. The possibilities are fucking endless.

Section 1 - Getting Started / What you'll need

Section 2 - More Prep

  1. Go ahead and crank up pycharm AFTER you have installed any version from 2.7.0 to 2.9.0

  2. Next make a new project as shown below

    http://imgur.com/a/io48D

    1. Lastly make a new python file and call it whatever you want, IE "monitor.py" "watchpage.py" etc. (note you do not need to add .py at the end)

    http://imgur.com/a/gojXh

Section 3 - Let's start coding

  1. First we need to import all the modules we'll need -

    • time for setting delays
    • requests to grab the websites content
    • smtplib to send our email alerts when those new pieces drop
    • and finally timeit for actually tracking time

    Your code should look like the following

    http://imgur.com/a/QhnT9

  2. Skip some lines and put the following code for the first part of our timer

    http://imgur.com/a/8M598

  3. Your code should now look like this so far

    http://imgur.com/a/1IXDi

Section 4 - Email Alert Function

  1. Next we're gonna skip a line or two and make our function to email us when something changes called "send_email" by typing the following. We will pass your gmail username, app password, who your mailing it to, subject and body into the function as parameters.

    http://imgur.com/a/92lbq

  2. Now we have to actually fill in the guts of the function. We'll start off by assigning/reassigning some variables. Go ahead and add this. (it'll make sense later i promise bb gurl)

    http://imgur.com/a/CIsKu

  3. Now we'll continue to build onto our email sending function. I have written out the following code for you to just paste in because it's a lot and spacing/indentation is fucking crucial here.

    PASTE THIS IN

  4. It essentially creates a message variable from your supplied subject and body variables, and tries to send the email according to your specifications (which we will define later on). If it fails it will print out "failed to send mail," then the reason why.

  5. We are now done with our send_email function, your code should look like this.

    http://imgur.com/a/5Jc2T

Section 5 - main() and requests

  1. Just like we did for our send_email function we're gonna make a function called main but it will have no parameters (things after the parentheses). Be sure to press enter a couple times.

    http://imgur.com/cIgPKly

  2. Easy enough right? Ok, now we are going to call the Session() function from the requests library in order to grab the content of the site later on. The "as c" part simply means we can type c.blahblah instead of typing out the whole word "requests" every time. Don't get lost its really not that hard or important. Just know "c" is substituted for typing out "requests" every time.

    http://imgur.com/a/530u0

  3. Your main function should look like this so far

    http://imgur.com/a/vUox0

  4. Your ENTIRE program should be this so far

    http://imgur.com/a/sQAzB

Section 5 - Picking a site, how often to check, who to email, and more!

  1. First we'll make a string variable called url containing the url we want to monitor - be sure to enclose it in quotes

    http://imgur.com/p9AMu9c

  2. Next we'll make an integer variable called wait_time which will be the time in seconds our program waits between checking the site for changes. I recommend a minute or two (60 or 120) to avoid getting blocked.

    http://imgur.com/7YJDU7E

  3. Now make a string variable called user and insert the gmail address you will be emailing yourself from (IE "ucantdress@gmail.com")

    http://imgur.com/LQoaf7J

  4. Now, in order to allow our program to login to your gmail, you will need to go here and generate an app password. Find this, then hit generate, and this should come up. You will use the App password (IE "fjgi hgjs qiro lskd") you just generated in place of your gmail password when the time comes!

  5. Create a string variable called pwd to hold the app password you just made

    http://imgur.com/gIXCoDM

  6. Make another string variable this time called recipient to hold the email you want to send to

    http://imgur.com/b8LzZS3

  7. More string variables, this time called subject, fill it with the subject line of your choice (IE "SITE UPDATED")

    http://imgur.com/wAQVWaq

  8. Lastly, we'll make one more string variable called body, and you can't leave this blank or else gmail will filter it as spam and your phone won't vibrate when you receive it etc. In my example I make the body say "CHANGE AT " , then i concatenate it with the url we've been watching in the url variable, as shown below.

    http://imgur.com/RScJrSb

    The email will look like this:

    http://imgur.com/oYOVCOS

  9. Everything up until this point

    http://imgur.com/Er3BfTe

Section 6 - Timing and checking for changes

  1. Here's where the requests module we imported and requests.session() as c we set up earlier come into play. We'll start off by downloading the original page - the page before anything has released or restocked - into a variable called page1 by requesting it.

    http://imgur.com/2WGXSS7

  2. Next will put in a super simple piece of code to delay our requests for the time you specified to avoid getting banned and/or crashing the program. Call the time.sleep() function and pass the wait_time variable as the time to sleep.

    http://imgur.com/JLHH7RZ

  3. After waiting a certain amount of time, we want the program to check the contents of the site again. We'll do this by downloading the contents of the site into a variable again, this time called page2.

    http://imgur.com/kan9lSU

  4. Now shit gets kinda hard to comprehend if you've never coded before. Plus this is probaly a sloppy af program tbh but we'll worry about that later. We start by making an "if statement" to check if the content of page1 is equal to the content of page2.

    http://imgur.com/8fT0YLF

  5. The next stuff is honestly way to hard to explain through text plus once again spacing/indentation will most likely fuck half of you so I recommend just pasting the following "if else" statement. This snippet prints output based on whether or not the site was changed, and converts seconds to minutes when displaying the elapsed time. If a change is detected it calls the send_email function we made earlier and, well, sends the email(s) according to your specifications.

    http://imgur.com/CQriHFk http://pastebin.com/Kk8XW3TV

  6. Skip a few lines then hit backspace after the "if else" statement you just put in. Now we need to clear the page2 variable so it can grab the content of the site again when it's looping through. I did this simply by setting page2 to None.

    http://imgur.com/wReE4Tj

  7. Almost done. Now we just need the program to keep doing this over. Instead of any type of legitimate loop, we just call the main() function within itself so it keeps on doing what we want it to.

    http://i.imgur.com/kOWeFuS.png

  8. Last step, we just need to call the actual main function by adding this last short section at the very end. I don't even know exactly why this is the way it is but is how things are.

    http://imgur.com/fNNN7nj

    Closing

Well that's it. I hope it didn't suck, a video tutorial would have been better but I don't have the means to make one rn. I'm sure half of you are lost as fuck so here's the source. If there are any other hacker skids into infosec and coding please hit me up i'd love to work with you. I just made a discord (i'm Chief Keef#1614). Also feel free to ask questions below and help others where you can.

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

Frank Ocean Released a Free T-shirt for Black Friday Out of Nowhere

Posted: 24 Nov 2016 09:58 PM PST

I found out through Tyler the Creator's Instagram. He had the site boysdontcry.co in a caption, so I quickly rushed onto it. I saw that there was a shirt and it said it was $0.00. I was like "what the fuck" and tried to order it as fast as I could, but I was too late. I don't know how many were available. I'm just sitting here feeling like I've failed miserably.

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

[Pickup] Pharell Human Race Jacket

Posted: 24 Nov 2016 05:10 PM PST

Something a little different - Inspo album of streetwear/fashion heavy 1/6 Toys from various companys

Posted: 25 Nov 2016 12:40 AM PST

Idea for a new recurring thread

Posted: 24 Nov 2016 06:49 PM PST

Hey fam, I've been lurking on this sub for about two years now and a thread I think would really do well is a "Rate my wardrobe" thread. Users could submit pics of their favorite / as many pieces as they want, and maybe a fit pic or two. It'd be a good place for constructive criticism, as well as ideas and suggestions for what people might need / lack in their wardrobe. What do y'all think?

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

New 3.0 UBs at FinishLine

Posted: 24 Nov 2016 06:09 PM PST

Made this to include to the new Glone meme.

Posted: 24 Nov 2016 03:43 PM PST

Biggest W ever

Posted: 24 Nov 2016 05:59 PM PST

Went to a Foot Locker event last week, saw this amazing custom biker jacket

Posted: 24 Nov 2016 03:14 PM PST

Family brought the heat for thanksgiving

Posted: 24 Nov 2016 03:41 PM PST

What type of clothing do the bitches love?

Posted: 24 Nov 2016 07:25 PM PST

I've been wearing some fire shit and the girl I like don't even bat a eye what do the girls go crazy for need some help

Edit: I even keep my jacket unzipped so they see the brand

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

Repost - NASA jersey Black Friday sale

Posted: 24 Nov 2016 06:13 PM PST

I GOT BANNED FROM VLONE SUB FOR TRYING TO START DISCUSSION ABOUT VGILDANLONE AND IAN.

Posted: 24 Nov 2016 11:04 AM PST

My black friday pickups. Pretty satisfied

Posted: 24 Nov 2016 11:40 PM PST

Are these worth the cop?

Posted: 24 Nov 2016 01:27 PM PST

It all started from the white ultraboost...

Posted: 24 Nov 2016 10:26 AM PST

Thoughts on these thrifted pants.

Posted: 24 Nov 2016 09:16 PM PST

For those in need of a dusk boot alternative - Oliberte's is on sale for 119 down from 170.

Posted: 24 Nov 2016 04:08 PM PST

Pingyshirt came in, ty /u/ogsafe, great moves.

Posted: 24 Nov 2016 08:32 AM PST

What are some streetwear DOs and DON'Ts

Posted: 24 Nov 2016 05:43 PM PST

DO: Integrate weird items into a sensible fit

DON'T: Wear multiple branded pieces at the same time.

EDIT: Obviously not trying to put anyone's style down. Just seeing what people can think of.

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

This FOG jacket is on sale for $300 at PacSun

Posted: 24 Nov 2016 08:12 PM PST

Nordstrom Rack finds (CP and Gucci)

Posted: 24 Nov 2016 06:03 PM PST

No comments:

Post a Comment