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 urllib | |
import urllib2 | |
def brute_force_api_key(url, begin_api_key, ending_api_key): | |
actual_api_key = None | |
for api_key in range(begin_api_key, ending_api_key): | |
headers = { 'X-API': api_key } | |
data = {} | |
values = urllib.urlencode(data) |
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 'dart:async'; | |
import 'package:rxdart/rxdart.dart'; | |
class DateService { | |
static DateTime now = DateTime.now(); | |
static DateTime today = DateTime(now.year, now.month, now.day, 0, 0, 0, 0).toUtc(); | |
BehaviorSubject<DateTime> dateSubject = BehaviorSubject<DateTime>.seeded(today); | |
Stream<DateTime> get currentDate => dateSubject; |
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 'package:firebase_messaging/firebase_messaging.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:myapp/database/database.dart'; | |
import 'package:myapp/screens/home.dart'; | |
import 'package:myapp/screens/list_words.dart'; | |
import 'package:myapp/services/locator.dart'; | |
import 'package:myapp/screens/settings.dart'; | |
import 'package:myapp/database/models.dart'; | |
void main() { |
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
// in dateService.dart | |
import 'dart:async'; | |
import 'package:rxdart/rxdart.dart'; | |
class DateService { | |
static DateTime now = DateTime.now(); | |
static DateTime today = DateTime(now.year, now.month, now.day, 0, 0, 0, 0).toUtc(); | |
BehaviorSubject<DateTime> dateSubject = BehaviorSubject<DateTime>.seeded(today); |
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
<?xml version="1.0"?> | |
<data> | |
<country name="Liechtenstein"> | |
<rank>1</rank> | |
<year>2008</year> | |
<gdppc>141100</gdppc> | |
<neighbor name="Austria" direction="E"/> | |
<neighbor name="Switzerland" direction="W"/> | |
</country> | |
<country name="Singapore"> |
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
data:image/jpeg;base64,/9j/2wBDAAQEBAQEBAcEBAcKBwcHCg0KCgoKDRANDQ0NDRAUEBAQEBAQFBQUFBQUFBQYGBgYGBgcHBwcHB8fHx8fHx8fHx//2wBDAQUFBQgHCA4HBw4gFhIWICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICD/wgARCAN5Au0DASIAAhEBAxEB/8QAHAAAAQUBAQEAAAAAAAAAAAAAAwECBAUGAAcI/8QAGgEBAQEBAQEBAAAAAAAAAAAAAAECAwQFBv/aAAwDAQACEAMQAAAB854acYXhJYbgjSV1U4s+q0LXqk5P6I5ZPC4LwlCcJA3DrqteqeS26Oksnob0k9CQndBYWPVriw6DxO6t4suDLBdYwMm9GZpM6IMn9X8WHQuJvRnhuUkC4bxehJU7oRSRw45M6IwncCIWXV7Cz6rUs+hCLLqxasurWlp1a0tOrHFj0AhL6uGWvVKFv1WsWfVZid1XJJfFZEROd36qMiIJXpc08kdzc1nKNGOIRXkPDlM5jlciILFPCoXDW5fyKkp0QkSBMckp0WwWAMjASpyEcK5KphlHGESLptPZc7RnlG2puQmjOf0rUUhIKCZlJAUkVALA9QosyJqcwT1NHfIqOxeCcVSOBzRGvRCoJ5yKOnKzgvMQVHnAmYMRFYKnFGLyw5iKNkR1q0SDY4V3BTQ7oy1OHGcHJB6WziR+HvDKObIYCPDcWDS1cWQIRKawrmY6ymKF6EBPYQdbU70WVXFBsco3ncFcB5N63+go+YgamkljWMRBseVEtcrxBZlbZxLGMGUqNDHocSGIozCsVRutLHe8Er0CAegjSspGuSR0yApMEGXUMnNCDahydxICjQrWcFVs8r1JNivWzqxr+t5Ky8YHNrVnt3YvSGgo8kpASzUqzT+SFZDRTwzvIUojx1bZSTIutlKtLmuGhK+5jmIOaaO2gohhtkK0fBnxnBmJ0KCY2pn0Z8yTM |
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
{ | |
"1": { | |
"shortname": "QAT", | |
"title": "Commercial Bank Grand Prix of Qatar", | |
"circuit": "Losail International Circuit", | |
"sequence": "1", | |
"url": "\/en\/ajax\/results\/selector\/2016\/QAT" | |
}, | |
"2": { | |
"shortname": "ARG", |
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
[{ | |
"id": 1, | |
"category": { | |
"pk": 1, | |
"title": "General", | |
"slug": "general" | |
}, | |
"headline": "Test Post #1", | |
"slug": "test-post-1", | |
"body": "Test body 1", |
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
/* | |
After you have changed the settings at "Your code goes here", | |
run this with one of these options: | |
"grunt" alone creates a new, completed images directory | |
"grunt clean" removes the images directory | |
"grunt responsive_images" re-processes images without removing the old ones | |
*/ | |
module.exports = function(grunt) { | |
grunt.initConfig({ |
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> | |
<head> | |
<title>This is the thing</title> | |
</head> | |
<body> | |
<a href="#top">Top</a> · <a href="#about">About</a><br /><br /> | |
<a name="top"></a> | |
<h1>Home</h1> | |
<p> | |
Home Home Home Home Home Home Home Home Home Home Home |
NewerOlder