Skip to content

Instantly share code, notes, and snippets.

View iris9112's full-sized avatar
😸

Isabel Ruiz Buriticá iris9112

😸
View GitHub Profile
{
"meta": {
"theme": "professional"
},
"basics": {
"name": "Thomas Davis",
"phone": "0411021021",
"label": "Web Developer",
"image": "https://avatars0.githubusercontent.com/u/416209?s=460&u=38f220a2c9c658141804f881c334c594eb1642ac&v=4",
"summary": "I'm a full stack web developer who can build apps from the ground up. I've worked mostly at startups so I am used to wearing many hats. I am a very product focused developer who prioritizes user feedback first and foremost. I'm generally very flexible when investigating new roles.",
@ppsirg
ppsirg / steroids.py
Last active February 25, 2019 15:53
slackbot with steroids
"""
slack bot with steroids
get tokens here: https://slack.dev/python-slackclient/auth.html
slack dev kit: https://slack.dev/python-slackclient/index.html
requirements:
pip install slackclient
"""
def try_except(arg_passed=None):
if arg_passed is not None:
try:
arg_passed['name'] # this will fail cause we passed in a string not a dict
except KeyError as e:
print('First Except: No key named {} was found'.format(e)) #
@mleila
mleila / Exploratory Analysis.ipynb
Created August 5, 2018 22:06
Exploratory analysis for the Black Friday dataset
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# Ian Annase
# 4/16/18
import os
import sys
import json
import spotipy
import webbrowser
import spotipy.util as util
from json.decoder import JSONDecodeError
@olliebun
olliebun / test_asyncio.py
Last active March 7, 2023 09:32
Simple python asyncio example.
"""
This program defines a run_all function which will retrieve two
URLs and run a shell subcommand, all concurrently, using asyncio.
What stands out in this example is the readability of the get() and cmd()
functions, and the usefulness of asyncio.gather().
An excerpt from the program output shows the way they are interleaved:
Start: http://google.com
@rririanto
rririanto / pypdf_to_image.py
Last active June 16, 2020 06:23
Python Convert PDF to Image
"""
Problem:
How to Convert PDF to Image with Python Script ?
Installation:
I use ubuntu OS 14.04
We use wrapper for ImageMagick [http://www.imagemagick.org/script/index.php] to Convert The PDF file
in Python do:
$ sudo apt-get install libmagickwand-dev
@rg3915
rg3915 / graph_models.md
Last active February 20, 2024 07:39
Generate graphic model Django with PyGraphViz pygraphviz pydot generate model graph model 2020

How to generate graphic model Django with PyGraphViz?

sudo apt-get install -y graphviz libgraphviz-dev pkg-config
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
pip install pygraphviz
pip uninstall pyparsing
pip install -Iv https://pypi.python.org/packages/source/p/pyparsing/pyparsing-1.5.7.tar.gz#md5=9be0fcdcc595199c646ab317c1d9a709
@gaspardzul
gaspardzul / DjangoAjax.js
Last active August 9, 2021 09:22
Este Gist te permite configurar las peticiones AJAX que haces en proyectos Django utilizando Jquery.
/**
* Este script de javascript permite trabajar transparentemente solicitudes que requieren
* protección del token CSRF por medio de AJAX JQUERY.
* Esto te permitirá hacer solcitudes a web Services de Django por medio de AJAX Jquery.
* Para utilizarlo basta con integrar el archivo DjangoAjax.js en tu directorio de JS y hacer referencia a él en tus templates
* que requieren del uso de AJAX por POST o algún otro que requiera el token CSRF.
* Este script está basado en la documentación oficial de Django https://docs.djangoproject.com
*/
$(function(){
@rxaviers
rxaviers / gist:7360908
Last active September 22, 2024 06:42
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue: