Skip to content

Instantly share code, notes, and snippets.

View ivancrneto's full-sized avatar

Ivan Neto ivancrneto

View GitHub Profile
@ivancrneto
ivancrneto / readme.md
Created September 30, 2026 19:52
Schedule Demo modal, first click

Screenshot of the iZap homepage after the first click on Agendar Demo.

@ivancrneto
ivancrneto / README.md
Created September 20, 2026 02:51
GOG-4207 dash color theme screenshots

GOG-4207 dash color theme screenshots

@ivancrneto
ivancrneto / connecting.svg
Created September 19, 2026 18:31
PR 2483 WhatsApp connect gate UI states
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ivancrneto
ivancrneto / impersonation-workspace.svg
Created September 19, 2026 15:47
GOG-4181 PRT002 dash impersonation workspace
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ivancrneto
ivancrneto / dash-pr-validation.svg
Created July 26, 2026 17:18
Dash responsive layout validation
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ivancrneto
ivancrneto / async-register-signup-poll.svg
Created July 25, 2026 19:40
Async register polling signup flow diagram for PR
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Diamond

Problem Description

Given a letter, print a diamond starting with ‘A’ with the supplied letter at the widest point.

For example: print-diamond ‘C’ prints

 A
# -*- coding: utf-8 -*-
from django.contrib.sites.models import Site
from django.db import models
class AdChannel(models.Model):
id = models.CharField(max_length=100, primary_key=True)
name = models.CharField(max_length=50)
CHANNEL_TYPE_CHOICES = (
('page', 'Page'), ('unit', 'Ad Unit'), ('template', 'Template'),
" MyConf
NeoBundle 'wakatime/vim-wakatime'
NeoBundle 'dkprice/vim-easygrep'
"NeoBundle 'scrooloose/nerdtree'
"NeoBundle 'jistr/vim-nerdtree-tabs'
"NeoBundle 'scrooloose/nerdcommenter'
"NeoBundle 'wincent/Command-T'
"NeoBundle 'kien/ctrlp.vim'
@ivancrneto
ivancrneto / neobundle-vimrc-windows
Created January 10, 2015 03:04
NeoBundle Vimrc Windows
if has('vim_starting')
set nocompatible " Be iMproved
" Required:
let &runtimepath .= ',' . expand($HOME . '/.vim/bundle/neobundle.vim/')
endif
" Required:
call neobundle#begin(expand($HOME . '/.vim/bundle/'))