How Do You Use Python to Retrieve Information about Bitcoin Transactions?

Problem scenario
You want to use Python to get data from BTC transactions. You do not want to use “import requests”. What do you do?

Solution
Prerequisite

This assumes you have installed the Bitcoin pypi package: pip install bitcoin
If you need assistance installing pip, see this posting for Ubuntu or this posting for a Red Hat derivative.

…

How Do You Use an Amazon API Gateway?

Problem scenario
You want to use the AWS PaaS offering for exposing an API and having it be able to scale and handle lots of users easily. How do you use Amazon API Gateway?

Solution
Overview: This is a proof-of-concept. You could use different API types (e.g., web socket APIs for persistent applications like a chat window).

Prerequisite
This assumes you have a working Lambda function configured and you know its name.

…

How Do You Troubleshoot Discrepant nmap Results Based on The sudo Command?

Problem scenario
You are using nmap. You try the exact same command with sudo and without sudo. Why are these commands providing different results?

Here are examples of running the exact same command, once with “sudo” and once without:

jdoe@ciserver:~$ sudo nmap -p 9090 192.168.2.25
Starting Nmap 7.80 ( https://nmap.org ) at 2022-01-05 09:56 EST
Nmap scan report for 192.168.2.25
Host is up (0.00056s latency). …

How Do You Use Nomics to a Retrieve Cryptocurrency Prices?

Problem scenario
You want to use Nomics to retrieve cryptocurrency prices. What do you do?

Prerequisite
Get an API key. It is free here: https://p.nomics.com/pricing#free-plan
(You do not need to provided credit card information to obtain one.)

Procedures
Run this Python program but replace YOUR_KEY_HERE with the key:

import requests
resp = requests.get(“https://api.nomics.com/v1/prices?key=YOUR_KEY_HERE&format=json”)
for item in resp.json():
if item[’currency’] in [”BTC”, …

How Does an ssh Command Work in Detail?

Question
You want an overview of how SSH works because it seems confusing. You want to comprehend how it works or know exactly what happens when you run an SSH command like ssh jdoe@acme.com. Where can you find a precise explanation on using ssh as well as some background information on SSH?

Solution
SSH is named after the secure shell way of remotely connecting to another server using encryption.

…

How Do You Retrieve Cryptocurrency Data for One Day in the Past Using Python?

Problem scenario
You want to find the historic data for a given cryptocurrency using Python. You want to print out the low, high, open and close prices on a specific day. How do you get data for one specific date?

Solution

Prerequisite
This assumes you have installed pandas: pip install pandas

Procedures
Run this program:

“””
Usage instructions: Change the “2016-12-25” the value (assigned to “date_to_see”) to the day you want to view. …

Three Companies Grew by 1,000% in Five Years

In the past five years as of 8/30/21,

Cryptocurrency and financial technology appear to have very bright futures. To learn more about cryptocurrency, read these postings. To get a book about cryptocurrency, see this list.

…

How Do You Troubleshoot WordPress Posting Previews That Don’t Wrap on One Page?

Problem scenario
You have a website powered by WordPress. You see a big gulf of space between your widgets/ads and your posting previews. It only happens on one page of previews (not other pages). The ads are too far to the right when the preview doesn’t wrap. Why are your previews not wrapping on one page?

Solution
The problem may be one posting.

…

How Do You Print the Current Price of Bitcoin with Python without Installing New Packages?

Problem scenario
You do not want to install new Python modules. How do you use Python to print out the latest price of Bitcoin?

Solution
Run this program:

import requests
resp = requests.get(“https://api.coindesk.com/v1/bpi/currentprice/USD.json”)
print(resp.json()[’bpi’])

Here is a modified version of the program:

import requests
resp = requests.get(“https://api.coindesk.com/v1/bpi/currentprice/USD.json”)
print(resp.json()[’bpi’][’USD’][’rate’])

If you want to receive free cryptocurrency by just learning more,

…