Skip to content

Instantly share code, notes, and snippets.

👾
Web technologies lover! ❤️

Miguel Ángel Durán midudev

👾
Web technologies lover! ❤️
Block or report user

Report or block midudev

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
@delacruz-dev
delacruz-dev / copyssh.sh
Created Aug 8, 2016
Copy your SSH key in your clipboard
View copyssh.sh
cat ~/.ssh/id_rsa.pub | pbcopy
@carlesba
carlesba / Block.js
Last active Jul 17, 2016
Reusable Components
View Block.js
/*
Block
--
Propagate any prop to the children but allowing className extension
Needs `babel-plugin-transform-object-rest-spread`
*/
const Block = ({classes, className, ...rest}) =>
<div {...rest} className={`${[classes, className].join(' ')}`} />
@nucliweb
nucliweb / npm.aliases.bash
Last active Jun 8, 2016
NPM Aliases for Bash-it
View npm.aliases.bash
cite 'about-alias'
about-alias 'common npm abbreviations'
# Aliases
alias ni='npm install'
alias nis='npm install --save'
alias nid='npm install --save-dev'
alias nit='npm install-test'
alias nits='npm install-test --save'
alias nitd='npm install-test --save-dev'
@sekati
sekati / xcode-build-bump.sh
Created Jul 24, 2012
Xcode Auto-increment Build & Version Numbers
View xcode-build-bump.sh
# xcode-build-bump.sh
# @desc Auto-increment the build number every time the project is run.
# @usage
# 1. Select: your Target in Xcode
# 2. Select: Build Phases Tab
# 3. Select: Add Build Phase -> Add Run Script
# 4. Paste code below in to new "Run Script" section
# 5. Drag the "Run Script" below "Link Binaries With Libraries"
# 6. Insure that your starting build number is set to a whole integer and not a float (e.g. 1, not 1.0)
@bjhomer
bjhomer / UIWebView+AccessoryHiding.m
Created Mar 16, 2012
Hiding the inputAccessoryView of a UIWebView
View UIWebView+AccessoryHiding.m
#import <objc/runtime.h>
#import <UIKit/UIKit.h>
@interface UIWebView (HackishAccessoryHiding)
@property (nonatomic, assign) BOOL hackishlyHidesInputAccessoryView;
@end
@implementation UIWebView (HackishAccessoryHiding)
static const char * const hackishFixClassName = "UIWebBrowserViewMinusAccessoryView";
You can’t perform that action at this time.