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::{ | |
collections::HashMap, | |
fmt::{self, Display}, | |
ops::{BitAnd, BitOr}, | |
}; | |
fn main() { | |
let words = include_str!("words_alpha.txt") | |
.split('\n') | |
.map(|word| word.trim()) |
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 test from './test.txt' | |
class A { | |
constructor() { } | |
async loadFile(filename) { | |
// let data = await (await fetch(filename)) | |
// return data | |
return fetch(filename) | |
} | |
} |
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
# custom two-line bash prompt for git users | |
# | |
# example (without formatting): | |
# [12:34] [✔ 0] [1r/2s] [master abcdefgh N] Some Author Commit message | |
# username@hostname ~/working/directory $ | |
# | |
# to install, append this to the end of your ~/.bashrc file | |
# | |
# features (in order): | |
# * current 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
''' | |
Establish a socket connection through an HTTP proxy. | |
Author: Fredrik Østrem <[email protected]> | |
License: | |
Copyright 2013 Fredrik Østrem | |
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated | |
documentation files (the "Software"), to deal in the Software without restriction, including without |