#A BADASS list for faster Web Development!
Recently, I decided to organize my bookmarks. So, like a good fellow, I am sharing with you. I hope you enjoy!
Frameworks | Weapons | Checklist | Docs | Community | Learning | For The Win
// Macros for the top and bottom colors of the gradient | |
#define kGradientTopColor {0.0f/255.0f, 0.0f/255.0f, 0.0f/255.0f, 1.0f} | |
#define kGradientBottomColor {209.0f/255.0f, 209.0f/255.0f, 209.0f/255.0f, 1.0f} | |
// Macro for the area that should be covered by the gradient | |
#define kGradientBounds self.bounds | |
// Customize your UIView (e.g., UIView, UILabel, UIButton, etc...) drawRect method | |
- (void)drawRect:(CGRect)rect | |
{ |
protected void onDraw(Canvas canvas){ | |
super.onDraw(canvas); | |
// init shader | |
BitmapShader shader; | |
shader = new BitmapShader(originalBitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP); | |
// init paint | |
Paint paint = new Paint(); | |
paint.setAntiAlias(true); |
#!/bin/bash | |
# encoding: utf-8 | |
################################################## | |
# Variaveis # | |
################################################## | |
# Nome do Computador | |
HOSTN=Arch-VM | |
# Localização. Verifique o diretório /usr/share/zoneinfo/<Zone>/<SubZone> |
#A BADASS list for faster Web Development!
Recently, I decided to organize my bookmarks. So, like a good fellow, I am sharing with you. I hope you enjoy!
Frameworks | Weapons | Checklist | Docs | Community | Learning | For The Win
#check java | |
java -version | |
#download last version | |
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/kepler/R/eclipse-standard-kepler-R-linux-gtk-x86_64.tar.gz&r=1 | |
#extract package | |
tar xvf <foldername> | |
#move |
# update & upgrade # | |
sudo apt-get update && sudo apt-get upgrade | |
#Sublime Text 2 | |
echo "Instalando Sublime Text 2" | |
sudo add-apt-repository ppa:webupd8team/sublime-text-2 && sudo apt-get update && sudo apt-get install sublime-text | |
#Git | |
sudo apt-get install git |
/* | |
* Copyright (C) 2013 Tomáš Procházka | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
package net.hausherr.sample; | |
import org.apache.http.client.CookieStore; | |
import org.apache.http.conn.routing.HttpRoute; | |
import org.apache.http.conn.routing.HttpRoutePlanner; | |
import org.apache.http.conn.scheme.PlainSocketFactory; | |
import org.apache.http.conn.scheme.Scheme; | |
import org.apache.http.conn.scheme.SchemeRegistry; | |
import org.apache.http.conn.ssl.SSLSocketFactory; | |
import org.apache.http.conn.ssl.TrustStrategy; |
<!DOCTYPE html> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js"><!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>Accordian</title> | |
<meta name="description" content=""> |