Skip to content

Instantly share code, notes, and snippets.

View Souvikns's full-sized avatar
🎯
Focusing

souvik Souvikns

🎯
Focusing
View GitHub Profile
@Souvikns
Souvikns / bundle.ts
Last active February 12, 2022 12:11
This is how the bundle command would look...
import {main, options} from '@asyncapi/bundler/cli';
import bundle from '@asyncapi/bundler';
import Command from './base';
import {Flags} from '@oclif/core';
export default class Bundle extends Command {
static strict = false;
static flags = options.getFlags(Flags);
async run(){
@virtualanup
virtualanup / snake2.py
Created October 31, 2013 18:30
Second version of snake game in python with computer AI and without cheat codes
# Snake Game Version 2.0
# By virtualanup
# http://www.virtualanup.com
import pygame,random
from pygame.locals import *
from sys import exit
import math