Bash script to:
- Iterate all commits made within a Git repository.
- List every object at each commit.
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 |
function buildPrismaWithQueryDebugging( | |
sqlQueryReportingThresholdMs: number, | |
prismaActionReportingThresholdMs: number | |
) { | |
const prisma = new PrismaClient({ | |
log: [ | |
{ | |
emit: "event", | |
level: "query", |
uuid () { | |
local newuuid=${$(uuidgen):l} | |
echo -n ${newuuid} | pbcopy | |
echo "copied ${newuuid} to clipboard" | |
} |
{ | |
"extends": ["prettier", "plugin:prettier/recommended"], | |
"plugins": ["prettier", "import"], | |
"rules": { | |
"import/order": [ | |
"error", | |
{ | |
"groups": ["builtin", "external", "parent", "sibling", "index"], | |
"pathGroups": [ | |
{ |
#!/bin/bash | |
find . -type f -size +100000k -exec ls -lh {} \; |
[ | |
{ | |
"key": "ctrl+shift+u", | |
"command": "editor.action.transformToUppercase", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+l", | |
"command": "editor.action.transformToLowercase", | |
"when": "editorTextFocus" |
import SwiftUI | |
import UIKit | |
struct BlurView: UIViewRepresentable { | |
var style: UIBlurEffect.Style = .systemMaterial | |
func makeUIView(context: Context) -> UIVisualEffectView { | |
return UIVisualEffectView(effect: UIBlurEffect(style: style)) | |
} |
import SwiftUI | |
import UIKit | |
extension View { | |
func cornerRadius(_ radius: CGFloat, corners: UIRectCorner) -> some View { | |
clipShape(RoundedCorner(radius: radius, corners: corners)) | |
} | |
} | |
private struct RoundedCorner: Shape { |
#!/bin/sh | |
# | |
# pull-all-repos.sh | |
set -euo pipefail | |
for d in */; do cd $d; git stash; (git pull &); cd ..; done |