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
// ==UserScript== | |
// @name Steam Link Filter Disabler | |
// @namespace https://steamcommunity.com | |
// @version 0.1 | |
// @description Disable the link filter on steamcommunity links. | |
// @author laymonage | |
// @match https://steamcommunity.com/* | |
// @grant none | |
// ==/UserScript== |
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
function writeTable(items) { | |
/** | |
* Write items to table. | |
*/ | |
var tbody = $('tbody'); | |
tbody.empty(); | |
$(function() { | |
$.each(items, function(i, item) { | |
var author = item.volumeInfo.authors ? item.volumeInfo.authors[0] : '-'; | |
var thumbnail = item.volumeInfo.imageLinks ? item.volumeInfo.imageLinks.smallThumbnail : ''; |
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
stages: | |
- test | |
- deploy | |
UnitTest: | |
image: python:3.6 | |
stage: test | |
before_script: | |
- apt-get update -qq && apt-get install -y -qq chromedriver | |
- pip install -r requirements.txt |
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 os | |
import requests | |
from bs4 import BeautifulSoup | |
def scrape(link): | |
''' | |
Fungsi rekursif untuk scraping blog punkindonesiamp3. | |
''' |
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
(function () { | |
document.documentElement.innerHTML = '<iframe width="1280" height="720" src="https://www.youtube.com/embed/dQw4w9WgXcQ?autoplay=1"></iframe>'; | |
})(); |
NewerOlder