As configured in my dotfiles.
start new:
tmux
start new with session name:
| <?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" |
As configured in my dotfiles.
start new:
tmux
start new with session name:
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:
| 1) Create a branch with the tag | |
| git branch {tagname}-branch {tagname} | |
| git checkout {tagname}-branch | |
| 2) Include the fix manually if it's just a change .... | |
| git add . | |
| git ci -m "Fix included" | |
| or cherry-pick the commit, whatever is easier | |
| git cherry-pick {num_commit} | |
| <!-- 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 %} |
| ## 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; |
| \chapter{Exercícios} | |
| \label{ape:exercicios} | |
| Os exercícios são os mesmos para todos os grupos. O participante, em caso de dúvidas, poderá perguntar ao pesquisador. | |
| \section{Lembrete ao participante} | |
| Caro participante, | |
| Lembre-se que os problemas aqui propostos simulam complicações do mundo real. |
| /* | |
| * parse_link_header() | |
| * | |
| * Parse the Github Link HTTP header used for pageination | |
| * http://developer.github.com/v3/#pagination | |
| */ | |
| function parse_link_header(header) { | |
| if (header.length == 0) { | |
| throw new Error("input must not be of zero length"); | |
| } |
| // Source: https://groups.google.com/forum/#!topic/angular/hVrkvaHGOfc | |
| // jsFiddle: http://jsfiddle.net/pkozlowski_opensource/PxdSP/14/ | |
| // author: Pawel Kozlowski | |
| var myApp = angular.module('myApp', []); | |
| //service style, probably the simplest one | |
| myApp.service('helloWorldFromService', function() { | |
| this.sayHello = function() { | |
| return "Hello, World!" |