I hereby claim:
- I am tmcnab on github.
- I am tmcnab (https://keybase.io/tmcnab) on keybase.
- I have a public key whose fingerprint is B1CB 33E3 7A0C A19C 4070 579E C8F3 B43C FCE5 AF3E
To claim this, I am signing this object:
export default function CheckboxGrid ({ columns, items, onChange }) { | |
// TODO assert that columns > 0 | |
const didChange = ({ checked, value }) => { | |
const nextItems = [...items] | |
const index = findIndex(nextItems, (item) => item.value === value) | |
nextItems[index] = { ...nextItems[index], checked } | |
onChange(nextItems) | |
} | |
const $columns = items.map(({ checked, label, value }) => |
function transverseChunk (array, size = 1) { | |
if (!(array instanceof Array)) throw new TypeError(`argument 'array' must be type array, received '${typeof array}'`) | |
if (typeof size !== 'number') throw new TypeError(`argument 'size' must be type number, received '${typeof size}'`) | |
if (size === 1 || array.length < 1) { | |
return [...array] | |
} | |
const chunks = new Array(n) | |
chunks.fill([]) |
I hereby claim:
To claim this, I am signing this object:
namespace Assets.RED.Scripts.Behaviors | |
{ | |
using System; | |
using UnityEngine; | |
public abstract class BoidBase : MonoBehaviour | |
{ | |
public float DetectionRadius; | |
public float TurningSpeed; |
[POST("ajax/recruitment/recruiter/bookmark", IgnoreRoutePrefix = true)] | |
public ActionResult Bookmark(CandidateSearchBookmark bookmark) | |
{ | |
using (var r = new System.IO.StreamReader(Request.InputStream)) | |
{ | |
Request.InputStream.Seek(0, System.IO.SeekOrigin.Begin); | |
System.Diagnostics.Debug.WriteLine(sr.ReadToEnd()); | |
} | |
RecruiterRepository.CreateBookmark(bookmark); |