- https://saml.github.io
This file contains 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
ㅋㅋㅋ 첫번째 장소도 그렇게 어려운곳에 있지는 않았을것 같은데 ㅋㅋ |
This file contains 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
/* | |
$ node sequelizeTransactionPoolSize.js | |
Started promises { count: 5 } | |
Executing (1cd366d4-a412-4a87-9185-0261f208169b): START TRANSACTION; | |
Executing (d9eadf8c-7407-4653-9a71-c3f83aee9ca2): START TRANSACTION; | |
Executing (d1c4e9e1-0fdf-4284-8cfc-9f0f60cc0ff1): START TRANSACTION; | |
Executing (c3ea6d09-b3e9-44dd-b277-1ac715f9c942): START TRANSACTION; | |
Executing (89824a8c-766d-490f-9b65-d0baab9b2030): START TRANSACTION; | |
it just hangs |
This file contains 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
function runMiddleware(middleware, req, res) { | |
return new Promise((resolve, reject) => { | |
function next(value) { | |
if (value instanceof Error) { | |
reject(value); | |
} else { | |
resolve(value); | |
} | |
} | |
middleware(req, res, next); |
This file contains 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 -xe | |
progressbar() { | |
secs="${1:-10}" | |
while true | |
do | |
printf . | |
sleep "$secs" | |
done | |
} |
This file contains 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
# hlsearch on (H) or off (h): | |
~H | |
# Last Search Pattern: | |
~MSle0~/$ | |
# Last Substitute Search Pattern: | |
~MSle0&$ | |
# Last Substitute String: | |
$\r |
This file contains 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
test("Can receive broadcast connection", async (done) => { | |
jest.setTimeout(500); // timeout quickly if done() isn't called. | |
let postResult = null; | |
// Need to set up message handler *before* making POST request. | |
ws.addEventListener("message", async (event) => { | |
try { | |
// When message arrives, we know POST request was sent. So, verify its result. | |
const resp = await postResult; | |
expect(resp.status).toBe(200); |
This file contains 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
$ emulator -accel-check | |
accel: | |
0 | |
KVM (version 12) is installed and usable. | |
accel |
This file contains 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
Running transaction check | |
Transaction check succeeded. | |
Running transaction test | |
The downloaded packages were saved in cache until the next successful transaction. | |
You can remove cached packages by executing 'dnf clean packages'. | |
Error: Transaction test error: | |
file /usr/share/doc/gnutls/AUTHORS from install of gnutls-3.6.14-1.fc31.i686 conflicts with file from package gnutls-3.6.13-1.fc31.x86_64 | |
file /usr/share/doc/gnutls/NEWS from install of gnutls-3.6.14-1.fc31.i686 conflicts with file from package gnutls-3.6.13-1.fc31.x86_64 | |
file /usr/share/locale/ms/LC_MESSAGES/gnutls.mo from install of gnutls-3.6.14-1.fc31.i686 conflicts with file from package gnutls-3.6.13-1.fc31.x86_64 | |
file /usr/share/man/man5/cert8.db.5.gz from install of nss-3.53.0-1.fc31.i686 conflicts with file from package nss-3.52.0-2.fc31.x86_64 |
This file contains 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
$ emulator @Pixel_2_API_28 | |
Fontconfig warning: "/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs" | |
host doesn't support requested feature: CPUID.80000001H:ECX.abm [bit 5] | |
host doesn't support requested feature: CPUID.80000001H:ECX.abm [bit 5] | |
host doesn't support requested feature: CPUID.80000001H:ECX.abm [bit 5] | |
E0616 09:32:44.729029599 5363 socket_utils_common_posix.cc:201] check for SO_REUSEPORT: {"created":"@1592314364.728946614","description":"SO_REUSEPORT unavailable on compiling system","file":"/mnt/tmpfs/src/android/emu-master-dev/external/grpc/src/core/lib/iomgr/socket_utils_common_posix.cc","file_line":169} | |
Your emulator is out of date, please update by launching Android Studio: | |
- Start Android Studio | |
- Select menu "Tools > Android > SDK Manager" | |
- Click "SDK Tools" tab |
This file contains 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
class AuthError extends Error { | |
constructor(message) { | |
super(message); | |
// Error.captureStackTrace(this, AuthError); | |
} | |
} | |
function f(o) { | |
try { | |
const [_, token] = o.authorization.split('Bearer '); |
NewerOlder