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
//barra de color blanco | |
- (UIStatusBarStyle) preferredStatusBarStyle | |
{ | |
return UIStatusBarStyleLightContent; | |
} | |
//barra de colo negro | |
- (UIStatusBarStyle) preferredStatusBarStyle |
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
- (IBAction)btnPosting:(id)sender | |
{ | |
SLComposeViewController *redesView = [SLComposeViewController composeViewControllerForServiceType:SLServiceTypeTwitter]; | |
if([SLComposeViewController isAvailableForServiceType:SLServiceTypeTwitter]){ | |
SLComposeViewControllerCompletionHandler __block completionHandler=^(SLComposeViewControllerResult result){ | |
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
<VirtualHost *:80> | |
ServerAdmin [email protected] | |
DocumentRoot /Users/werik/projects/tweetile | |
ServerName local.tweetile.com | |
ServerAlias local.tweetile.com | |
ErrorLog "/private/var/log/apache2/local.tweetile.com-error_log" | |
CustomLog /private/var/log/apache2/local.tweetile.com-access_log common | |
</VirtualHost> |
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
# | |
# This is the main Apache HTTP server configuration file. It contains the | |
# configuration directives that give the server its instructions. | |
# See <URL:http://httpd.apache.org/docs/2.2> for detailed information. | |
# In particular, see | |
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html> | |
# for a discussion of each configuration directive. | |
# | |
# Do NOT simply read the instructions in here without understanding | |
# what they do. They're here only as hints or reminders. If you are unsure |
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
var Example = (function($){ | |
var st = { | |
'link' : '#example' | |
}, | |
dom = {}, | |
catchDom = function(){ | |
dom.link = $(st.link); | |
}, | |
bindEvent = function(){ | |
dom.link.on('click',fnExample); |
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
//crear un path , entras y colocas la ruta de de adb (que esta en el platform-tools) | |
sudo nano /etc/paths | |
//ver los dispositivos conectados | |
adb devices | |
//correr comando directamente | |
adb shell | |
//instalar apps en el terminal |
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
$.fn.extend({ | |
scrollWindow: function (e) { | |
var t = { | |
duration: "slow", | |
easing: "swing", | |
lowPosition: 0 | |
}; | |
var e = $.extend(t, e); | |
var n = function (t) { |
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
APACHE | |
sudo apt-get install apache2 | |
sudo /etc/init.d/apache2 start | |
sudo /etc/init.d/apache2 stop | |
sudo /etc/init.d/apache2 restart | |
MYSQL | |
sudo apt-get install mysql-server | |
PHP |
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
sudo apt-get install node | |
sudo apt-get install build-essential | |
sudo apt-get install libssl-dev | |
sudo apt-get install curl | |
sudo apt-get install npm |
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
Show hidden characters
{ | |
"cmd": ["jade","-P", "$file"], | |
"file_regex": "^(...*?):([0-9]*):?([0-9]*)", | |
"selector": "source.jade" | |
} |