Skip to content

Instantly share code, notes, and snippets.

@CodingCarlos
CodingCarlos / estilos.css
Created October 6, 2021 06:15
Template SMR web
/* Esto es un comentario */
body {
background-color: lemonchiffon;
color: orchid;
font-family: 'Permanent Marker', cursive;
}
header {
display: flex;
align-items: center;
@CodingCarlos
CodingCarlos / circle.css
Created September 24, 2020 11:18
Generate the CSS for a circle of N circles, as "Pasapalabra" game. Based on: https://github.com/marioterron/pasapalabra
.circle {
position: relative;
width: 21.375em;
height: 21.375em;
border-radius: 50%;
padding: 0;
list-style: none;
left: 50%;
transform: translateX(-50%);
}
const {Storage} = require('@google-cloud/storage');
const Config = require('../config');
const storage = new Storage({
projectId: Config.gcloud.projectId,
keyFilename: Config.gcloud.keyFilename,
});
const bucketName = Config.gcloud.bucket;
const bucket = storage.bucket(bucketName);
@CodingCarlos
CodingCarlos / git-agile-workflow.md
Created March 22, 2018 15:31
Git + Agile workflow

User stories status

  1. Start: Work in this story have been started. Do the work, and launch a PR to develop.
  2. Finish: Pull request launched. Waiting for review. Need to pass code review, and dev QA. 2.1. Aproved: Go to step 3. 2.1. Requested changes: Go to step 1.
  3. Deliver: Merge the pull request to develop branch, deploy to beta, and wait the QA team to accept or reject changes. 3.1. Aproved: Good work! It's done. Now, choose a new story, and go back to step 1.. 3.2. Rejected: Set status to "started" and go back to step 1.

Dev team QA

@CodingCarlos
CodingCarlos / futuropost.md
Created March 3, 2018 14:02
Una idea para un post muy chulo

PHP:

<?php

$list = Array();

proccess('http://...')
proccess('http://...')
proccess('http://...')
var modelate = require('modelate');
var User = modelate('User', {
name: {
type: 'string'
},
age: {
type: 'number'
}
});
@CodingCarlos
CodingCarlos / merge-meetup.html
Last active February 9, 2018 20:58
A basic HTML and JS scrapper who get meetup attendance data, and merge the lists getting unique users.
<!DOCTYPE html>
<html>
<head>
<title>Meetup combinated atendance scrapper</title>
<!-- We're loading jQuery to simplify the code -->
<script type="text/javascript" src="https://code.jquery.com/jquery-latest.min.js"></script>
</head>
<body>
@CodingCarlos
CodingCarlos / AdWords-API-connect.md
Last active December 17, 2018 19:40
Google AdWords API connecting workflow, and

Getting AdWords config tokens

Adwords API is a little bit tricky. First at all, forget everything you know about API access. Your token is not your key, but a small part in a big key pairs world (called Google's OAuth).

Developer Token

Although, yes, you need an API Key. Get it by following this steps, and wait for approval (might be two or three business days). They call it "developer token"

Once you got it, it will be something like this: