Skip to content

Instantly share code, notes, and snippets.

View uptownhr's full-sized avatar

James Lee uptownhr

View GitHub Profile
@uptownhr
uptownhr / gist:888f27fcf4d636d0197dd5736514094a
Last active July 5, 2024 04:35
One Million Checkboxes - Checker
// to copy and paste in your browser console after successfully loading https://onemillioncheckboxes.com/
let currentPosition = 459999
function getRandomInt(min, max) {
min = Math.ceil(min);
max = Math.floor(max);
return Math.floor(Math.random() * (max - min + 1)) + min;
}
If I'm an HR company, and selling an hr audit as s service. What are the categories or sections that would exist in an hr audit
A Human Resources (HR) audit is a comprehensive method of objective and systematic verification of current practices, documentation, policies and procedures prevalent in the HR department of an organization. The following categories or sections typically exist in an HR audit:
1. **Compliance with Employment Laws**: This includes reviewing whether the company is compliant with all relevant local, state, and federal employment laws. Examples might include the Fair Labor Standards Act (FLSA), the Americans with Disabilities Act (ADA), the Family and Medical Leave Act (FMLA), etc.
2. **Policies and Procedures**: Checking the completeness, relevancy, and appropriateness of policies and procedures related to employment, such as hiring, onboarding, compensation, benefits, performance evaluations, promotions, disciplinary procedures, and terminations.
3. **Recordkeeping and Reporting**:
{"data":{"getHrRequestOptions":{"groups":[{"key":"EMPLOYEE_ISSUES","icon":"usersSolid","title":"Employee Issues","__typename":"HrRequestGroup"},{"key":"ENDING_EMPLOYMENT","icon":"doorOpenSolid","title":"Ending Employment","__typename":"HrRequestGroup"},{"key":"HIRING_ONBOARDING","icon":"clipboardCheckSolid","title":"Hiring & Onboarding","__typename":"HrRequestGroup"},{"key":"PAY_BENEFITS","icon":"moneyWave","title":"Pay & Benefits","__typename":"HrRequestGroup"},{"key":"POLICIES","icon":"fileLines","title":"Policies","__typename":"HrRequestGroup"},{"key":"SUPPORT","icon":"laptopMedical","title":"Support","__typename":"HrRequestGroup"},{"key":"TIME_OFF","icon":"calendar","title":"Time Off","__typename":"HrRequestGroup"},{"key":"EMPLOYEE_FEEDBACK","icon":"commentSolid","title":"General","__typename":"HrRequestGroup"}],"options":[{"title":"Staff Complaint","description":"Staff member concerns about harassment, hostility, etc.","popular":null,"groupKey":"EMPLOYEE_ISSUES","type":"EMPLOYEE_RELATIONS","subType":"STA
@uptownhr
uptownhr / graphql.schema
Created June 5, 2021 23:19
producthunt graphql schema
# This file was generated based on ".graphqlconfig". Do not edit manually.
schema {
query: Query
mutation: Mutation
}
"An object that can have topics associated with it."
interface TopicableInterface {
"ID of the object."
@uptownhr
uptownhr / CompanyUser Schema
Created March 26, 2019 18:21
destructuring a mongoose document causes error
const companyUserSchema = new Schema({
profile: {
type: profileSchema,
default: profileSchema
}
})
@uptownhr
uptownhr / keybase.md
Created February 8, 2017 19:43
keybase.md

Keybase proof

I hereby claim:

  • I am uptownhr on github.
  • I am uptownhr (https://keybase.io/uptownhr) on keybase.
  • I have a public key ASAeSWOwZqxeGXdsq8pZymydt5KpYAH0qhCgQY7pU_s2sAo

To claim this, I am signing this object:

@uptownhr
uptownhr / filestack.css
Last active September 2, 2016 22:19
filestack
.btn.btn--primary {
background-color: #694981;
border: 1px solid #694981;
}
@uptownhr
uptownhr / gist:591ef8212c9e5a6270488911343361d0
Created June 24, 2016 23:12
Decorator function example
/**
* Observer function / decorator
*/
function observer(arg1, arg2) {
if (typeof arg1 === "string")
throw new Error("Store names should be provided as array");
if (Array.isArray(arg1)) {
// component needs stores
if (!arg2) {
// invoked as decorator
@uptownhr
uptownhr / api.json
Created May 12, 2016 15:42
api market
{
"swagger": "2.0",
"info": {
"title": "Uber API",
"description": "Move your app forward with the Uber API",
"version": "1.0.0"
},
"host": "api.uber.com",
"schemes": [
"https"