Skip to content

Instantly share code, notes, and snippets.

View ericklarac's full-sized avatar
🚀
I may be slow to respond.

Erick Lara ericklarac

🚀
I may be slow to respond.
View GitHub Profile
@jcrvz
jcrvz / printmsk.py
Last active March 18, 2020 00:55
Print the type skeleton of a variable with nested variables.
def printmsk(var, level=1, name=None):
"""
Print the meta-skeleton of a variable with nested variables.
:param var: any, variable to inspect.
:param level: int (optional), level of the variable to inspect. Default: 1.
:param name: name (optional), name of the variable to inspect. Default: None.
:return: None
Example:
@SheldonWangRJT
SheldonWangRJT / Convert .mov or .MP4 to .gif.md
Last active May 15, 2024 22:27
Convert Movie(.mov) file to Gif(.gif) file in one command line in Mac Terminal

This notes is written by Sheldon. You can find me with #iOSBySheldon in Github, Youtube, Facebook, etc.

Need

Convert .mov/.MP4 to .gif

Reason

As a developer, I feel better to upload a short video when I create the pull request to show other viewers what I did in this PR. I tried .mov format directly got after finishing recording screen using Quicktime, however, gif offers preview in most web pages, and has smaller file size.

This is not limited to developer, anyone has this need can use this method to convert the files.

@vitorbritto
vitorbritto / regex.md
Last active May 2, 2024 13:24
Regex Cheat Sheet

Regular Expressions

Basic Syntax

  • /.../: Start and end regex delimiters
  • |: Alternation
  • (): Grouping