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 is the original react hook before refactoring | |
// ---------------------------------------------------- | |
import IdentityRecord from "models/view-models/identity-record"; | |
import UserLoginRecord from "models/view-models/user-login-record"; | |
import { useCallback } from "react"; | |
import RoleService from "utilities/services/role-service"; | |
import UserRoleService from "utilities/services/users/user-roles/user-role-service"; | |
import UserService from "utilities/services/user-service"; |
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
// https://github.com/AndcultureCode/AndcultureCode.Cli/blob/main/and-cli-github.js | |
await github.getToken(); // make all requests authenticated | |
const repos = await github.repositoriesByAndculture(); | |
echo.headerSuccess("Calculating review counts..."); | |
const reviewCounts = {}; | |
await js.asyncForEach(repos, async (repo) => { | |
echo.message(` - Processing ${repo.full_name}`); |
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
# @see the before here -> https://gist.github.com/wintondeshong/0f69c292d6679bca1a9e | |
# 1. Specify ruby version | |
# 2. Maintain order of groups | |
# - default | |
# - production | |
# - staging | |
# - beta | |
# - assets | |
# - test |
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
# @see the after here -> https://gist.github.com/wintondeshong/b1674f2ea97df5f79858 | |
source 'https://rubygems.org' | |
gem 'rake', '10.0.0' | |
gem 'rails', '3.2.16' | |
#gem 'httparty', github: 'dkastner/httparty', branch: 'handle_invalid_location_uris' | |
gem 'dkastner-httparty' | |
gem 'mysql2' |
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
source 'http://rubygems.org' | |
ruby "2.0.0" | |
gem "jenkins_api_client" | |
gem "pry" | |
gem "json" |