Skip to content

Instantly share code, notes, and snippets.

View dcangulo's full-sized avatar
💻

David Angulo dcangulo

💻
View GitHub Profile
@dcangulo
dcangulo / class.verifyEmail.php
Last active March 19, 2024 10:17
A PHP class file that can be used to check if an email address is valid using SMTP protocol. Visit https://www.davidangulo.xyz/ for more information.
<?php
/**
* Class to check up e-mail
*
* @author Konstantin Granin <kostya@granin.me>
* @copyright Copyright (c) 2015, Konstantin Granin
*/
class verifyEmail {
@dcangulo
dcangulo / crud.php
Created April 8, 2018 11:58
A CRUD Operations WordPress plugin. Visit https://www.davidangulo.xyz/ for more information.
<?php
/*
Plugin Name: CRUD Operations
Plugin URI: https://www.davidangulo.xyz/portfolio/
Description: A simple plugin that allows you to perform Create (INSERT), Read (SELECT), Update and Delete operations.
Version: 1.0.0
Author: David Angulo
Author URI: https://www.davidangulo.xyz/
License: GPL2
*/
@dcangulo
dcangulo / MapView.jsx
Created February 3, 2022 11:00
React Native iOS MapView example in Swift
import { requireNativeComponent } from 'react-native';
export default requireNativeComponent('RNMap');
@dcangulo
dcangulo / progress-bar.jsx
Created January 11, 2022 06:10
Progress Bar
import React from 'react';
import { View } from 'react-native';
import PropTypes from 'prop-types';
import styled from 'styled-components/native';
// SEPARATE FILE
const Colors = {
success: 'green',
error: 'red',
};
davids-mbp:rails davidangulo$ git status
On branch feature/strict-loading-attachments
Your branch is up to date with 'origin/feature/strict-loading-attachments'.
nothing to commit, working tree clean
davids-mbp:rails davidangulo$ cd activejob && bundle exec rake test
--- rake test:async
/Users/davidangulo/.rbenv/versions/2.7.2/bin/ruby -w -I"lib:test" -I"/Users/davidangulo/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.1/lib" "/Users/davidangulo/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb" "test/cases/adapter_test.rb" "test/cases/argument_serialization_test.rb" "test/cases/callbacks_test.rb" "test/cases/exceptions_test.rb" "test/cases/job_serialization_test.rb" "test/cases/logging_test.rb" "test/cases/queue_adapter_test.rb" "test/cases/queue_naming_test.rb" "test/cases/queue_priority_test.rb" "test/cases/queuing_test.rb" "test/cases/rescue_test.rb" "test/cases/serializers_test.rb" "test/cases/test_case_test.rb" "test/cases/test_helper_test.rb" "test/c
git clone repo
Make changes in git repo
svn copy http://plugins.svn.wordpress.org/repo/trunk/ http://plugins.svn.wordpress.org/repo/tags/X.X.X.X -m "Create X.X.X.X tag"
svn checkout http://plugins.svn.wordpress.org/repo/trunk/
delete content on trunk
copy from git repo to trunk
svn add * / svn add --force .
svn commit -m "release X.X.X.X"
git clone repo
Make changes in git repo
svn copy http://plugins.svn.wordpress.org/repo/trunk/ http://plugins.svn.wordpress.org/repo/tags/X.X.X.X -m "Create X.X.X.X tag"
svn checkout http://plugins.svn.wordpress.org/repo/trunk/
delete content on trunk
copy from git repo to trunk
svn add *
svn commit -m "release X.X.X.X"
git clone repo
Make changes in git repo
svn copy http://plugins.svn.wordpress.org/repo/trunk/ http://plugins.svn.wordpress.org/repo/tags/X.X.X.X -m "Create X.X.X.X tag"
svn checkout http://plugins.svn.wordpress.org/repo/trunk/
delete content on trunk
copy from git repo to trunk
svn add *
svn commit -m "release X.X.X.X"
git clone repo
Make changes in git repo
svn copy http://plugins.svn.wordpress.org/repo/trunk/ http://plugins.svn.wordpress.org/repo/tags/X.X.X.X -m "Create X.X.X.X tag"
svn checkout http://plugins.svn.wordpress.org/repo/trunk/
delete content on trunk
copy from git repo to trunk
svn add *
svn commit -m "release X.X.X.X"