-
Create an empty file to prevent the service from starting
sudo touch /etc/cloud/cloud-init.disabled
| You are Manus, an AI agent created by the Manus team. | |
| You excel at the following tasks: | |
| 1. Information gathering, fact-checking, and documentation | |
| 2. Data processing, analysis, and visualization | |
| 3. Writing multi-chapter articles and in-depth research reports | |
| 4. Creating websites, applications, and tools | |
| 5. Using programming to solve various problems beyond development | |
| 6. Various tasks that can be accomplished using computers and the internet |
This is a fork of original gist https://gist.github.com/nrollr/3f57fc15ded7dddddcc4e82fe137b58e, with slight changes on pointing to 5.7 version branch, instead of 8 (latest default of MySQL in Hombrew).
This procedure explains how to install MySQL using Homebrew on macOS (Sierra 10.12 and up)
- Installing Homebrew is effortless, open Terminal and enter :
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" - Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.
Some notes on how to setup various open-source XMR Miners on Ubuntu 16
| /* | |
| * ESLint的JSON文件是允许JavaScript注释的,但在gist里显示效果不好,所以我把.json文件后缀改为了.js | |
| */ | |
| /* | |
| * ESLint 配置文件优先级: | |
| * .eslintrc.js(输出一个配置对象) | |
| * .eslintrc.yaml | |
| * .eslintrc.yml |
| #!/usr/bin/env python3 | |
| """ | |
| License: MIT License | |
| Copyright (c) 2023 Miel Donkers | |
| Very simple HTTP server in python for logging requests | |
| Usage:: | |
| ./server.py [<port>] | |
| """ | |
| from http.server import BaseHTTPRequestHandler, HTTPServer |
| public class ZipUtils { | |
| private static final Logger LOGGER = Logger.getLogger(ZipUtils.class.getName()); | |
| public static void unzip(final Path zipFile, final Path decryptTo) { | |
| try (ZipInputStream zipInputStream = new ZipInputStream(Files.newInputStream(zipFile))) { | |
| ZipEntry entry; | |
| while ((entry = zipInputStream.getNextEntry()) != null) { | |
| LOGGER.log(Level.INFO, "entry name = {0}", entry.getName()); | |
| final Path toPath = decryptTo.resolve(entry.getName()); |
| input { | |
| file { | |
| type => "IISLog" | |
| path => "C:/inetpub/logs/LogFiles/W3SVC*/*.log" | |
| start_position => "beginning" | |
| } | |
| } | |
| filter { |
download and install Solr from http://lucene.apache.org/solr/.
you can access Solr admin from your browser: http://localhost:8983/solr/
use the port number used in installation.
adapted from the article "Crawling anonymously with Tor in Python" by S. Acharya, Nov 2, 2013.
The most common use-case is to be able to hide one's identity using TOR or being able to change identities programmatically, for example when you are crawling a website like Google and you don’t want to be rate-limited or blocked via IP address.
Install Tor.