This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib2 | |
import csv | |
import re | |
from bs4 import BeautifulSoup | |
rank_page = 'https://socialblade.com/youtube/top/50/mostviewed' | |
request = urllib2.Request(rank_page, headers={'User-Agent': 'your user-agent'}) | |
page = urllib2.urlopen(request) | |
soup = BeautifulSoup(page, 'html.parser') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package heatwave.ryanaird.com.swipyrecyclerview | |
import android.graphics.Canvas | |
import android.graphics.Color | |
import android.graphics.drawable.ColorDrawable | |
import android.graphics.drawable.Drawable | |
import android.support.v7.app.AppCompatActivity | |
import android.os.Bundle | |
import android.support.v4.content.ContextCompat | |
import android.support.v7.widget.DividerItemDecoration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Fireside Chat</title> | |
<link rel="stylesheet" href="/style/style.css"> | |
</head> | |
<body> | |
<h1>Fireside Chat</h1> | |
<div id="app"> | |
<div v-if="state == 0"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="https://unpkg.com/vue"></script> | |
<script src="https://unpkg.com/axios/dist/axios.min.js"></script> | |
<title>Ron Swanson Quote</title> | |
</head> | |
<body> | |
<div id="app"> | |
<p>{{ status }}</p> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>CSS Grid Video</title> | |
<meta charset="utf-8"> | |
<style> | |
.container { | |
width: 80%; | |
margin: 0 auto; | |
font-size: 0; | |
text-align: center; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Slideshow Test</title> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="style.css"> | |
<link rel="stylesheet" | |
href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> | |
<script src="https://unpkg.com/vue"></script> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Vue.js Router</title> | |
<meta charset="utf-8"> | |
<script src="https://unpkg.com/vue"></script> | |
<script src="https://unpkg.com/[email protected]/dist/vue-router.js"></script> | |
</head> | |
<body> | |
<div id="app"> | |
<nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Todo App</title> | |
<meta charset="utf-8"> | |
<script src="https://unpkg.com/vue"></script> | |
</head> | |
<body> | |
<div id="app"> | |
<h1>Todo App</h1> | |
<todo-form @todo-created="addTodo"></todo-form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Todo App</title> | |
<meta charset="utf-8"> | |
<script src="https://unpkg.com/vue"></script> | |
</head> | |
<body> | |
<div id="app"> | |
<h1>{{ header }}</h1> | |
<todo-form @add-todo="addTodo"></todo-form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Vue.js Animations</title> | |
<script src="https://unpkg.com/vue"></script> | |
<style> | |
* { | |
font-family: sans-serif; | |
} | |
h1 { | |
display: inline-block; |
NewerOlder