Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
const range = (start, end, length = end - start) => | |
Array.from({ length }, (_, i) => start + i); | |
const randomNumber = (min, max) => { | |
min = Math.ceil(min); | |
max = Math.floor(max); | |
return Math.floor(Math.random() * (max - min + 1)) + min; | |
} | |
const points_in_circle = (r, n) => { |
This file contains hidden or 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
### Keybase proof | |
I hereby claim: | |
* I am drbh on github. | |
* I am drbh (https://keybase.io/drbh) on keybase. | |
* I have a public key ASBjal2m3iJOdayg_el6CbiP0F7wTd4I23tUu64PeAkcGwo | |
To claim this, I am signing this object: |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 4.
This file contains hidden or 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
,question,answer | |
0,Is there a charge for a verifier to obtain the verification of an employee's employment information?,"Verifiers pay a fee directly to the Work Number for employment verifications. City of Phoenix employees should not ever have to pay a fee. If you believe you have been charged a fee by a lender or other requestor for the verification of your employment, please contact Human Resources at 602-262-6608 or via e-mail at [email protected]. The vendor - The Work Number - does not charge the City a fee for providing this service." | |
1,What security measures are in place to protect my personal information?,"The database system that stores employees' personal data is isolated from the Internet with firewall technology and personal data is not stored on the Web server. Transactions conducted using the Web application are encrypted; security patches are installed as well. You can find more information about the security of The Work Number by logging onto their website, www.theworknumber.com." | |
2,"Afte |
This file contains hidden or 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
from bs4 import BeautifulSoup | |
import requests | |
import pandas as pd | |
# function to remove non-ASCII | |
def remove_non_ascii(text): | |
return ''.join(i for i in text if ord(i)<128) | |
def extract_question_text(s): | |
html_tree = BeautifulSoup(s, "lxml").find("div") |
This file contains hidden or 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(drop_types_in_const)] | |
use std::sync::{Mutex, MutexGuard}; | |
#[macro_use] | |
extern crate lazy_static; | |
lazy_static! { | |
static ref POOL: Mutex<Vec<Obj>> = Mutex::new(vec![]); | |
} |