Skip to content

Instantly share code, notes, and snippets.

View fredsiika's full-sized avatar
🤞
Refactoring

Fred Siika fredsiika

🤞
Refactoring
View GitHub Profile
@gaearon
gaearon / index.html
Last active April 1, 2025 01:48
Add React in One Minute
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Add React in One Minute</title>
</head>
<body>
<h2>Add React in One Minute</h2>
<p>This page demonstrates using React with no build tooling.</p>
@gaearon
gaearon / minification.md
Last active January 28, 2025 19:19
How to Set Up Minification

In production, it is recommended to minify any JavaScript code that is included with your application. Minification can help your website load several times faster, especially as the size of your JavaScript source code grows.

Here's one way to set it up:

  1. Install Node.js
  2. Run npm init -y in your project folder (don't skip this step!)
  3. Run npm install terser

Now, to minify a file called like_button.js, run in the terminal:

{
"meta": {
"theme": "professional",
"lastModified": "2025-04-04T06:59:24.305Z"
},
"basics": {
"name": "Thomas Davis",
"phone": "0411021021",
"label": "Web Developer",
"image": "https://avatars0.githubusercontent.com/u/416209?s=460&u=38f220a2c9c658141804f881c334c594eb1642ac&v=4",
@fredsiika
fredsiika / sass-cheatsheet.md
Last active November 6, 2024 17:48
A high-level Sass (SCSS) cheatsheet for the most important functionality features of Sass.
@fredsiika
fredsiika / jquery-cheatsheet.md
Last active May 6, 2022 18:24
💲 A high-level jQuery cheatsheet for the most important functionality jQuery has to offer.

💲 jQuery Cheatsheet

PRs WelcomeAwesomeLicense


🔌Your plug to a high-level collection of all the useful functionality jQuery has to offer.

source

Table of Contents:

@bradtraversy
bradtraversy / typescript-crash.ts
Last active February 23, 2025 18:41
Basic intro to TypeScript (From YouTube Crash Course)
// Basic Types
let id: number = 5
let company: string = 'Traversy Media'
let isPublished: boolean = true
let x: any = 'Hello'
let ids: number[] = [1, 2, 3, 4, 5]
let arr: any[] = [1, true, 'Hello']
// Tuple

Beginner's Guide to Python and Prompt Engineering

This guide is designed to help beginners navigate through the essential steps and resources to build a strong foundation in both fields.

Motivation

I'm currently working as a Software Engineer, AI/MLOps. This guide addresses some of the biggest pain points that I encounter while on the learning job. The resources I wish I had discovered sooner.

Starting with Python Basics