title | description | post |
---|---|---|
Welcome to a Gist blog post |
This is Blog post 12 |
true |
JavaScript ██████████████████░░░░░░░░░░░░░░░░░░ 49.54% | |
Python ███████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 18.66% | |
HTML ██████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 13.90% | |
Vue ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.97% | |
C ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.35% | |
Svelte ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.93% | |
TypeScript ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.79% | |
Swift █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.32% | |
Arduino █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.13% | |
Java █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.12% |
▶ White Mustang ..................... 🎵 Lana Del Rey | |
▶ Loveyou ........................... 🎵 j^p^n | |
▶ Loverboy .......................... 🎵 A-Wall | |
▶ TO THE MOON ....................... 🎵 Jnr Choi | |
▶ Положение - 2 Remix ............... 🎵 Dior |
📜 Automatically update your GitHub profile with your l… | |
▶ Introduction Your GitHub profile page is the face of your | |
GitHub presence and recently... | |
🔖 #javascript, #github, #automation, #node | |
📆 Apr 3 | 🔗 Link in comments |
import pygame | |
import random | |
# Colors | |
BLACK = (0, 0, 0) | |
GREEN = (0, 255, 0) | |
WHITE = (255, 255, 255) | |
# Width and height of each segment of the snake | |
BLOCK_SIZE = 20 |
DuskPlayer was started as a small project with a simple goal, to build a minimal music player with all the essentials. What started as a small project back in April 2018 now has thousands of users and has recieved bug fixes and updates for over 2 years now.
As I continue to maintain and enhance this application, after some thought, I have been considering switching to Svelte from AngularJS for the UI. You can read the reasons behind this below and also vote for your preference.
The main reasoning behind using a framework instead of vanilla HTML was simple, I wanted a dynamic application and a framework would make this much easier. The main features I needed were variable binding, conditional rendering and iterating with templates.
I picked AngularJS when I started because it was the simplest framework that provided all the features I required, had good documentation and ample community support.
<script> | |
let task = ""; | |
let todos = ["eat", "sleep", "code"] | |
function addTask() { | |
if(task!=""){ | |
todos.push(task) | |
todos = todos; | |
task = "" | |
} |