Skip to content

Instantly share code, notes, and snippets.

View noahclements's full-sized avatar

Noah Clements noahclements

View GitHub Profile

Keybase proof

I hereby claim:

  • I am noahclements on github.
  • I am noahclements1 (https://keybase.io/noahclements1) on keybase.
  • I have a public key ASCKG5drgAeVqM1MewREZLbgChIlsFwVO2seI2XEbMbbmwo

To claim this, I am signing this object:

#!/bin/bash
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927
echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list
sudo apt-get update
sudo apt-get install -y mongodb-org
cat >> /lib/systemd/system/mongod.service << EOF
[Unit]
Description=High-performance, schema-free document-oriented database
After=network.target
import java.io.*;
public class J12PartFive {
public static void main(String[] args) throws IOException {
InputStreamReader inStream = new InputStreamReader(System.in);
BufferedReader stdin = new BufferedReader(inStream);
String inData, charChange;
System.out.println("Enter one character at a time and press enter. When you are done, include '.' in the input.");
Private Sub cmdCalculate_Click()
intStartNum = txtStart.Text ' declares the start number text box
intEndNum = txtEnd.Text ' declares the end number text box
For intTotal = intStartNum To intEndNum ' from the start number to end number, it adds it to a counter, and repeats until the end number
intCounter = intTotal
intDisplay = intDisplay + intCounter
Next
@noahclements
noahclements / gist:0e0126a2b855905a3bc17ec4234c13af
Last active December 21, 2016 16:08
Blackjack/21 game in Visual Basic 6 (problem with MsgBox display)
Trying to make the game "21" in visual basic 6, i have everything done but MsgBox is not displaying when its Bust, or Blackjack. Any ideas?
Private Sub cmdCheckScore_Click()
lblPC1.Visible = True
lblPC2.Visible = True
lblPC3.Visible = True
End Sub
### Keybase proof
I hereby claim:
* I am noahclements on github.
* I am noahclements (https://keybase.io/noahclements) on keybase.
* I have a public key whose fingerprint is 7E2D 0615 64AB D282 C9D9 CE41 145F 8E34 A930 BC92
To claim this, I am signing this object: