On iPad, if you scroll on the right hand side (Where the scrollbar would be) it doesn't prevent overscroll.
A little function that I thought would be useful to create a tuple of rgb percentages from a hex string.
The original function was contained within a file of many special functions (which is why you must specify hex2rgb as the first param, this will be changed in a future release)
Call the function with a parameter of hex2rgb and a second of a hex string 0xf93819.
It will display variable outputs that may be useful:
- Invdidual decimal numbers e.g. a hex of 
e2will output226 - Percentages of the hex e.g. a hex of 
e2will output.88 - A tuple of the percentages 
{.88, .32, .12} 
  
    
      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
    
  
  
    
  | Both players pick a number, if it's the same no one wins, if it's an even number P1 wins and if it's odd P2 wins. | |
| Given a set of numbers {1,2,3} P2 is always more likely to win the more games they play | |
| All of the events are just as likely to happen (if they choose randomly) | |
| {1,1} = Same number = No one wins | |
| {1,2} = 3 = Odd = P2 | |
| {1,3} = 4 = Even = P1 | |
| {2,1} = 3 = = P2 | 
  
    
      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
    
  
  
    
  | [1, -1, -1, 1, -1, -1, -1, -1, 1, -1, -1, -1, 1, -1, -1, -1, -1, 1, -1, -1, -1, 1, -1, 1, -1, -1, 1, -1, 1, 1, 1, 1, -1, 1, 1, -1, -1, 1, -1, -1, -1, -1, -1, -1, -1, -1, 1, 1, 1, 1, -1, -1, 1, -1, -1, -1, 1, -1, -1, -1, -1, -1, -1, -1, 1, -1, -1, -1, -1, 1, -1, 1, 1, 1, 1, -1, -1, 1, -1, -1, -1, 1, -1, -1, -1, -1, 1, -1, 1, -1, -1, 1, 1, -1, -1, -1, -1, 1, -1, -1] | |
| [1, -1, -1, 1, -1, -1, -1, -1, 1, -1, -1, -1, 1, -1, -1, -1, -1, 1, -1, -1, -1, 1, -1, 1, -1, -1, 1, -1, 1, 1, 1, 1, -1, 1, 1, -1, -1, 1, -1, -1, -1, -1, -1, -1, -1, -1, 1, 1, 1, 1, -1, -1, 1, -1, -1, -1, 1, -1, -1, -1, -1, -1, -1, -1, 1, -1, -1, -1, -1, 1, -1, 1, 1, 1, 1, -1, -1, 1, -1, -1, -1, 1, -1, -1, -1, -1, 1, -1, 1, -1, -1, 1, 1, -1, -1, -1, -1, 1, -1, -1] | |
| [1, -1, -1, 1, -1, -1, -1, -1, 1, -1, -1, -1, 1, -1, -1, -1, -1, 1, -1, -1, -1, 1, -1, 1, -1, -1, 1, -1, 1, 1, 1, 1, -1, 1, 1, -1, -1, 1, -1, -1, -1, -1, -1, -1, -1, -1, 1, 1, 1, 1, -1, -1, 1, -1, -1, -1, 1, -1, -1, -1, -1, -1, -1, -1, 1, -1, -1, -1, -1, 1, -1, 1, 1, 1, 1, -1, -1, 1, -1, - | 
  
    
      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 day03_a = input => { | |
| // NOTE: Doesn't work for actual square numbers, too lazy to fix, deal with it | |
| // n = the square root of the nearest square number below it | |
| // m = the square root of the nearest square number above it | |
| const n = roundDownToNearestOddNumber(Math.sqrt(input)) | |
| const n2 = n * n | |
| // amount of steps to reach the nth corner [not the mth] | |
| const steps_for_n = (n + 1) / 2 | 
  
    
      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
    
  
  
    
  | class Item extends React.Component { | |
| constructor(props){ | |
| super(props); | |
| this.state = { | |
| name: props.name, | |
| count: props.count | |
| } | |
| } |