I hereby claim:
- I am jensendarren on github.
- I am jensendarren (https://keybase.io/jensendarren) on keybase.
- I have a public key ASCUxtscnfGIjSlMCwIboYoEa2sGTmteWlwklL9PgF72xAo
To claim this, I am signing this object:
# Add this to your ~/.bashrc file then run `source ~/.bashrc` | |
alias gs='git status ' | |
alias ga='git add ' | |
alias gb='git branch ' | |
alias gc='git commit' | |
alias gd='git diff' | |
alias gg='git grep -i' | |
alias go='git checkout ' |
I hereby claim:
To claim this, I am signing this object:
<!--Make sure to install @vue/cli-service-global first--> | |
<!--Serve this up using `vue serve` at the command line--> | |
<!--Details here: https://cli.vuejs.org/guide/prototyping.html --> | |
<template> | |
<h1>Hello {{name}}</h1> | |
</template> | |
<script> | |
export default { | |
data() { |
<!--Make sure to install @vue/cli-service-global first--> | |
<!--Serve this up using `vue serve` at the command line--> | |
<!--Details here: https://cli.vuejs.org/guide/prototyping.html --> | |
<template> | |
<div> | |
<h1>{{name}}</h1> | |
<b>Logging To Vue Component? <span>{{logging}}</span></b> | |
<br /> | |
<button @click="testLog">Test Log</button>|<button @click="testWarn">Test Warn</button>|<button @click="toggleLogging">Toggle Logging</button> | |
<hr/> |
/* | |
Given a list of numbers an a number k, return whether any two number from the list add up to k | |
For example. given [10,15,3,7] and k of 17 return true sine 10 + 7 is 17. | |
Bonus can you do in a single pass? | |
*/ | |
array = [7,15,3,7,8,3,4,100] | |
k = 23 |
from decimal import * | |
#Sets decimal to 10000 digits of precision | |
getcontext().prec = 10000 | |
def plouffBig(n): #http://en.wikipedia.org/wiki/Bailey%E2%80%93Borwein%E2%80%93Plouffe_formula | |
pi = Decimal(0) | |
k = 0 | |
while k < n: | |
pi += (Decimal(1)/(16**k))*((Decimal(4)/(8*k+1))-(Decimal(2)/(8*k+4))-(Decimal(1)/(8*k+5))-(Decimal(1)/(8*k+6))) |
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity >=0.7.0 <0.9.0; | |
contract BoolType { | |
bool public aBool; | |
function notBool() public view returns (bool) { | |
return !aBool; | |
} |
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity >=0.7.0 <0.9.0; | |
contract BoolType { | |
//a basic bool | |
bool public aBool; | |
function notBool() public view returns (bool) { | |
return !aBool; |
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity >=0.7.0 <0.9.0; | |
contract IntegerType { | |
// uint type is same as uint256 | |
uint256 aUint; | |
// int type is same as int256 | |
int256 anInt; |