This file contains 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
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
This file contains 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
#include <stdio.h> | |
int add(int, int); | |
int analyze(char*); | |
int operate(char, int, int); | |
int main() { | |
char input[10]; | |
printf("Welcome to mat's calculator 0.0.0.1\n"); |
This file contains 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
def string_reverser(string): | |
new_string = [] | |
for letter in string: | |
new_string.insert(0, letter) | |
return "".join(new_string) | |
inpt = raw_input("What string to reverse? ") | |
print(string_reverser(inpt)) |
This file contains 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
#include <iostream> | |
#include <map> | |
using namespace std; | |
struct Card { | |
string name; | |
}; |
This file contains 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
def string_analyzer(string): | |
first_num = "" | |
second_num = "" | |
x = False | |
print(string) | |
for letter in string: | |
if x == False: | |
if letter == "x" or letter == "X": | |
x = True | |
else: |
This file contains 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
#navbar { | |
width:100%; | |
float:left; | |
margin: 0 0 lem 0; | |
padding: 0; | |
background-color: black; | |
position:absolute; | |
} | |
#navbar ul { | |
list-style: None; |
This file contains 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
print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") | |
print("Welcome To Mat's Super Duper Cube Maker") | |
print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") | |
print("This application doesn't check card names or legality or anything like that\nNote that means if you misspell a name or enter a fake card.\nThis program won't know that it isn't real.") | |
print("It's a basic application that will make sure you get the right number of cards \nin your cube per color") | |
print("Then it prints your cube list to an easy to read Text File") | |
print("Currently it only supports 360 card cubes.") | |
print("Later functionality is planned to add things like cmc, power/toughness, etc.\n\n") | |
NewerOlder