Skip to content

Instantly share code, notes, and snippets.

@arturokunder
arturokunder / Dockerfile
Created June 25, 2021 19:56
Python Dockerfile
# Use the official lightweight Python image.
# https://hub.docker.com/_/python
FROM python:3.8-slim-buster
# Copy local code to the container image.
ENV APP_HOME /app
ENV PYTHONUNBUFFERED True
WORKDIR $APP_HOME
# Install Python dependencies and Gunicorn
@arturokunder
arturokunder / app.py
Created June 25, 2021 19:52
Dash demo app
import dash
import dash_core_components as dcc
import dash_html_components as html
import plotly.express as px
import pandas as pd
external_stylesheets = [
'https://codepen.io/chriddyp/pen/bWLwgP.css'
]
@arturokunder
arturokunder / README.md
Created October 6, 2016 18:25
Verify APK signature

Do I have the correct certificate to sign my APK?

Use keytool Keytool is part of Java, so make sure your PATH has Java installation dir in it.

Get APK Certificate Signature

First, unzip the APK and extract the file /META-INF/ANDROID_.RSA (this file may also be CERT.RSA or something.RSA, but there should only be one .RSA file).

Then, run:

@arturokunder
arturokunder / package.json
Created August 25, 2016 15:35
ActiveDirectory/LDAP Authentication test
{
"name": "ad_test",
"version": "1.0.0",
"description": "ActiveDirectory/LDAP user authentication test",
"main": "test.js",
"dependencies": {
"activedirectory": "^0.7.2"
},
"devDependencies": {},
"author": "arturokunder",
@arturokunder
arturokunder / profiler.js
Last active August 19, 2016 20:45
Javascript simple profiler
window.profiler = (function() {
var _events = {};
var _getEvents = function(name, domain) {
if(!name) {
return {};
}
if(!domain) {
@arturokunder
arturokunder / profiler.js
Created August 19, 2016 20:34
Javascript simple profiler
window.profiler = (function() {
var _events = {};
var _getEvents = function(name, domain) {
if(!name) {
return {};
}
if(!domain) {