Skip to content

Instantly share code, notes, and snippets.

"""
https://pjoshi15.com/create-typewriter-effect-animation-using-python/
Create Typewriter Effect Animation Using Python
Typing animation is an eye-catching video effect in today’s times of reels and short videos. In this tutorial, I will teach you how to create a typewriter animation using Python.
Once you know how to implement this animation, you can then use it to create interactive and dynamic presentations, illustrations, and social media content.
Understanding the Typewriter Effect
@mankind
mankind / bing.html
Last active November 11, 2023 17:54
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Landing Page</title>
<link rel="stylesheet" href="https://unpkg.com/tailwindcss@^3.0.2/dist/tailwind.min.css">
<script src="https://cdn.tailwindcss.com"></script>
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
0.00632 18.00 2.310 0 0.5380 6.5750 65.20 4.0900 1 296.0 15.30 396.90 4.98 24.00
0.02731 0.00 7.070 0 0.4690 6.4210 78.90 4.9671 2 242.0 17.80 396.90 9.14 21.60
0.02729 0.00 7.070 0 0.4690 7.1850 61.10 4.9671 2 242.0 17.80 392.83 4.03 34.70
0.03237 0.00 2.180 0 0.4580 6.9980 45.80 6.0622 3 222.0 18.70 394.63 2.94 33.40
0.06905 0.00 2.180 0 0.4580 7.1470 54.20 6.0622 3 222.0 18.70 396.90 5.33 36.20
0.02985 0.00 2.180 0 0.4580 6.4300 58.70 6.0622 3 222.0 18.70 394.12 5.21 28.70
0.08829 12.50 7.870 0 0.5240 6.0120 66.60 5.5605 5 311.0 15.20 395.60 12.43 22.90
0.14455 12.50 7.870 0 0.5240 6.1720 96.10 5.9505 5 311.0 15.20 396.90 19.15 27.10
0.21124 12.50 7.870 0 0.5240 5.6310 100.00 6.0821 5 311.0 15.20 386.63 29.93 16.50
0.17004 12.50 7.870 0 0.5240 6.0040 85.90 6.5921 5 311.0 15.20 386.71 17.10 18.90
@mankind
mankind / react-rich-editor
Last active November 16, 2022 23:43
react rich editors
https://editorjs.io/
https://remirror.io/
https://kuy.io/blog/posts/modern-front-end-magic-with-rails-7-a-visual-editor-for-markdown-part-1
https://www.rippling.com/blog/building-editors-in-react-applications
from slatejs to tiptap
https://www.ashbyhq.com/blog/engineering/tiptap-part-1
### slatejs
https://jkrsp.com/slate-js-placeholder-per-line/
https://dev.to/devcer/notion-like-placeholders-for-every-line-slatejs-4hoh
@mankind
mankind / django--rails.md
Last active October 24, 2022 07:30
mapping python & django to ruby & rails
django vs rails

django views map to rais controllers

polls/views.py¶

from django.http import HttpResponse

from .models import Question

data-scientist
https://jaidevd.com/posts/code-readability-process/
## django tips
https://testdriven.io/blog/django-vs-flask/
https://github.com/django-extensions/django-extensions
# wsgi
https://www.b-list.org/weblog/2018/feb/22/teenage-django/
https://www.b-list.org/weblog/2009/aug/10/wsgi/
@mankind
mankind / gist:b686f12691d0ed9649fa25141c6934d0
Created July 26, 2021 16:32
Setting up Hyku Addons Account

Setting up Hyku Addons from scratch

Deleting existing system

If already exists and you want to start fresh DANGER: This will kill it all including data

docker-compose down
docker-compose system prune
@mankind
mankind / crossref_response
Last active June 29, 2020 14:52
auto-populate forms using datacite and crossref api
module Ubiquity
class CrossrefResponse
attr_reader :error, :attributes
def initialize(response_hash = nil)
@error = error
@attributes = response_hash['message']
end
def title
attributes['title']
module Ubiquity
class ApiSerializer
attr_accessor :data
def initialize (data)
@data ||= data
end
def license_for_api
if data.try(:license).present?
remap_license
@mankind
mankind / config_initializers_inflections.rb
Last active September 16, 2019 09:52
ubiquity hyku-api
ActiveSupport::Inflector.inflections(:en) do |inflect|
# Here you can put the singular and plural form you expect
inflect.acronym 'API'
#inflect.irregular ' API', 'Api'
end