Skip to content

Instantly share code, notes, and snippets.

Marcin Pycio mpycio

Block or report user

Report or block mpycio

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
@mpycio
mpycio / gist:0df4feaec0564d94e4a7
Last active Aug 29, 2015
import git repository to new remote
View gist:0df4feaec0564d94e4a7
Counting objects: 912, done.
Delta compression using up to 8 threads.
#!/bin/bash
# check if user passed name of the new remote repository
if [ -z "$1" ]
then
echo "No bitbucket repository name supplied"
exit 1
fi
@mpycio
mpycio / gist:ddbdea1adb6b86cf02f6
Last active Aug 29, 2015
transparent navigation bar using appeareance
View gist:ddbdea1adb6b86cf02f6
[[UINavigationBar appearance] setTintColor:[UIColor whiteColor]];
[[UINavigationBar appearance] setBackgroundImage:[UIImage new] forBarMetrics:UIBarMetricsDefault];
[[UINavigationBar appearance] setShadowImage:[UIImage new]];
[[UINavigationBar appearance] setTitleTextAttributes:@{NSForegroundColorAttributeName: [UIColor whiteColor]}];
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];
You can’t perform that action at this time.