Skip to content

Instantly share code, notes, and snippets.

View ribeiroevandro's full-sized avatar
🏠
Working from home

Evandro Ribeiro ribeiroevandro

🏠
Working from home
View GitHub Profile
import React, { useState, useEffect, useRef } from "react";
import {
View,
Image,
StyleSheet,
TextInput,
Text,
StatusBar,
TouchableOpacity,
AsyncStorage,
@ribeiroevandro
ribeiroevandro / setup-linux-for-web-developers.sh
Last active August 29, 2015 12:38 — forked from andrewslince/setup linux for web developers
This script installs the softwares: Skype, JDK (Java Development Kit), Google Chrome, Google Talk Plugin (It' s necessary for hangouts use), Sublime Text 3, Terminator, Git, GitK, PHP5, cURL (PHP extension), PHPUnit (For create/running unit tests with PHP), Apache Server, enable mod_rewrite for Apache (For clean url use), MySql Server, PHPMyAdmi…
#!/bin/bash
clear
echo "Please enter your e-mail:"
read email
# install google chrome
sudo apt-get install libcurl3 libnspr4-0d libxss1 -y
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome*; rm google-chrome*
<?php
/*
Template Name: Print Processing Orders :)
*/
if (!is_user_logged_in() || !current_user_can('manage_options')) wp_die('This page is private.');
?>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

###Adaptando o CSS da paginação do Twitter Bootstrap para o CakePHP Marcação necessária:

<div class="pagination">
  <div class="list">
    <?php
      echo $this->Paginator->prev('« Anterior', null, null, array('class' => 'prev disabled'));
      echo $this->Paginator->numbers(array('separator' => false));
      echo $this->Paginator->next('Próximo »', null, null, array('class' => 'prev disabled'));
    ?>