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 <ctype.h> | |
int getport(char * unfiltered) | |
{ | |
char *port = unfiltered; | |
long val = strtol(port, &port, 10); | |
return val; |
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
# Makefile.in generated by automake 1.14.1 from Makefile.am. | |
# Makefile. Generated from Makefile.in by configure. | |
# Copyright (C) 1994-2013 Free Software Foundation, Inc. | |
# This Makefile.in is free software; the Free Software Foundation | |
# gives unlimited permission to copy and/or distribute it, | |
# with or without modifications, as long as this notice is preserved. | |
# This program is distributed in the hope that it will be useful, |
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
// Darren Rainey 2024 - github.com/Darren | |
// | |
// A Simple javascript snippet to pause a youtube video after x seconds | |
// Simply copy and paste in Chrome devtools / console and run | |
// pause(60) to pause the current video after 60 seconds. | |
function pause(timeInSeconds){ | |
seconds = timeInSeconds * 1000 | |
setTimeout(() => { |