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 8181| { | |
| "audit_logs": [ | |
| { | |
| "time": "1:20:50pm", | |
| "date": "Jan 2, 2021", | |
| "module": "Feature Flag", | |
| "project": "My Project X", | |
| "environment": "Production", | |
| "environment_type": "Production", | |
| "user": "Peter Bishop", |
| 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 |
| /** | |
| * Base class providing chainable async actions with error handling | |
| * @template T - The type of object being operated on | |
| */ | |
| export abstract class ChainableActions<T> { | |
| protected chain: Array<{ operation: string; task: () => Promise<void> }> = [] | |
| protected error: any | null = null | |
| protected subject: T | |
| protected errorHandler: ((error: any) => void) | null = null | |
| protected updateHandler: ((subject: T) => void) | null = null |
| import React, { useState, useContext } from 'react' | |
| // 1. Define data that the context holds, plus a setter to update data | |
| interface MyContextProps { | |
| standalone: boolean | |
| setMyContext: (value: Partial<Omit<MyContextProps, 'setMyContext'>>) => void | |
| } | |
| // 2. Create the actual context with some default data | |
| const MyAppContext = React.createContext<MyContextProps>({ |
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 8181| :root { | |
| --icon-pending: url('data:image/svg+xml;utf8,<?xml version="1.0" encoding="utf-8"?><svg version="1.1" id="SUCCESS_1_" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve"><style type="text/css">.st0{fill-rule:evenodd;clip-rule:evenodd;fill:%23DBDCDD;} .st1{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;} </style> <g id="Ellipse_524"> <g> <circle class="st0" cx="8" cy="8" r="8"/> </g> </g> <g id="Ellipse_1551"> <g> <circle class="st1" cx="8" cy="8" r="6"/> </g> </g> </svg>'); | |
| --icon-queued: url('data:image/svg+xml;utf8,<?xml version="1.0" encoding="utf-8"?><svg version="1.1" id="QUE_1_copy_1_" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve"> <style type="text/css"> .st0{fill:#E1E4E5;} .st1{fill:#FFFFFF;} .st2{fill:#C3C8CA;} </style> <g id="Ellipse_ |
| Find what: (^.*): (.*$) | |
| Replace with: "$1": "$2", | |
| -- | |
| Before: | |
| memberOf: CN=Realtime Systems,OU=DEPT,OU=Groups,DC=corp,DC=qc | |
| department: Inventory & DMP | |
| After: |
| import org.apache.commons.lang3.exception.ExceptionUtils; | |
| import play.Logger; | |
| String stackTrace = ExceptionUtils.getStackTrace(new Exception())); | |
| // Log warning with stack trace for a deprecated method | |
| Logger.warn("Method is deprecated: " + stackTrace); |