Skip to content

Instantly share code, notes, and snippets.

View vanglian's full-sized avatar
🀄
Focusing

Vang Lian vanglian

🀄
Focusing
  • Bangalore
View GitHub Profile
@vanglian
vanglian / index.html
Created September 7, 2025 19:28
Movie Ticket
<!--
Inspired by: https://dribbble.com/shots/1166639-Movie-Ticket/attachments/152161
-->
<div class="ticket">
<div class="holes-top"></div>
<div class="title">
<p class="cinema">ODEON CINEMA PRESENTS</p>
<p class="movie-title">ONLY GOD FORGIVES</p>
</div>
@vanglian
vanglian / admit-one-ticket-olivia-rodrigo-aug-2021-codepenchallenge.markdown
Created September 7, 2025 19:26
Admit One Ticket - Olivia Rodrigo (Aug 2021 #CodePenChallenge)

Admit One Ticket - Olivia Rodrigo (Aug 2021 #CodePenChallenge)

"This week, let's work with the text on tickets. The summer is filled with things you need a ticket for, like carnivals and concerts, and transportation like planes and trains."

Loosely inspired by https://dribbble.com/shots/9165032-Luke-Combs-Ticket-Stub.

Fonts: Staatliches, Nanum Pen Script

Color Scheme: #4A437E - show name, #D83565 - date, artist, and background

@vanglian
vanglian / install-erpnext-ec2.md
Created December 20, 2021 13:10 — forked from romgapuz/install-erpnext-ec2.md
Install ERPNext into Amazon EC2

Install ERPNext into Amazon EC2

These are the steps to install a standalone ERPNext into an Amazon EC2 instance running Ubuntu 18.04.

Create and connect to an EC2 instance

After connecting, run an update:

@vanglian
vanglian / twitter.json
Last active August 29, 2015 14:06 — forked from hrp/twitter.json
{
"text": "RT @PostGradProblem: In preparation for the NFL lockout, I will be spending twice as much time analyzing my fantasy baseball team during ...",
"truncated": true,
"in_reply_to_user_id": null,
"in_reply_to_status_id": null,
"favorited": false,
"source": "<a href=\"http://twitter.com/\" rel=\"nofollow\">Twitter for iPhone</a>",
"in_reply_to_screen_name": null,
"in_reply_to_status_id_str": null,
"id_str": "54691802283900928",
#!/usr/bin/python
#A Small example of how to convert time in seconds to Days Hours & Minutes, Seconds
TimeInSeconds = 60000
Days, Remainder = divmod(TimeInSeconds,24*60*60)
Hours, Remainder = divmod(Remainder, 60*60)
Minutes, Remainder = divmod (Remainder, 60)
Seconds = Remainder
print (int(Days)," Days ",int(Hours)," Hours ", int(Minutes)," Minutes ", round(Seconds)," Seconds ")