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 <curses.h> | |
#include <panel.h> | |
#include <menu.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <assert.h> | |
char *itemsstr[][2] = { | |
{"Resume", "Continue where you left"}, |
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 <curses.h> | |
#include <panel.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#define NLINES 10 | |
#define NCOLS 40 | |
#define COUNT 3 | |
#define TEELINE 2 |
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 requests | |
response = requests.get("https://httpbin.org/ip") | |
print(response.json()['origin']) |