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
import { createServer, IncomingMessage, ServerResponse } from "http"; | |
import { createHash, randomBytes } from "node:crypto"; | |
import { Key } from "@atproto/jwk"; | |
import { | |
OAuthClient, | |
InternalStateData, | |
Session, | |
DigestAlgorithm, | |
} from "@atproto/oauth-client"; | |
import { AtprotoHandleResolverNode } from "@atproto-labs/handle-resolver-node"; |
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
(chop,utf8::decode$_)^print/(\X)\X?/g,$",/\X(\X)/g,$/for<> |
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
use std::fmt::{Display, Formatter, Result, Write}; | |
#[derive(Clone, Copy, PartialEq, Eq)] | |
enum Op { | |
Add, | |
Sub, | |
Mul, | |
Div, | |
} |
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
#![feature(test)] | |
extern crate test; | |
const NUM_ITER: usize = 10; | |
#[allow(dead_code)] | |
#[inline(always)] | |
fn pop_lsb(n: &mut u64) -> u32 { | |
let ret = n.trailing_zeros(); | |
*n = *n & n.wrapping_sub(1); |
This file has been truncated, but you can view the full file.
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
+1523KE: ▲2三桂右不成 | |
+3523KE: ▲2三桂左不成 | |
+1624KE: ▲2四桂右 | |
+3624KE: ▲2四桂左 | |
+1725KE: ▲2五桂右 | |
+3725KE: ▲2五桂左 | |
+1826KE: ▲2六桂右 |
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
package main | |
import ( | |
"encoding/xml" | |
"io" | |
"log" | |
"net/http" | |
"time" | |
) |
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
package main | |
import ( | |
"context" | |
"encoding/json" | |
"log" | |
"golang.org/x/oauth2" | |
"golang.org/x/oauth2/fitbit" | |
) |
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
package main | |
import ( | |
"context" | |
"encoding/json" | |
"fmt" | |
"log" | |
"strings" | |
"golang.org/x/oauth2/clientcredentials" |
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
package app | |
import ( | |
"bytes" | |
"image/gif" | |
"image/jpeg" | |
"image/png" | |
"net/http" | |
"path" | |
"strings" |
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
.hometype-hit-a-hint-base { | |
border-radius: 5px; | |
border: 1px gray solid; | |
padding: 3px 4px; | |
} | |
.hometype-hit-a-hint-base span { | |
font-family: 'Bitstream Vera Sans Mono'; | |
font-size: 15px; | |
} |
NewerOlder