This file contains hidden or 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
| RewriteEngine On | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteRule ^([^\.]+)/([^\.]+)$ $1-$2.png [NC,L] |
This file contains hidden or 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
| <?php | |
| header("Content-Type: text/text"); | |
| $key = "FUCKYOU"; | |
| $uploadhost = "http://yolarrydabomb.net/i/"; | |
| $redirect = "http://yolarrydabomb.net/i/pizza.html"; | |
| date_default_timezone_set('EST'); | |
| $Date = date("Ymd-"); | |
| $filenamelength = 4; | |
| if ($_SERVER["REQUEST_URI"] == "/robot.txt") { die("User-agent: *\nDisallow: /"); } |
This file contains hidden or 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
| using Newtonsoft.Json; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Net; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using System.Web; |
This file contains hidden or 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 flask import Flask, render_template, redirect, json, request, url_for, jsonify | |
| from flask.ext.sqlalchemy import SQLAlchemy | |
| from werkzeug import generate_password_hash, check_password_hash | |
| from flask.ext.login import login_user , logout_user , current_user , login_required, session, flash | |
| import hashlib | |
| app = Flask(__name__) | |
| db = SQLAlchemy(app) | |
| class Users(db.Model): |
This file contains hidden or 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
| using Gtk; | |
| public class MyApplication : Gtk.Application { | |
| public MyApplication () { | |
| Object(application_id: "testing.my.application", | |
| flags: ApplicationFlags.FLAGS_NONE); | |
| } | |
| protected override void activate () { |
This file contains hidden or 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
| <div style="width: 100%;height: 100%" id="modals" class="modal fade" role="dialog"> | |
| <div style="width: 100%;height: 100%" id="aws"></div> | |
| </div> | |
| <script type="text/javascript"> | |
| $.ajax({ | |
| url: './views/test.php', | |
| type: 'get', | |
| data: {videoid: id}, |
This file contains hidden or 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 flask import Blueprint, request, jsonify, make_response | |
| from flask_cors import CORS, cross_origin | |
| from flask_login import session | |
| import hashlib, os, binascii | |
| from api import db | |
| from api.users.models import Users | |
| mod_users = Blueprint('users', __name__, url_prefix='/rest') |
This file contains hidden or 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 flask import Blueprint, request, jsonify, make_response | |
| from api import db | |
| from api.todos.models import TodoList | |
| mod_todo = Blueprint('todo', __name__, url_prefix='/rest') | |
| @mod_todo.route('/addtodo', methods=['POST']) | |
| def addnewTodo(): | |
| if request.method == 'POST': |
This file contains hidden or 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
| #!/usr/bin/env python2 | |
| # -*- coding: utf-8 -*- | |
| from api import db | |
| from flask import jsonify | |
| from datetime import datetime | |
| class TodoList(db.Model): | |
| __tablename__ = 'todolist' |
This file contains hidden or 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
| #!/usr/bin/env python2 | |
| # -*- coding: utf-8 -*- | |
| from flask import Flask, jsonify | |
| from flask_cors import CORS, cross_origin | |
| from flask_mail import Mail | |
| from flask_sqlalchemy import SQLAlchemy | |
| import os | |
| app = Flask(__name__) |
OlderNewer