Skip to content

Instantly share code, notes, and snippets.

View Ameobea's full-sized avatar

Casey Primozic Ameobea

View GitHub Profile
; ModuleID = 'thing.c'
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c"Enter the last number (n) of the series\0A\00", align 1
@.str1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str2 = private unnamed_addr constant [51 x i8] c"Error. You gave a negative number. Program ends.\0A\00", align 1
@.str3 = private unnamed_addr constant [35 x i8] c"Input the number to be the power\0A\00", align 1
@.str4 = private unnamed_addr constant [59 x i8] c"The sum of the 1-%d series of integers raised in %d is %d\00", align 1
Processing football.gml:
Chordal: False
[u'Wyoming', u'Minnesota', u'Illinois', u'Indiana', u'Tulsa', u'Cincinnati', u'BrighamYoung', u'IowaState', u'LouisianaTech', u'MiddleTennesseeState', u'Wisconsin', u'Northwestern', u'KansasState', u'Navy', u'PennState', u'Auburn', u'BoiseState', u'Purdue', u'AirForce']
0.407239819005
Name:
Type: Graph
Number of nodes: 115
Number of edges: 613
Average degree: 10.6609
max average neighbor degree:
>>> samm_script.process(samm_script.loadNetwork("dolphins.gml"))
Chordal: False
[u'Beescratch', u'SN100', u'SN9', u'DN63', u'Oscar', u'Number1', u'Knit', u'PL', u'SN89', u'Upbang']
0.308775731311
Name:
Type: Graph
Number of nodes: 62
Number of edges: 159
Average degree: 5.1290
max average neighbor degree:
### Keybase proof
I hereby claim:
* I am ameobea on github.
* I am ameo (https://keybase.io/ameo) on keybase.
* I have a public key whose fingerprint is 3217 FED5 F754 BF58 FF12 A3EC 2A02 222D A342 5B99
To claim this, I am signing this object: