Skip to content

Instantly share code, notes, and snippets.

🛠
Yo ho ho

Pavel White pahaz

🛠
Yo ho ho
Block or report user

Report or block pahaz

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
@miohtama
miohtama / sheet.py
Last active May 13, 2019
Creating and sharing Google Sheet spreadsheets using Python
View sheet.py
"""Google spreadsheet related.
Packages required: gspread, cryptography, oauth2client, google-api-python-client
For OSX see
* http://stackoverflow.com/a/33508676/315168
"""
import logging
@javiromero
javiromero / git_post_checkout_clean_pyc_and_empty_dirs.py
Last active Aug 8, 2017
Python scripts to check for new/missing Django migrations and Cleaning *.pyc and *. pyo for deleted *.py files from a repo & to remove any empty dir after every checkout
View git_post_checkout_clean_pyc_and_empty_dirs.py
#!/bin/env python
"""
A hook to git that removes orphan files "*.pyc" and "*.pyo" for "*.py"
beeing deleted or renamed by git checkout. It also removes their empty parent
directories.
Place it to "my_local_repository/.git/hooks/post-checkout" and make it executable.
Nothing is cleaned for .py files deleted manually or by "git rm" etc.
Related to http://stackoverflow.com/q/1504724/448474
"""
import glob
View HomeTask.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Бетмен_против_ниндзя
{
class Program
{
View Game.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Game
{
class Program
{
You can’t perform that action at this time.