Skip to content

Instantly share code, notes, and snippets.

@gclsoft
gclsoft / AI_007_prompt.en.txt
Created September 19, 2025 13:44 — forked from lexrus/AI_007_prompt.en.txt
AI 通宵干活 prompt
__This is the requirements section, please replace it yourself__
Above are the requirements, below are the decision-making requirements:
- I'm going to sleep now, all product and technical decisions are under your control, I'll come to review the results tomorrow morning
- I'll sleep for about 8 hours, so don't rush to produce results, take your time with all the details, don't save tokens, getting it right is most important
- When you encounter uncertainties, first check the documentation in context7, if still uncertain, search online
- Execute all subtasks in phases, run unit tests after each phase is completed, to avoid having to start over after completing everything only to find it doesn't work
- Don't get hung up on the UI part, try to use mainstream conventional approaches, I'll polish the details tomorrow, you just focus on getting the functionality working
import taichi as ti
ti.init(ti.gpu)
# global control
paused = ti.field(ti.i32, ())
# gravitational constant 6.67408e-11, using 1 for simplicity
G = 1
PI = 3.141592653
-(void)test:(NSString*)original{
NSArray *originalParts = [original componentsSeparatedByString:@","];
NSMutableString *newString = [NSMutableString new];
for (NSString *string in originalParts) {
[newString appendString:[string stringByPaddingToLength:string.length + 7 withString:@" " startingAtIndex:0]];
}
NSLog(@"Finished Product: %@", newString);
}
@interface NSString (Extension)
- (BOOL) isAnEmail;
- (BOOL) isNumeric;
@end
@implementation NSString (Extension)
/**
#pragma strict
var _gameOver:GameObject; //Gameobject visible when player has died
var _levelComplete:GameObject; //Gameobject visible when level complete
var _scoreTextMesh:TextMesh; //Displays score from previous level
var _retryButton:Button; //Insert retry button to go back to previously loaded level
private var _previousLevel:String;
//var cb:Chartboost;
function Start () {

MacOS

Build 3059

MD5: 59bab8f71f8c096cd3f72cd73851515d

Rename it to: Sublime Text

Make it executable with: chmod u+x Sublime\ Text

// Capture author info & user status
NSDictionary *articleParams = [NSDictionary dictionaryWithObjectsAndKeys:
@"John Q", @"Author",
@"Registered", @"User_Status",
nil];
[Flurry logEvent:@"Article_Read" withParameters:articleParams];
Temp/
obj/
Library/cache
Library/metadata
Library/previews
Library/ScriptAssemblies
Assembly-CSharp-Editor-firstpass-vs.csproj
Assembly-CSharp-Editor-firstpass.csproj
@gclsoft
gclsoft / play.cs
Created August 23, 2014 16:55
play.cs
using UnityEngine;
using System.Collections;
using GoogleMobileAds.Api;
using System;
public class play : MonoBehaviour {
public InterstitialAd interstitial;
public InterstitialAd interstitial2;
// Use this for initialization
void Start () {
@gclsoft
gclsoft / MuffinRushAssets.cs
Created August 15, 2014 12:35
MuffinRushAssets.cs
/// Copyright (C) 2012-2014 Soomla Inc.
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// http://www.apache.org/licenses/LICENSE-2.0
///
/// Unless required by applicable law or agreed to in writing, software
/// distributed under the License is distributed on an "AS IS" BASIS,