Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Juan Roa roadev

🎯
Focusing
Block or report user

Report or block roadev

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View caliMajorPoliticsForVenezuelans
La Alcaldía de Santiago de Cali instala este jueves el comité de atención a población migrante
Con la presencia del gerente de Frontera, Felipe Muñoz, organismos internacionales y cumpliendo el compromiso del Alcalde, Maurice Armitage, de instalar una mesa para atender la crisis humanitaria que se presenta en Sudamérica a causa de la migración venezolana, mañana jueves 24 de enero de 2019, la Alcaldía de Santiago de Cali instala el comité de atención a la población migrante.
“Con el fin de garantizar los derechos humanos de cualquier persona, en este caso especial el de los migrantes venezolanos, que en Cali son alrededor de 37.622, abrimos este espacio para la instalación de este comité cuyo objetivo es la articulación de los diferentes organismos de la administración municipal en conjunto con agencias de cooperación. Este comité se conforma luego de que el alcalde de Cali, Maurice Armitage Cadavid, firmara un decreto por medio del cual se establece la creación del mismo”, aseveró Carolina Campo Ángel,
@roadev
roadev / puma.service
Created Jun 12, 2018 — forked from arteezy/puma.service
Manage Puma with systemd on Ubuntu 16.04 and rbenv
View puma.service
[Unit]
Description=Puma Rails Server
After=network.target
[Service]
Type=simple
User=deploy
WorkingDirectory=/home/deploy/app/current
ExecStart=/home/deploy/.rbenv/bin/rbenv exec bundle exec puma -C /home/deploy/app/shared/config/puma.rb
ExecStop=/home/deploy/.rbenv/bin/rbenv exec bundle exec pumactl -S /home/deploy/app/shared/tmp/pids/puma.state stop
View generate_auth_token.rb
auth_key: [*('a'..'z'),*('0'..'9'),*('A'..'Z')].shuffle[0, 32].join
View challenges-class-3.md

Data

const i = fromJS(
  { name: 'Juan', age: 25 },
  { name: 'David', age: 34 },
  { name: 'Luis', age: 28 },
  { name: 'Andrés', age: 29 },
);
View challenges-class-1.md

Data

const a = [1, 3, 4, 6, 12, 15, 23, 20];

const b = ['a', 'once a time', 'machine learning', 'beer', 'bear', 'beat'];

const c = [ { key1: 'abc' }, { key2: 1.2 }, { key3: false }, { key4: null }, { key5: undefined }, { key6: '' } ];

Challenges

View workshop-2.md
  1. Use the React Toolbox Card component for each post.
  2. Use the "Dame click" button to show/hide the comments component and rename with an appropiate name.
  3. Implement flexbox (pure CSS) for input styling (1 row, 2 columns)
  4. Define the data structure for a Post.

Resources

View react-workshop.md

Basic knowledge

  1. Create a comment component with name, email, country, age props and integrate it to Post component
  2. Create a list of comments by post and show it in each post.
  3. Add a button to show/hide the comments component.
  4. If there's not comments in a post, show the message "This post has not comments".
  5. Create a component with a form with 4 input fields: name, email, country, age (validate input types).
  6. Render the comments form (the component created in the step 5) below the comments component in each Post.
  7. Use an stylesheet and apply the styles that you consider for each component.
View any
bVXkiypFhqQ84sC9gTdrEj16TyQqK39XPG
View testnet
0x4331bBE946B10428e7a2d57838443a527e2f6f55
@roadev
roadev / gist:397d669f3c391fd31f81c6edaeec1f7e
Created Mar 29, 2017 — forked from incredimike/country_list.js
Country list as javascript array (alphabetical)
View gist:397d669f3c391fd31f81c6edaeec1f7e
// This needs tidied up before production TODO
var country_list = ["Afghanistan","Albania","Algeria","Andorra","Angola","Anguilla","Antigua & Barbuda","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas"
,"Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bosnia & Herzegovina","Botswana","Brazil","British Virgin Islands"
,"Brunei","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman Islands","Chad","Chile","China","Colombia","Congo","Cook Islands","Costa Rica"
,"Cote D Ivoire","Croatia","Cruise Ship","Cuba","Cyprus","Czech Republic","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea"
,"Estonia","Ethiopia","Falkland Islands","Faroe Islands","Fiji","Finland","France","French Polynesia","French West Indies","Gabon","Gambia","Georgia","Germany","Ghana"
,"Gibraltar","Greece","Greenland","Grenada","Guam","Guatemala","Guernsey","Guinea","G
You can’t perform that action at this time.