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
/* | |
* Created by Bilal Elmoussaoui <bil.elmoussaoui@gmail.com> | |
*/ | |
use failure::Error; | |
use std::collections::HashMap; | |
pub fn parse_content(content: &str, schema: &str) -> Result<HashMap<String, String>, Error> { | |
let mut output: HashMap<String, String> = HashMap::new(); |
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
from bs4 import BeautifulSoup | |
import requests | |
url = "https://eztv.yt/search/avengers-assemble" | |
season_nr = 4 | |
start_episode = 1 | |
end_episode = 13 |
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
# Created by newuser for 5.3.1 | |
export PATH=$PATH':/home/bilal/.gem/ruby/2.4.0/bin' | |
export ZSH=/usr/share/oh-my-zsh | |
export DISABLE_AUTO_UPDATE=true | |
export ZSH_CACHE_DIR=$HOME/.cache/oh-my-zsh | |
export EDITOR=nano | |
export CODACY_PROJECT_TOKEN=4bcdaabed0c4459eba03cc0c6156315c | |
fpath=(~/.zsh/completion $fpath) | |
# compsys initialization |
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 requests | |
from urllib.parse import urlencode | |
import logging | |
ORGANIZATION = "elementary" | |
logging.basicConfig(format='%(asctime)-15s %(message)s') | |
logger = logging.getLogger('github') | |
logger.setLevel(logging.INFO) |
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
# initialization file (not found) |