@NikosTsilas-U04N415FE4T0Day 6 for #10-days-in-public (I am the 1st one who sends smt. I didn't expect that with a +2 timezone)
Today I had an Arduinolessonindexpage overhaul. I put images in every lesson, added info about every lesson, and changed the background (idk if I like it).
Here is a video and a useless photo from VScode (it is the Arduino lesson index page):
@Krypt-U04FR44ATBL0Winter Hardware Wonderland Day 1:
Installed the DC Buck Converter.
Wired the battery pack to it and used the output of it to the servo.
Configuring each servo with VSCode and calibrating them
@Marios0Unexpectedly took an interest on Raspberry Pi Picos from Arduinos and decided to experiment with them. The windows setup with vscode was definitely a pain and it took ~2 hours, so I didn't have much time to do any other project but a modified blink project with a reset switch. Also I almost bent a pin ๐.
@jzaleta0I finally add more colors to my vscode theme! Now I'm ready to work on the syntax highlighting! :vsc::burst:
@jzaleta0:burst: More research for my vscode theme! I need a good background color. :sadge: Now I'm looking at solarized and rosรฉ-pine for ideas, most likely I'll go with a dark gruvbox like color.
@jzaleta0Today I started to remake a workshop repo I did and learned more on how to make a vscode theme! Also here's my macbook uptime.
@jzaleta0Learned about gitub.dev and made my first PR :pr: to Sinerider! :sinerider:
@jzaleta0I'm going to be making a Slack bot with Bolt! ๐ค Also I learned how to make a VScode theme :vscode: , I was planning to start this first, but I need to think on the colors I'll use so I'll work on the bot first. :salute:
@jzaleta0Today I learned a bit more on how npm :npm: works, made a small test site with Astro :astro: to understand deployment and changed my VScode theme to Vitesse! :vsc:
@ShubhamPatil0made a vscode extension! it's going to be a status updater (e.g. editing one.js in adventofcode_2022)
@jc0Updated my VSCode theme and installed some extensions! I'm trying to learn Vim, so I found an extension for that, which is pretty nice
@sheryl0finally learning how to go from figma to a website. BUTT new fav vscode theme?? ๐ "Winter is coming dark blue no italics" theme is hot af
@jzaleta0Today I learned more on how to work with VScode! :vsc: I didn't knew :thinking: it was possible to open a terminal :macintosh-stcicker: on it! I tried as well to open the neofetch command and Vim :vim: on it and my Splatter Paint ๐จ project files! Today I also worked again on details for two new Hack Club :hack-club: PR! :pr: The first one is to add Scrapbook to the GitHub :github: README and the second is my Workshop translation guide! :mexicoparrot: All of this are from ideas talked with @jessicard yesterday, thanks a lot for guiding me and reviewing my work! :yay: Lastly for today, I kept studying for my Biology Exam! ๐ฆ ๐ฌ
@jzaleta0Today I started to work on my Visual Studio Code setup! :vsc: I installed Atom's :atom: One Dark theme which is awesome, and Prettier code formatter :macbook-air-space-gray-screen: that was a recommendation from @caleb! I also studied for my exams ๐ฆ , and worked on a new PR :pr: for Hack Club! :hack-club: Also here's macOS penguin default wallpaper. ๐ธ
@jessicard0today @belle and I got commodore 64 emulators running so we could write assembly programs in 6502!
we followed github.com/Esshahn/acme-assembly-vscode-template, but had to make a few tweaks to make it work.
first, their application path to VICE is different than ours was - ours was /Applications/vice-x86-64-gtk3-3.6.1/x64sc.app/Contents/MacOS/x64sc
second, when assembling the program, our vscode setup didnโt automatically open VICE for us. so we had to manually open the .prg in VICE after we created it
@malted0:sunglassesblob: I have finally found a theme & font combo I love. It might only be One Dark Pro Darker and JetBrains Mono but I still love it
@jzaleta0Here's an extra image from yesterday's Biology Lab Class! ๐ชด ๐งช
(I forgot to mention yesterday that my next practice besides Connective tissue will include Epithelial tissue as well!)
Also today I'm setting up VScode again to add a better theme and maybe some cool extensions to get done things more easily and add new functions to the IDE! I'm learning too Firefox customization with CSS and how to make a theme for the browser and lastly learning about SSH Connections! ๐ป
@TechnoBladePlayz-U030JABEJ920Day 2 of VS Code
import pygame
import time
import math
from utils import scaleimage, blitrotatecenter
GRASS = scaleimage(pygame.image.load("images/grass.jpg"), 2.5)
TRACK = scaleimage(pygame.image.load("images/track.png"), 0.9)
def newfunc():
TRACKBORDER = scaleimage(pygame.image.load("images/track-border.png"), 0.9)
newfunc()
REDCAR = scaleimage(pygame.image.load("images/red-car.png"), 0.55)
GREENCAR = scaleimage(pygame.image.load("images/green-car.png"), 0.55)
WIDTH, HEIGHT = TRACK.getwidth(), TRACK.getheight()
WIN = pygame.display.setmode((WIDTH, HEIGHT))
pygame.display.setcaption("Racing Game For None!")
FPS = 60
class AbstractCar:
def init(self, maxvel, rotationvel):
self.img = self.IMG
self.maxvel = maxvel
self.vel = 0
self.rotationvel = rotationvel
self.angle = 0
self.x, self.y = self.STARTPOS
self.acceleration = 0.1
def rotate(self, left=False, right=False):
if left:
self.angle += self.rotationvel
elif right:
self.angle -= self.rotationvel
def draw(self, win):
blitrotatecenter(win, self.img, (self.x, self.y), self.angle)
def moveforward(self):
self.vel = min(self.vel + self.acceleration, self.maxvel)
self.move()
def move(self):
radians = math.radians(self.angle)
vertical = math.cos(radians) self.vel
horizontal = math.sin(radians) self.vel
self.y -= vertical
self.x -= horizontal
def reducespeed(self):
self.vel = max(self.vel - self.acceleration / 2, 0)
self.move()
class PlayerCar(AbstractCar):
IMG = REDCAR
STARTPOS = (180, 200)
def draw(win, images, playercar):
for img, pos in images:
win.blit(img, pos)
playercar.draw(win)
pygame.display.update()
run = True
clock = pygame.time.Clock()
images = [(GRASS, (0, 0)), (TRACK, (0, 0))]
playercar = PlayerCar(4, 4)
while run:
clock.tick(FPS)
draw(WIN, images, playercar)
for event in pygame.event.get():
if event.type == pygame.QUIT:
run = False
break
keys = pygame.key.getpressed()
moved = False
if keys[pygame.Ka]:
playercar.rotate(left=True)
if keys[pygame.Kd]:
playercar.rotate(right=True)
if keys[pygame.Kw]:
moved = True
playercar.moveforward()
if not moved:
playercar.reduce_speed()
pygame.quit()
@JinmayJhaveri0Zeus update: Got a new UI with better perf and rewrote some hacky parts of codebase. The version is now testable github.com/Borrus-sudo/Zeus Currently is supports traversing the file directory and opening files in VSCode. Next I am gonna code opening the command line at the clicked folder to save us unnecessary cd, cd .. and stuff!
@Odyssey3460going to try vscode again
some bumps in the road aaaaaaaaaaaaaaa
@matt0:blackbird::blackbird::blackbird::blackbird::blackbird:
A new blackbird release is out! v5.0.0 brings blackbird dusk, a slightly lighter version of blackbird with all the same juicy colors. There are also a few other changes such as custom diff colors and color unifications (such as deep blue being used for arithmetic operations as it is already used for numbers). On the left is blackbird midnight (classic blackbird) and on the right is blackbird dusk. Get it fresh off the press on the vscode store!
github.com/blackbirdtheme/vscode
@matt0you can have source control be in the bottom panel!?!?
@matt0๐ข SHIP INCOMING ๐ข
After a few months in beta I am happy to announce that blackbird, my own personal color scheme has reached v1.0.0! There are currently implementations for vscode, vim, and a number of terminal emulators. I also created a website for it which you can see at blackbird.mattglei.ch!
๐บ๏ธ website โก๏ธ blackbird.mattglei.ch
๐ github โก๏ธ github.com/blackbirdtheme
๐ product hunt โก๏ธ www.producthunt.com/posts/blackbird-2
@aaryan0Self hosted vscode! I can host my projects really fast now :)
@aaryan0JavaScript is amazing <3 I had to put all hardcoded headings and paragraphs into a yaml file and I just quickly opened up devtools and fiddled with it and solved the problem quicker than I could even open vscode and hit compile in C.
@christina6950used GitHub pages to open a repo and clone it into VSCodeโฆusually I start in VSCode and then use the command line to push to GitHub. It was cool to just figure out a new way on my own thatโs actually easier
@caleb0Wrote a React useState snippet for VS Code (and Vim too) :celebratoryrat:@aaryan0VS Code's SSH support is amazing, I'm obsessed! I was really missing this in my life, now I'm gonna ship cool stuff in seconds trust me
@matt0trying out vscode vim for like the billionth time. Hopefully I actually get used to it :bro:
@caleb0vs-slack is slowly coming to life :eyes_squint:
(you can try out the beta at clb.li/vs-slack if you like)
@caleb0building a :vsc: extension for fgh :fgh:!@caleb0wrote 2 #raycast script commands: one to set my slack status and one to open VS Code to an fgh project!
@Devnol0For all you Raspberry Pi Pico fellas with macs that use vscode (that narrowed it down a lot geez), I made a repo with all the hard work of getting the pico-sdk to work in your development environment already done! github.com/Devnol/pico-boilerplate All you have to do is follow the getting started guide on the Pico website!