This guide walks you through setting up a minimal project that uses
mlx-vlm to run the
mlx-community/GLM-4.6V-Flash-4bit vision model on a sample image.
This guide walks you through setting up a minimal project that uses
mlx-vlm to run the
mlx-community/GLM-4.6V-Flash-4bit vision model on a sample image.
| [[source]] | |
| name = "pypi" | |
| url = "https://pypi.org/simple" | |
| verify_ssl = true | |
| [dev-packages] | |
| [packages] | |
| mysql-connector-python = "*" |
| """ | |
| Custom table expectation which checks whether the row count is greater than the row count of other tables. | |
| There are different ways to compare the row counts: | |
| * With absolute values, if one row count value of the other tables is greater than the current then the validation | |
| fails, | |
| * With mean values, if the mean of value of the other tables row count is greater than the current row count then | |
| the validation fails. | |
| """ | |
| from copy import deepcopy |
#remove unsued layers
functions;layers;versions;in use layers;possible in use;Not in use = versions - possible in use;not in use if you pass the safe word.| /* Android ssl certificate pinning bypass script for various methods | |
| by Maurizio Siddu | |
| Run with: | |
| frida -U -f [APP_ID] -l frida_multiple_unpinning.js --no-pause | |
| */ | |
| setTimeout(function() { | |
| Java.perform(function () { | |
| console.log(''); |
| /* Useful celery config. | |
| app = Celery('tasks', | |
| broker='redis://localhost:6379', | |
| backend='redis://localhost:6379') | |
| app.conf.update( | |
| CELERY_TASK_RESULT_EXPIRES=3600, | |
| CELERY_QUEUES=( | |
| Queue('default', routing_key='tasks.#'), |
If the Docker host is placed inside a proxy server, it needs to add the proxy configuration to each Dockerfile such as ENV http_proxy.
Following allows transparent access from the container to outside without any proxy configuration.
| #!/usr/bin/env python2 | |
| import SimpleHTTPServer | |
| import SocketServer | |
| import logging | |
| PORT = 8000 | |
| class GetHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): |
| /* Utilities */ | |
| var RANDOM = function() {}; | |
| function _randomInt(min, max) { | |
| return Math.floor(Math.random() * (max - min + 1)) + min; | |
| } | |
| function _randomHex(len) { | |
| var hex = '0123456789abcdef'; |