Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
#!/usr/bin/env python | |
# Author: Guillermo Cespedes <dev.dertin@gmail.com> | |
# pip install requests http barnum | |
import requests | |
import http.cookies | |
import json | |
from barnum import gen_data |
import android.annotation.TargetApi; | |
import android.content.ContentUris; | |
import android.content.Context; | |
import android.database.Cursor; | |
import android.net.Uri; | |
import android.os.Build; | |
import android.os.Environment; | |
import android.provider.DocumentsContract; | |
import android.provider.MediaStore; | |
import android.provider.OpenableColumns; |
#!/usr/bin/python3.11 | |
# it help me for RE, @github.com/motebaya | |
# useless tool :) tools 17.04.2024 | |
from typing import Dict | |
from xdis import magics | |
import re, os, types, marshal, argparse | |
class Asmtool: | |
def __init__(self) -> None: |
AddOn:
chrome/userChrome.css
in your profile directory:— Да? | |
— Алё! | |
— Да да? | |
— Ну как там с деньгами? | |
— А? | |
— Как с деньгами-то там? | |
— Чё с деньгами? | |
— Чё? | |
— Куда ты звонишь? |
/* UTILS AND CONSTANTS*/ | |
const SPEED_MULTIPLIER = 1.852; | |
const DISTANCE_MULTIPLIER = 111.045; | |
const SETTINGS = { | |
"default_object_online_timeout": 5 | |
,"valid_by_avg_speed": false | |
,"min_moving_speed": 6 | |
,"addon.device_tracker_app_login": false |
import lldb | |
def is_slice_type(t, internal_dict): | |
return t.name.startswith("[]") or t.name.startswith("[dynamic]") | |
class SliceChildProvider: | |
def __init__(self, val, dict): | |
self.val = val | |
def num_children(self): |
UPDATE public.mytable SET | |
jsonfieldname = jsonb_set( jsonfieldname, '{json_obj_key}', array_to_json( | |
ARRAY( | |
SELECT DISTINCT( UNNEST( ARRAY( | |
SELECT json_array_elements_text( COALESCE( jsonfieldname::json->'json_obj_key', '[]' ) ) | |
) || ARRAY['Element to add'] ) ) | |
) | |
)::jsonb ) | |
WHERE id = 23 | |
RETURNING *; |