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
" vim: fdm=marker: | |
" Recommended for vim >= 7; no guarantee of compatibility with earlier versions | |
" Lucas Oman <me@lucasoman.com> | |
" --enable-rubyinterp --prefix=/usr --enable-ruby | |
" Get latest from: http://github.com/lucasoman/Conf/raw/master/.vimrc | |
" load pathogen | |
call pathogen#runtime_append_all_bundles() | |
"set t_Co=256 |
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 | |
import sys | |
from datetime import datetime, timedelta | |
import pytz | |
from PIL import Image | |
from StringIO import StringIO | |
import os | |
import logging | |
# python himawari.py |
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
#include <stdio.h> | |
#include <math.h> | |
#include <iostream> | |
#include <vector> | |
#include <algorithm> | |
int main () | |
{ | |
// lista cu numere prime | |
std::vector<int> primes; |
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 | |
import time | |
import sys | |
import json | |
from bs4 import BeautifulSoup | |
HEADERS = { | |
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.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
import requests | |
# Constants | |
API_URL = "https://api.real-debrid.com/rest/1.0/" | |
API_TOKEN = '[tokenhere]' # Replace this with your actual Real-Debrid API token | |
def get_headers(): | |
"""Prepare the authorization header.""" | |
return { | |
'Authorization': f'Bearer {API_TOKEN}' |
OlderNewer