The Go History
This document includes all interesting issues, discussions, proposals, and CLs in the Go development history, which intents to offer a comprehensive reference of Go history.
package main | |
import ( | |
"runtime" | |
"fmt" | |
"time" | |
) | |
func main() { | |
// Print our starting memory usage (should be around 0mb) |
from email.mime.text import MIMEText | |
from email.header import Header | |
from smtplib import SMTP_SSL | |
# qq mail sending server | |
host_server = 'smtp.qq.com' | |
sender_mail = 'SENDER_MAIL' | |
sender_passcode = 'PASS_CODE' | |
# receiver mail |
You will now act as a prompt generator. | |
I will describe an image to you, and you will create a prompt that could be used for image-generation. | |
Once i described the image, give a 5 word summary and then include the following (markdown) | |
, where {description} = {sceneDetailed},%20{adjective1},%20{charactersDetailed},%20{adjective2},%20{visualStyle1},%20{visualStyle2},%20{visualStyle3},%20{genre},%20{artistReference} |
-- show running queries (pre 9.2) | |
SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
FROM pg_stat_activity | |
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
ORDER BY query_start desc; | |
-- show running queries (9.2) | |
SELECT pid, age(clock_timestamp(), query_start), usename, query | |
FROM pg_stat_activity | |
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
# post_loc.txt contains the json you want to post | |
# -p means to POST it | |
# -H adds an Auth header (could be Basic or Token) | |
# -T sets the Content-Type | |
# -c is concurrent clients | |
# -n is the number of requests to run in the test | |
ab -p post_loc.txt -T application/json -H 'Authorization: Token abcd1234' -c 10 -n 2000 http://example.com/api/v1/locations/ |
var Guacamole = Guacamole || {}; | |
/** | |
* A reader which automatically handles the given input stream, returning | |
* strictly received packets as array buffers. Note that this object will | |
* overwrite any installed event handlers on the given Guacamole.InputStream. | |
* | |
* @constructor | |
* @param {Guacamole.InputStream} stream The stream that data will be read | |
* from. |
This document includes all interesting issues, discussions, proposals, and CLs in the Go development history, which intents to offer a comprehensive reference of Go history.
See also, http://libraryofalexandria.io/cgo/
cgo
cgo
has a lot of trap.
but Not "C" pkg also directory in $GOROOT/src
. IDE's(vim) Goto command not works.
So, Here collect materials.
all: | |
$(CC) *.c -lm `sdl2-config --cflags` `sdl2-config --libs` -lEGL -lGLESv1_CM -o gles_linux | |
clean: | |
-rm -f gles_linux | |
-rm -f *.o |