Skip to content

Instantly share code, notes, and snippets.

View charltongroves's full-sized avatar
🤠
yeet-haw

Charlton Groves charltongroves

🤠
yeet-haw
View GitHub Profile
############
# HOMEBREW #
############
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew cask # initializes
brew install yarn nvm ruby
// @flow
import React from "react"
import _ from "underscore"
import cn from "classnames"
import { connect } from "react-redux"
import Text from "components/Text"
import type {
GlobalState,
GlobalDispatch,
LocationRubyType,
// Place your settings in this file to overwrite the default settings
{
"editor.fontSize": 14,
"editor.fontFamily": "DejaVu Sans Mono for Powerline",
"editor.rulers": [
80,
100,
120
],
"editor.lineHeight": 20,
import math
x = 1 # tail value of square
num = int(input("whats your val: "))
depth = 0
edgelen = 0
for i in range(0,10000):
x = x + (i * 8) # build a layer and find new tail value
if (x > num):
depth = i # vertical distance from '1'
edgelen = (i*8 / 4) + 1 # length of largest square edge
problem = """515 912 619 2043 96 93 2242 1385 2110 860 2255 621 1480 118 1230 99
161 6142 142 1742 237 6969 211 4314 5410 4413 3216 6330 261 3929 5552 109
1956 4470 3577 619 105 3996 128 1666 720 4052 108 132 2652 306 1892 1869
2163 99 2257 895 112 1771 1366 1631 2064 2146 103 865 123 1907 2362 876
1955 3260 1539 764 185 5493 5365 5483 4973 175 207 1538 4824 205 1784 2503
181 3328 2274 3798 1289 2772 4037 851 1722 3792 175 603 725 158 2937 174
405 247 2083 956 725 258 2044 206 2054 561 2223 2003 2500 355 306 2248
837 937 225 1115 446 451 160 1219 56 61 62 922 58 1228 1217 1302
1371 1062 2267 111 135 2113 1503 2130 1995 2191 129 2494 2220 739 138 1907
3892 148 2944 371 135 1525 3201 3506 3930 3207 115 3700 2791 597 3314 132
problem = "95134467996366852979296466896829971143167334454515345323517785342514271721681836218746417115349172916743338574237993755126284894233322975382158551765926336926319748222591617662383859222778936239113325694489787719483161558687814966988954929713563839969328855187329976242536786942796665721498316163124979948562888715867777934599269524913183369971595537145845418972941174876418726297968255837259756922641258658275346772235414847958773719551244639892288864986824215396672249637836162456468321543847566632514876686814257545367228275636513275246741834436962275238288324664735383474729919989132118577498781575791764573953756329955765693884558881564654517236937678876813925471892733919486327264998683137472618281867329866283657737285833871841123236965925364465362313766159498251667735364715314879698525356997741131636672865371937675151193628651419256128494439834842452681948425631545676383546457353318558961551427416642467156668998243647229142964924446726538523873894776342577682297723994165211986253934264434992236118437

Keybase proof

I hereby claim:

  • I am charltongroves on github.
  • I am charliegrc (https://keybase.io/charliegrc) on keybase.
  • I have a public key ASA2ZgvsMidKC84KU2yBB95ILJaQUqDptvyAICwIZqYJJAo

To claim this, I am signing this object: