###Icons
| Name | Size |
|---|---|
| iphone_2x | 120x120 |
| iphone_3x | 180x180 |
| ipad | 76x76 |
| ipad_2x | 152x152 |
| android_ldpi | 36x36 |
| android_mdpi | 48x48 |
| ## Force redirect to www address | |
| server { | |
| server_name zf.local; | |
| rewrite ^(.+?)/?$ http://www.zf.local$1 permanent; | |
| } | |
| server { | |
| listen 80; | |
| server_name www.zf.local; | |
| index index.php; |
| Install http://sourceforge.net/projects/osxfuse | |
| System Preferences -> | |
| Security & Privacy -> | |
| General -> | |
| Allow apps downloaded from: Anywhere | |
| Install http://sourceforge.net/projects/fuse-ext2 | |
| Open /System/Library/Filesystems/fuse-ext2.fs/fuse-ext2.util in your text editor. |
| const { json, send } = require("micro"); | |
| const cors = require("cors"); | |
| module.exports = async (req, res) => { | |
| res.header("Access-Control-Allow-Origin", "*"); | |
| res.header( | |
| "Access-Control-Allow-Headers", | |
| "Origin, X-Requested-With, Content-Type, Accept" | |
| ); | |
| const body = await json(req); |
###Icons
| Name | Size |
|---|---|
| iphone_2x | 120x120 |
| iphone_3x | 180x180 |
| ipad | 76x76 |
| ipad_2x | 152x152 |
| android_ldpi | 36x36 |
| android_mdpi | 48x48 |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <project name="TheProject" default="build" basedir="."> | |
| <!-- Altere estas propriedades adequando-as ao seu projeto --> | |
| <property name="application.library" value="${project.basedir}/library"/> | |
| <property name="application.tests" value="${project.basedir}/tests"/> | |
| <property name="application.builddir" value="${project.basedir}/build"/> | |
| <target name="build" |
Since you're using CentOS 5, the default package manager is yum, not apt-get. To install a program using it, you'd normally use the following command:
$ sudo yum install <packagename>
However, when trying to install git this way, you'll encounter the following error on CentOS 5:
| import sys | |
| import histogram_main | |
| import time | |
| def remove_punctuation(words): | |
| # Initialize an empty Python dict | |
| histogram = {} | |
| letters = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'] |
| import { useHistory } from 'react-router-dom'; | |
| export const withRouter = (Component) => { | |
| const Wrapper = (props) => { | |
| const history = useHistory(); | |
| return ( | |
| <Component | |
| history={history} | |
| {...props} |
| package module2.exercise.mocks; | |
| import java.util.Calendar; | |
| public class Invoice { | |
| private Calendar date; | |
| private String customer; | |
| private double amount; | |
| public Invoice(Calendar date, String customer, double amount) { |
| <!-- using the truncate filter --> | |
| {% for post in site.posts limit:10 %} | |
| <h2><a href="{{ post.url }}">{{ post.title }}</a></h2> | |
| <span class="post-date">{{ post.date | date: "%B %d, %Y" }}</span> | |
| {% if post.content.size > 2000 %} | |
| {{ post.content | truncatewords: 300 }} <!-- bad! content gives you rendered html and you will truncate in the middle of a node --> | |
| <a href="{{ post.url }}">read more</a> | |
| {% else %} | |
| {{ post.content }} | |
| {% endif %} |