Skip to content

Instantly share code, notes, and snippets.

View dcangulo's full-sized avatar
💻

David Angulo dcangulo

💻
View GitHub Profile
@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"
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"
@dcangulo
dcangulo / svn-git-cheatsheet.md
Last active August 17, 2018 08:18
Subversion (SVN) and git commands equivalents cheatsheet

Creating a new repository

SVN

$ svnadmin create /path/to/repo
$ svn import /path/to/local/project http://example.com/svn/truck -m "Initial import"

GIT

$ git init
$ git add .