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> | |
#include <stdlib.h> | |
#include <string.h> | |
char result[512]; | |
void char_to_hex(char char_input, int should_copy) | |
{ | |
char *result_char; | |
switch(char_input) | |
{ |
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> | |
#include <string.h> | |
#include <stdlib.h> | |
int most_freq_chars(char *decrypt_attempt) | |
{ | |
struct high_freq_characters { | |
int E; | |
int T; | |
int A; |
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> | |
#include <string.h> | |
#include <stdlib.h> | |
int most_freq_chars(char *decrypt_attempt) | |
{ | |
struct high_freq_characters { | |
int E; | |
int T; |
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> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <math.h> | |
char convert_int_to_hex(int arg) | |
{ | |
char result; | |
switch(arg) |
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> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <math.h> | |
int convert_int_to_base_64(int arg) | |
{ | |
char result; | |
switch(arg) | |
{ |
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
interface Collection { | |
push(value: number): void; | |
pop(): number; | |
peek(): number; | |
isEmpty(): boolean; | |
} | |
class Node { | |
value: number; | |
constructor(value: number) { |
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
interface Collection { | |
pop(): number; | |
push(value: number): void; | |
peek(): number; | |
isEmpty(): boolean; | |
} | |
class Stack implements Collection { | |
value: number; | |
pointer: any; |
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
import Ember from 'ember'; | |
export default Ember.Route.extend({ | |
model: function() { | |
// We are loading the groups where the current officer is a reviewer | |
var store = this.store; | |
return store.find('group-officer', {}).then(function(groups) { | |
var triggerStats = groups.map(function(group) { | |
return Ember.RSVP.all(group.get('group').get('topTriggers').map(function(topTrigger) { | |
return store.find('triggerStat', { |