Skip to content

Instantly share code, notes, and snippets.

View jkwill87's full-sized avatar

Jessy Williams jkwill87

View GitHub Profile
@jkwill87
jkwill87 / pyoxidizer_install.log
Created June 12, 2021 05:32
pyoxidizer install log
Updating crates.io index
Updating crates.io index
Installing pyoxidizer v0.16.0
Installing pyoxidizer v0.16.0
Compiling libc v0.2.97
Compiling libc v0.2.97
Compiling proc-macro2 v1.0.27
Compiling proc-macro2 v1.0.27
Compiling unicode-xid v0.2 Compiling unicode-xid v0.2.2
.2
(╯°□°)╯︵ ┻━┻
┬─┬ノ( º _ ºノ)
┬─┬ノ(。__。ノ)
(。__。 )ノ︵ ┻━┻
( º _ º )ノ︵ ┻━┻
class OMDb(_ApiProvider):
"""Queries the OMDb developer API.
"""
def __init__(self, **options):
super(OMDb, self).__init__(**options)
def lookup(self, imdb_id, abridged=False):
pass
#include <stdio.h>
#include <stdlib.h>
#include <ncurses.h>
#include <time.h>
#include <unistd.h>
/*******************************************************************************
*
* ncurses-frogger.c:
#include <stdio.h>
/**
* average.c
*
* this program will allocate memory for an integer array on the stack, and
* demonstrate how C treats values passed by value as opposed to by reference.
*/
#include <stdio.h>
#include <stdlib.h>
/**
* grade2.c
*
* this program will allocate memory for an integer on the heap, and demonstrate
* how C treats values passed by value as opposed to by reference.
*/
#include <stdio.h>
#include <stdlib.h>
/**
* grade1.c
*
* This program will allocate memory for an integer on the stack, and
* demonstrate how C treats values passed by value as opposed to by reference.
*/
@jkwill87
jkwill87 / strcnt.c
Created January 21, 2016 02:28
A simple C function which returns the instance count of a character within a string
int strcnt(char s[], int c) {
char *pos;
int i = 0;
int count = 0;
do {
pos = s + i++;
if (*pos == c) count++;
} while (*pos);
return count;
}
@jkwill87
jkwill87 / uppercase.c
Last active January 21, 2016 02:29
CIS2500 - lab 01 - uppercase
#include <stdio.h>
#include "uppercase.h"
int main(int argc, char** argv) {
FILE* textFile;
char text[BUFFER];
/* Open text file */
textFile = fopen(argv[1], "r");
@jkwill87
jkwill87 / hello.c
Created January 15, 2016 03:05
CIS2500 - lab 01 - hello
#include <stdio.h>
#include "hello.h"
int main(int argc, char** argv, char *envp[]){
hello("World");
hello("is it me you're looking for?");
return 0;
}
void hello(char* toWho){