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 io | |
import uuid | |
import time | |
from flask import Flask, jsonify, request, send_file, render_template, make_response | |
APP = Flask(__name__) | |
VERSION = "1.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
@-moz-document domain("fanficfanfic.tumblr.com") { | |
body header .description { | |
display: none; | |
} | |
body header #portrait { | |
display: none; | |
} | |
#logo { |
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 re | |
from pprint import pprint | |
import nltk | |
from nltk.stem.porter import PorterStemmer | |
stemmer = PorterStemmer() | |
new_mnemonic = """ | |
Stop for a second or the egg will hatching in eights | |
""" |
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
stages: | |
- test | |
- package | |
- deploy | |
image: python:alpine | |
workflow: | |
rules: | |
- if: '$CI_COMMIT_BRANCH == "master"' |
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
# -*- coding: utf-8 -*- | |
"""A plugin that reveals encrypted files on the filessystem.""" | |
from __future__ import unicode_literals | |
import re | |
import requests | |
from plaso.analysis import interface |
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 timesketch_api_client import client | |
import pandas as pd | |
pd.options.display.max_colwidth = 60 | |
# set the connection parameters | |
server = 'http://0.0.0.0' | |
user = 'admin' | |
password = 'INSERT_PASSWORD_HERE' | |
ts_client = client.TimesketchApi(server, user, password) |
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
<!--- | |
alert(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
interface IPromotion { | |
void promote(); | |
} | |
struct Employee : IPromotion { | |
public string Name; | |
public int JobGrade; | |
public void promote() { | |
JobGrade++; |