Skip to content

Instantly share code, notes, and snippets.

Val Redchenko vredchenko

Block or report user

Report or block vredchenko

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@vredchenko
vredchenko / hw_assignment.md
Created Aug 22, 2016 — forked from hndrewaall/hw_assignment.md
Homework Assignment: Today's Weather
View hw_assignment.md

Homework Assignment: Today's Weather

The program should retrieve and display current weather conditions, using a supplied IP address to look up the location data. If no address is provided, use the user's public IP address. It should have a CLI, with any flags and parameters deemed appropriate. It should be a tool that others can easily use and modify.

The program should be written in Python, and should run on Python 2.7.3.

@vredchenko
vredchenko / convert-contented-database-encoding-to-utf8.sql
Created Nov 6, 2016
Convert all columns (and data) in a Contented MySQL database into UTF-8
View convert-contented-database-encoding-to-utf8.sql
ALTER DATABASE contented1917 CHARACTER SET utf8;
ALTER TABLE content CHARACTER SET utf8;
ALTER TABLE content_category CHARACTER SET utf8;
ALTER TABLE content_history CHARACTER SET utf8;
ALTER TABLE content_list CHARACTER SET utf8;
ALTER TABLE content_list_field CHARACTER SET utf8;
ALTER TABLE content_metadata CHARACTER SET utf8;
ALTER TABLE content_note CHARACTER SET utf8;
ALTER TABLE content_relation CHARACTER SET utf8;
View git-cheatsheet.md

These aught to go into gitalias

strip spaces

[filter "trimWhitespace"]
    clean = git-stripspace

To find commit SHA by tag (on current branch)

You can’t perform that action at this time.