This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
usage() { | |
echo "Usage: sshpd [start|stop] [username@server_address]" | |
} | |
if [ "$1" == "start" ]; then | |
if [ "$2" != "" ]; then | |
ssh -D 8080 -f -C -q -N $2 | |
echo "[sshpd] service started!" | |
echo "[sshpd] listening for incoming connections on port 8080..." | |
else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Created by Jader Feijo on 06/02/2014. | |
// Copyright (c) 2014 Jader Feijo. All rights reserved. | |
// | |
// @license MIT | |
// | |
#import <Foundation/Foundation.h> | |
@interface NSNumber (Random) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Created by Jader Feijo on 03/12/2014. | |
// Copyright (c) 2014 Movinpixel. All rights reserved. | |
// | |
// @license MIT | |
#import <Foundation/Foundation.h> | |
@interface NSArray (Random) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// NSString+MD5.h | |
// | |
// Created by Jader Feijo on 03/06/2011. | |
// Copyright 2011 movinpixel. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
#import <CommonCrypto/CommonDigest.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
require 'plist' | |
command = ARGV[0] | |
file_path = "Info.plist" | |
supported_parameters = "Supported parameters: increment, decrement, print" | |
if !File.file?(file_path) | |
print "File '#{file_path}' not found.\n\n" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
require 'plist' | |
command = ARGV[0] | |
file_path = "Info.plist" | |
supported_parameters = "Supported parameters: increment, decrement, print" | |
if !File.file?(file_path) | |
print "File '#{file_path}' not found.\n\n" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
git tag -d $1 & git push $2 :refs/tags/$1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh $1@$2 "osascript -e 'tell application \"Terminal\" to activate' -e 'tell application \"Terminal\" to do script \"nc -l 1234\"' >> /dev/null" | |
sleep 3 | |
telnet $2 1234 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let g:python_host_prog = '/Users/jaderfeijo/.pyenv/versions/neovim2/bin/python' | |
let g:python3_host_prog = '/Users/jaderfeijo/.pyenv/versions/neovim3/bin/python' | |
call plug#begin('~/.vim/plugged') | |
Plug 'https://github.com/keith/swift.vim.git' | |
Plug 'https://github.com/scrooloose/syntastic.git' | |
Plug 'https://github.com/mitsuse/autocomplete-swift.git' | |
Plug 'https://github.com/wincent/command-t.git' | |
Plug 'https://github.com/shime/vim-livedown.git' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
require 'json' | |
require 'plist' | |
def archive_build(solution, project, configuration) | |
return system("/Applications/Xamarin\\ Studio.app/Contents/MacOS/mdtool -v archive -c:\"#{configuration}|iPhone\" -p:\"#{project}\" \"#{solution}\""); | |
end | |
def export_archive(export_options, archive_path, project_name) |
OlderNewer