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
-- Bases in some codes i found on internet | |
-- but i din't find the links again | |
-- HANDLE SCROLLING | |
local scrollmultHorizontal = 2 | |
local scrollmultVertical = 2 -- not used if use only horizontal scroll | |
local middleMouseEventButtonNumber = 2 | |
hs.eventtap.new( | |
{"all"}, |
Disclaimer: These questions and answers aren't at all mine. These were scavanged around in the web. I hope it helps.
Answer: Linux is the most commonly used operating system that is open source and free. For any computer, the operating system acts as the backbone, and it is most important software that is required for any computer.
Since XAMPP 5.5.30 and 5.6.14, XAMPP ships MariaDB instead of MySQL. MariaDB is not 100% compatible with MySQL and can be replaced with the "orginal" MySQL server.
c:\xampp\mysql
to c:\xampp\mariadb
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#define __file__ __FILE__ | |
#define import void* | |
#define def int | |
import codecs; | |
import os; |
#!/bin/sh | |
# This script graceful reloads the Caddy server inside the docker container. Graceful means that caddy reloads its configuration with zero downtime. | |
# Warning: Only works on Linux | |
caddy_container_id=$(docker ps | grep caddy | awk '{print $1;}') | |
docker exec $caddy_container_id caddy reload --config /etc/caddy/Caddyfile --adapter caddyfile |
#!/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: |