Skip to content

Instantly share code, notes, and snippets.

View Collinslenjo's full-sized avatar
๐Ÿ’ญ
Do or do not, there is no try ~ Yoda

Collo <geek/> Collinslenjo

๐Ÿ’ญ
Do or do not, there is no try ~ Yoda
View GitHub Profile
@rxaviers
rxaviers / gist:7360908
Last active May 7, 2026 13:47
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:
@cedbeu
cedbeu / __init__.py
Last active April 16, 2019 00:11
Minimal Flask application - Basic package design pattern Create a structure like this: `./run.py` `./webapp/__init__.py` `./webapp/views.py`
#!/usr/bin/python
# coding: utf-8
""" Filename: __init__.py
Purpose: This file is required to structure the web service as a
package, to be able to define routes in multiple modules.
This is the most basic design pattern for multiple files
Flask apps: http://flask.pocoo.org/docs/patterns/packages/
Requirements:
Author: Cรฉdric Beuzit
"""
@raveren
raveren / cryptographically_secure_random_strings.php
Last active October 25, 2025 19:14
Generate cryptographically secure random strings. Based on Kohana's Text::random() method and this answer: http://stackoverflow.com/a/13733588/179104
function random_text( $type = 'alnum', $length = 8 )
{
switch ( $type ) {
case 'alnum':
$pool = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
break;
case 'alpha':
$pool = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
break;
case 'hexdec':