<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<!-- google's material design colours from | |
http://www.google.com/design/spec/style/color.html#color-ui-color-palette --> | |
<!--reds--> | |
<color name="md_red_50">#FFEBEE</color> | |
<color name="md_red_100">#FFCDD2</color> | |
<color name="md_red_200">#EF9A9A</color> |
(function () { | |
var scriptName = "embed.js"; //name of this script, used to get reference to own tag | |
var jQuery; //noconflict reference to jquery | |
var jqueryPath = "http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"; | |
var jqueryVersion = "1.8.3"; | |
var scriptTag; //reference to the html script tag | |
/******** Get reference to self (scriptTag) *********/ | |
var allScripts = document.getElementsByTagName('script'); |
⇐ back to the gist-blog at jrw.fi
Or, 16 cool things you may not have known your stylesheets could do. I'd rather have kept it to a nice round number like 10, but they just kept coming. Sorry.
I've been using SCSS/SASS for most of my styling work since 2009, and I'm a huge fan of Compass (by the great @chriseppstein). It really helped many of us through the darkest cross-browser crap. Even though browsers are increasingly playing nice with CSS, another problem has become very topical: managing the complexity in stylesheets as our in-browser apps get larger and larger. SCSS is an indispensable tool for dealing with this.
This isn't an introduction to the language by a long shot; many things probably won't make sense unless you have some SCSS under your belt already. That said, if you're not yet comfy with the basics, check out the aweso
A Pen by Ohidur Rahman Bappy on CodePen.
A Pen by Andreas Storm on CodePen.
''' | |
File name: program.py | |
Author: Ohidur Rahman Bappy | |
Author Website: https://ohidur.com | |
Author Email: ohidurbappy@gmail.com | |
Date created: 19/03/2020 | |
Date last modified: 19/03/2020 | |
Python Version: 3.8.1 | |
''' |
from GoogleNews import GoogleNews | |
googlenews = GoogleNews() | |
# googlenews = GoogleNews('en','d') | |
q=input("Input a keyword to Search: ") | |
googlenews.search(q) | |
googlenews.getpage(1) | |
# googlenews.gettext() | |
# googlenews.getlinks() |
from googletrans import Translator | |
translator = Translator() | |
# use this code for local translator service | |
# translator = Translator(service_urls=[ | |
# 'translate.google.com', | |
# 'translate.google.co.kr', | |
# ]) | |
# open the file 'google_translate_input.txt' and read line by line |