This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| I want you to become my Expert Prompt Creator. Your goal is to help me craft the best possible prompt for my needs. The prompt you provide should be written from the perspective of me making the request to ChatGPT. Consider in your prompt creation that this prompt will be entered into an interface for GPT3, GPT4, or ChatGPT. The prompt will include instructions to write the output using my communication style. The process is as follows: | |
| 1. You will generate the following sections: | |
| " | |
| **Prompt:** | |
| >{provide the best possible prompt according to my request} | |
| > | |
| > | |
| >{summarize my prior messages to you and provide them as examples of my communication style} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> <!-- 使用 HTML5 doctype,不区分大小写 --> | |
| <html lang="zh-cmn-Hans"> <!-- 更加标准的 lang 属性写法 http://zhi.hu/XyIa --> | |
| <head> | |
| <!-- 声明文档使用的字符编码 --> | |
| <meta charset='utf-8'> | |
| <!-- 优先使用 IE 最新版本和 Chrome --> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/> | |
| <!-- 页面描述 --> | |
| <meta name="description" content="不超过150个字符"/> | |
| <!-- 页面关键词 --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.imbugs.blog.common.dal.test; | |
| import java.lang.reflect.Field; | |
| import lombok.extern.slf4j.Slf4j; | |
| import org.junit.Assert; | |
| import org.springframework.beans.factory.annotation.Autowired; | |
| import org.springframework.context.ApplicationContext; | |
| import org.springframework.context.support.ClassPathXmlApplicationContext; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #set -x | |
| doInstall() { | |
| ECLIPSELOCATION=`ls $LOCATION/plugins/org.eclipse.equinox.launcher_*` | |
| $JAVA_HOME/bin/java -jar $ECLIPSELOCATION -nosplash -application org.eclipse.equinox.p2.director \ | |
| -metadataRepository "$2" \ | |
| -artifactRepository "$2" \ | |
| -destination $LOCATION \ | |
| -installIU "$1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * CuGBabyBeaR | |
| */ | |
| public class Puddle{ | |
| public static void main(String[] args) { | |
| int [] testcase_1 = {2,5,1,2,3,4,7,7,6}; | |
| int [] testcase_2 = {2,5,1,3,1,2,1,7,7,6}; | |
| int [] testcase_3 = {6,1,4,6,7,5,1,6,4}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // http://www.ietf.org/rfc/rfc1928.txt | |
| // Tested with: curl http://www.google.se/ --socks5 1080 --proxy-user foo:bar | |
| var States = { | |
| CONNECTED:0, | |
| VERIFYING:1, | |
| READY:2, | |
| PROXY: 3 | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // http://www.ietf.org/rfc/rfc1928.txt | |
| // Tested with: curl http://www.google.se/ --socks5 1080 --proxy-user foo:bar | |
| var States = { | |
| CONNECTED:0, | |
| VERIFYING:1, | |
| READY:2, | |
| PROXY: 3 | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * A quick little thingy that takes a Stream instance and makes | |
| * it emit 'line' events when a newline is encountered. | |
| * | |
| * Usage: | |
| * ‾‾‾‾‾ | |
| * emitLines(process.stdin) | |
| * process.stdin.resume() | |
| * process.stdin.setEncoding('utf8') | |
| * process.stdin.on('line', function (line) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * AsmUtils.java 下午7:21:58 2012-9-10 | |
| * | |
| * Copyright(c) 2000-2012 HC360.COM, All Rights Reserved. | |
| */ | |
| package asm.test; | |
| import java.lang.reflect.Method; | |
| import java.security.AccessController; | |
| import java.security.PrivilegedAction; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var types = require('./types'); | |
| var assert = require('assert'); | |
| var a = new types.MyPtt(7, 8); | |
| assert(a instanceof types.Base, 'Inherits from Base'); | |
| assert(a instanceof types.MyPtt, 'Inherits from MyPtt (it\'s constructor)'); | |
| assert(typeof a.one === 'function', 'Has MyPtt "one" function'); | |
| assert(a.type === 'MyPtt', 'Has correct type') |
NewerOlder