ๅฝๅ ไป Docker Hub ๆๅ้ๅๆๆถไผ้ๅฐๅฐ้พ๏ผๆญคๆถๅฏไปฅ้ ็ฝฎ้ๅๅ ้ๅจใ
Dockerized ๅฎ่ทต https://github.com/y0ngb1n/dockerized
ๅ่ Docker daemon ้ ็ฝฎไปฃ็
| Function ConvertUtf8ToUnicode(bytes() As Byte) As String | |
| Dim ostream As Object | |
| Set ostream = CreateObject("ADODB.Stream") | |
| With ostream | |
| .Type = 1 ' Binary | |
| .Open | |
| .Write bytes | |
| .Position = 0 | |
| .Type = 2 'Text |
| javascript:function parseChatGPTData(data) { const mapping = data.mapping; const conversationTitle = data.title; const createDate = new Date(data.create_time * 1000).toISOString().slice(0, 10); const messagesArray = Object.values(mapping) .filter(node => node.message) .map(node => { const message = node.message; const sender = message.author.role === 'user' ? 'You' : 'Assistant'; const content = message.content.parts.join(''); const createTime = message.create_time; return { sender: sender, content: content, createTime: createTime, }; }); messagesArray.sort((a, b) => a.createTime - b.createTime); return { date: createDate, title: conversationTitle, messages: messagesArray.map(({ sender, content }) => ({ sender, content })), }; } function download(filename, text) { const element = document.createElement('a'); element.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(text)); element.setAttribute('download', filename); element.style.display = 'none'; document.body.appendChild(element); e |
| // paste this into your chrome dev console for Speech Synthesis | |
| const originalFetch = window.fetch | |
| const patchedFetch = (...args) => { | |
| if (args[1].method == 'POST' && args[1].body.length > 0 && /moderations$/.test(args[0])) { | |
| const aiResponse = JSON.parse(args[1].body)["input"].split("\n\n\n") | |
| if (aiResponse.length > 1) { | |
| const text = aiResponse.slice(1).join(". ").trim() | |
| console.log(text) |
| # Run the last command as root | |
| sudo !! | |
| # Serve current directory tree at http://$HOSTNAME:8000/ | |
| python -m SimpleHTTPServer | |
| # Save a file you edited in vim without the needed permissions | |
| :w !sudo tee % | |
| # change to the previous working directory | |
| cd - | |
| # Runs previous command but replacing | |
| ^foo^bar |
| package yeet; | |
| import lombok.extern.slf4j.Slf4j; | |
| import org.bouncycastle.util.Strings; | |
| import org.reactivestreams.Publisher; | |
| import org.springframework.cloud.gateway.filter.GatewayFilter; | |
| import org.springframework.cloud.gateway.filter.NettyWriteResponseFilter; | |
| import org.springframework.cloud.gateway.filter.OrderedGatewayFilter; | |
| import org.springframework.cloud.gateway.filter.factory.rewrite.CachedBodyOutputMessage; | |
| import org.springframework.cloud.gateway.filter.factory.rewrite.MessageBodyDecoder; |
ๅฝๅ ไป Docker Hub ๆๅ้ๅๆๆถไผ้ๅฐๅฐ้พ๏ผๆญคๆถๅฏไปฅ้ ็ฝฎ้ๅๅ ้ๅจใ
Dockerized ๅฎ่ทต https://github.com/y0ngb1n/dockerized
ๅ่ Docker daemon ้ ็ฝฎไปฃ็
| #pragma once | |
| #define DYN_ARR_OF(type) struct { \ | |
| type *data; \ | |
| type *endptr; \ | |
| uint32_t capacity; \ | |
| } | |
| #if !defined(__cplusplus) | |
| #define decltype(x) void* |