Skip to content

Instantly share code, notes, and snippets.

View rocaiguina's full-sized avatar

Luis Roca Iguina rocaiguina

  • Rocaiguina
  • San Juan, Puerto Rico
View GitHub Profile
<style>
#interstitial_image_320, #interstitial_image_700 {
display: none;
}
#wapa_interstatial_wrapper {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
CREATE `users_view` AS
select coalesce(`wp_watupro_groups`.`name`, 'NONE') AS `user_group`,
`wp_users`.`ID` AS `user_id`,
(
select `wp_usermeta`.`meta_value`
from `wp_usermeta`
where (
(`wp_usermeta`.`meta_key` = 'first_name')
and (`wp_usermeta`.`user_id` = `wp_users`.`ID`)
)
SELECT user_group,
fname,
lname,
email,
module,
total_activities,
case
total_activities
when 1 then 'video only'
when 3 then 'video and practice'
import React, {Component} from 'react';
import {View} from 'react-native';
import PostCollection from '../components/PostCollection';
export default class Home extends Component {
constructor(props) {
super(props);
this.state = {
posts: [],
page: 1,
import React, {Component} from 'react';
import {
View,
FlatList,
TouchableOpacity,
Image,
Dimensions,
StyleSheet,
PixelRatio,
RefreshControl,
<?php
/**
* The template part for displaying content
*
* @package WordPress
* @subpackage Twenty_Sixteen
* @since Twenty Sixteen 1.0
*/
?>
<div class="card-item">
@rocaiguina
rocaiguina / toVector.js
Created November 4, 2019 15:13
to vector tiles
var fs = require('fs');
var geojson2mvt = require('geojson2mvt');
const filePath = 'grids.json';
var options = {
rootDir: 'grids',
bbox : [17.896877,-67.298786,18.602453,-65.199024],//[south,west,north,east]-67.298786,17.896877,-65.199024,18.602453
zoom : {
min : 6,
<!-- Begin MailChimp Signup Form -->
<link href="//cdn-images.mailchimp.com/embedcode/classic-081711.css" rel="stylesheet" type="text/css">
<style type="text/css">
#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }
/* Add your own MailChimp form style overrides in your site stylesheet or in this style block.
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
</style>
<div id="mc_embed_signup">
<form action="//patriciaalonsocasting.us10.list-manage.com/subscribe/post?u=4f67e4f57151c3af9cfab41f8&amp;id=4bb5594183" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
{"id":"8","campus_id":"3","recruiter_id":"475","course_id":"4","enrollment_id":"1","status":null,"name":"5-15","last_name":"CARMONA ","mother_last_name":"c,jznxmcznx,c","sex":"f","assign_date":"2015-02-17","worked_on_date":null,"city":"adjuntas","mobile_phone":"(787) 236-7922","work_place":"jkhdkajs","position":"askljdlkas","income":null,"section":"Day,Evening,Weekend","email_address":"VARCARYO@GMAIL.COM","source":"internet ","medium":"brochure","transportation":"carropropio","date_of_birth":"2015-02-04","children":"0","payment_method":"pell","education_level":"escuelasuperior","highschool_name":"zxcxzcxc","graduation_year":null,"referral":null,"late_registration":"0","senior":"0","readmission":"0","interviewed":"0","federal_funds":"0","cold":"0","graduated":"0","veteran_benefits":null,"current_step":"1","student_number":null,"period_number":null,"created_at":"2015-02-16 20:37:04","updated_at":"2015-02-16 20:37:04","lead_id":"26","ss":null,"citizenship":null,"marital_status":null,"tel":null,"tel2":null,"addre