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
| package com.dt.memmo.tools; | |
| import android.app.Activity; | |
| import android.app.AlertDialog; | |
| import android.content.Context; | |
| import android.content.DialogInterface; | |
| import android.content.pm.ApplicationInfo; | |
| import android.content.pm.PackageManager; | |
| import android.content.res.Resources; | |
| import android.hardware.Camera; |
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
| private static Bitmap getCropBitmap (Bitmap origialBitmap,int left, int top, int right, int bottom){ | |
| int targetWidth = right-left; | |
| int targetHeight = bottom-top; | |
| Bitmap cutBitmap = Bitmap.createBitmap(targetWidth,targetHeight, Bitmap.Config.ARGB_8888); | |
| Canvas canvas = new Canvas(cutBitmap); | |
| Rect desRect = new Rect(0, 0, targetWidth, targetHeight); | |
| Rect srcRect = new Rect(left, top, right, bottom); | |
| canvas.drawBitmap(origialBitmap, srcRect, desRect, null); | |
| return cutBitmap; | |
| } |
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
| [alias] tree = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat |
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 Xamarin.Forms; | |
| namespace YOUTNAMESPACE | |
| { | |
| public class LineEntry : Entry | |
| { | |
| public static readonly BindableProperty BorderColorProperty = | |
| BindableProperty.Create<LineEntry, Color> (p => p.BorderColor, Color.Black); | |
| public Color BorderColor { |
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 System; | |
| using Acr.UserDialogs; | |
| using Xamarin.Forms; | |
| namespace BugUserDialogs | |
| { | |
| public class App : Application | |
| { | |
| public App () |
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 System; | |
| using Xamarin.Forms; | |
| using System.Collections.ObjectModel; | |
| namespace NAMESPACE.Controls | |
| { | |
| public class PicturesCarousel : ScrollView | |
| { | |
| AbsoluteLayout _ElementsStack = new AbsoluteLayout (); |
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 python | |
| # coding=utf-8 | |
| import requests | |
| def brute(api_url, users_file, passwords_file, validation_errors, use_tor): | |
| proxy_address = '127.0.0.1' | |
| proxy_port = 9050 |
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
| #!/bin/bash | |
| # curl -fsSL "https://zlib.net/zlib-1.2.11.tar.gz" | tar zxvf - | |
| # curl -fsSL "https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz" | tar zxvf - | |
| # curl -fsSL "https://www.openssl.org/source/openssl-1.0.2m.tar.gz" | tar zxvf - | |
| # curl -fsSL "https://www.torproject.org/dist/tor-0.3.1.8.tar.gz" | tar zxvf - | |
| sudo apt-get update | |
| sudo apt-get install -y build-essential curl | |
| cd zlib |
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/python | |
| # -*- coding: utf-8 -*- | |
| import argparse | |
| import os | |
| import random | |
| import struct | |
| import threading | |
| from Crypto.Cipher import AES |
OlderNewer