I hereby claim:
- I am thehashrocket on github.
- I am hashrocket (https://keybase.io/hashrocket) on keybase.
- I have a public key ASDADXXfvya7POvUWtSmzptcd7ewTIJ1ZV5Mcrbsoqo5bAo
To claim this, I am signing this object:
| PHP Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/vendor/symfony/console/Helper/HelperSet.php on line 112 | |
| Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/vendor/symfony/console/Helper/HelperSet.php on line 112 | |
| Deprecation Notice: Optional parameter $schema declared before required parameter $path is implicitly treated as a required parameter in phar:///usr/local/bin/composer/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/UndefinedConstraint.php:62 | |
| Deprecation Notice: Optional parameter $schema declared before requir |
| import React from 'react'; | |
| import NavBar from '../Shared/NavBar'; | |
| const { useState, useEffect } = React; | |
| import useToken from '../useToken'; | |
| import reqwest from "reqwest"; | |
| import { useHistory, useParams } from 'react-router-dom'; | |
| import { Col, Layout, Row, Button, Form, Input, Modal, Rate, notification, Image, Divider, Alert, Space } from 'antd'; | |
| import LoadingSpinner from './../Shared/LoadingSpinner/LoadingSpinner'; | |
| import reviewNewStyles from './ReviewNew.module.css'; | |
| import { reviewStore } from '../../context/Store'; |
| queueCreator = () => { | |
| const queue = [] | |
| return { | |
| add(x) { | |
| queue.unshift(x) | |
| }, | |
| remove() { | |
| if (queue.length === 0) { | |
| return undefined | |
| } |
| #!/bin/bash | |
| set -ex | |
| brew update | |
| brew install rbenv ruby-build | |
| rbenv install 2.5.3 | |
| echo "export GEM_HOME=$HOME/gems" >> ~/.zshrc | |
| echo "export PATH=$HOME/gems/bin:$PATH" >> ~/.zshrc | |
| source ~/.zshrc | |
| curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-doctor | bash |
I hereby claim:
To claim this, I am signing this object:
| // Photoshop Script to Create iPhone Icons from iTunesArtwork | |
| // | |
| // WARNING!!! In the rare case that there are name collisions, this script will | |
| // overwrite (delete perminently) files in the same folder in which the selected | |
| // iTunesArtwork file is located. Therefore, to be safe, before running the | |
| // script, it's best to make sure the selected iTuensArtwork file is the only | |
| // file in its containing folder. | |
| // | |
| // Copyright (c) 2010 Matt Di Pasquale | |
| // Added tweaks Copyright (c) 2012 by Josh Jones http://www.appsbynight.com |
| # config/routes.rb | |
| get '/users/sign_in', to: redirect('/') | |
| get '/users/sign_up', to: redirect('/') | |
| devise_for :users, :controllers => { :omniauth_callbacks => "omniauth_callbacks" } | |
| # app/models/user.rb | |
| class User < ActiveRecord::Base | |
| validates :approved_user, inclusion: [true] |
| class PagesController < ApplicationController | |
| before_action :redirect_unless_live, only: [:cars, :trucks, :suvs] | |
| def cars; end | |
| def trucks; end | |
| def suvs; end | |
| home | |
| # ready to go live |
| if registered and remote_app = RemoteApplications.find(app_id) | |
| # do all the things | |
| end | |
| # or ... | |
| if remote_app = RemoteApplications.find(app_id) and registered | |
| # do all the things | |
| end |
| # load from YAML for defaults | |
| s3_config = YAML.load_file("#{Rails.root}/config/s3.yml")[Rails.env] || {} | |
| # ENV variables take precedent | |
| s3_config['aws_access_key_id'] = ENV['AWS_KEY'] if ENV['AWS_KEY'] | |
| s3_config['aws_secret_access_key'] = ENV['AWS_SECRET'] if ENV['AWS_SECRET'] | |
| s3_config['provider'] ||= 'AWS' | |
| s3_config.symbolize_keys! | |