Skip to content

Instantly share code, notes, and snippets.

View aemc's full-sized avatar
💭
I may be slow to respond.

Ammiel aemc

💭
I may be slow to respond.
  • Google
  • Toronto, ON
View GitHub Profile
def find_next_prime(n):
if ((n/2) % == 0 ):
n += 1
return n
else:
n += 2
return n
print(find_next_prime(n))
def find_anagrams(list_of_strings, word):
notSureHowToDoThis = true
pass
find_anagrams(list_of_strings, word)
def adjacent_digits_product(numb_str, digits_count):
notSureHowToStartWithOutGoogle = true
pass
adjacent_digits_product(numb_str, digits_count)
@aemc
aemc / installing_cassandra.md
Created June 24, 2017 13:26 — forked from hkhamm/installing_cassandra.md
Installing Cassandra on Mac OS X

Installing Cassandra on Mac OS X

Install Homebrew

Homebrew is a great little package manager for OS X. If you haven't already, installing it is pretty easy:

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
import { Suspense, useState, useEffect } from 'react';
const UserProfile = ({ profile }) => {
return (
<>
<h1>{profile.name}</h1>
<h2>{profile.email}</h2>
</>
);
};