Login
Discover
Waves
Communities
Login
Signup
impshum
@impshum
43
If it wasn't for those damn whelks!
Followers
124
Following
1167
Follow
Resource Credits
Available
Used
Location
Newcastle Upon Tyne, UK
Website
https://recycledrobot.co.uk
Created
2019-07-21 16:39
RSS Feed
Subscribe
Posts
Blog
Posts
Comments
Communities
Wallet
impshum
html
2019-07-30 14:56
Unsplash As A Holding Page
A Very Simple Holding Page Some people put so much work into these things. I just use this piece of scrap! <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta
$ 0.000
3
1
impshum
html
2019-07-30 10:38
Fade In Page Body Without Flicker
A nice and easy fade in script for your shiny website. Give it a spin! Add CSS html { background-color: #111; } body { opacity: 1; transition: 1s opacity; } body.fade-out { opacity: 0; transition: none;
$ 0.000
2
1
1
impshum
python
2019-07-27 19:51
How To Print Coloured Text In A Terminal
Print Simple Colours With Python There's other solutions out there like coloured but this little class does me nicely. class C: W, G, R, P, Y, C = '\033[0m', '\033[92m', '\033[91m', '\033[95m', '\033[93m',
impshum
javascript
2019-07-26 14:44
Grabbing Free Data From Reddit In A Browser
How To Use The Open Reddit JSON API With jQuery For those who didn't know already... Reddit offers it's data for subreddits publically. You can access this data by simply adding .json to the end of the
impshum
tutorial
2019-07-26 14:27
Print A Directory Tree On Github Readme
A simple little markdown trick Grab your tree. In a terminal enter/cd into the directory you want to map and... tree Or grab it from afar. tree dir Copy the results it spews out and use this template.
impshum
javascript
2019-07-26 11:35
How To Run Functions Referenced In A Javascript Dictionary
Run functions from a dictionary First we'll initialise a simple object/dictionary with some key/value pairs. var dict = { text: 'Hello', action: 'fun' } Now on the the actual fun function. We'll declare
impshum
python
2019-07-25 14:01
Download XKCD Comics With Python
Sarcasm, math, and language + requests Here's a tiny script to download all the XKCD comics. Create a directory called comics next to the script and it'll throw them all in and name them accordingly. Made
impshum
python
2019-07-25 11:13
Messing around with stupid artificial intelligence
This is Deepsplash! So I found this API called DeepAI and it has a thing called Neural Talk. It's description says "Summarizes the content of an image in a one sentence description." so I thought
impshum
python
2019-07-25 10:35
Parse JSON From External URL With Python
A few snippets to help you out In its most basic form. from requests import get data = get(url).json() Now let's add a url and print out the results. Lets use as it's free and all that jazz. from requests
impshum
python
2019-07-24 11:01
Delete All Tweets With Python
Using Tweepy to clear all tweets If there's any need for deleting all your posts from Twitter here's a handy snippet to help you do such a thing. import tweepy consumer_key = 'XXXX' consumer_secret = 'XXXX'
impshum
python
2019-07-23 10:39
How To Create A Simple Login System With Python
A User Login With Extra Snakes First we'll need to get the username and password from the user. username = input('Username: ') password = input('Password: ') print(f'{username}:{password}') Actually...
impshum
introduceyourself
2019-07-22 20:39
Greetings Fellow Steemians
One has arrived. Woo! I had no idea this thing existed until a few weeks ago when my friend came to me really excited blabbing on about some new crypto platform he'd just joined. Thanks for telling me
impshum
python
2019-07-22 20:06
Automate Instagram With Python
Let's Do A Little Dance With InstaSpam Let's import what we need for later on and log in to Instagram. from InstagramAPI import InstagramAPI from time import sleep from random import randint instauser
impshum
python
2019-07-22 19:17
How To Use Sqlite with Python
Sqlite Doesn't Bite Import the requirements and connect to a database called data.db in the same directory as the script. import sqlite3 from sqlite3 import Error def db_connect(): try: conn =
impshum
python
2019-07-22 19:05
Basic Python Loops Tutorial
Lets get loopy! For loops Some simple looping techniques without going too much into everything. First we need something to play with. How about a list of things? things = ['SpongeBob SquarePants', 'Patrick
impshum
python
2019-07-22 15:21
Browser Automation With Splinter
Guide The Ghost In The Machine! Splinter is an abstraction layer on top of existing browser automation tools such as Selenium. It has a high-level API that makes it easy to write automated tests of web
impshum
python
2019-07-22 15:15
It's a strange meow world
How To Throw Cats At Random Internet People We all love cats right? Well most of us do, and the internet is absolutely rammed with them. There's even a few API's that give you a random cat image totally
impshum
python
2019-07-22 15:10
Well... Am I Online Yet?
How To Check For Internet Connection With Python Just a quickie! I find this rather handy so I thought I'd share it. If we can get through to goGgle the response should be 200. from requests import get
impshum
python
2019-07-22 14:18
How To Build A Flask Ajax Template
A Simple Flask Application First install Flask with pip install flask Next we'll need to create some directories and files. Here's a nice tree. ├── run.py ├── static │ ├── css │ │ └── styles.css │ └──
impshum
python
2019-07-22 14:10
Pickle DB - A fantastic key-value store
Fantastic Pickles! Recently I've been using PickleDB for storing simple key-value data and I really like it. It's so simple and easy to use it's unreal. Here's the basic setup. import pickledb db =
← Latest
Older →