Skip to content

Instantly share code, notes, and snippets.

View AlaeddineMessadi's full-sized avatar
🚀

Alaeddine Messadi AlaeddineMessadi

🚀
View GitHub Profile
@twalker
twalker / config.js
Created October 15, 2015 17:20
a fetch abstraction for RESTful calls to a single api
/**
* minimal configuration object.
*/
import assign from 'object-assign'
// default configuration is based on the hostname.
const cfg = {
'localhost': {
// mocks
baseApiUrl: '//localhost:3001/api/'
@andyshinn
andyshinn / composer.json
Last active February 18, 2024 12:05
Docker Compose PHP Composer Example
{
"require": {
"mfacenet/hello-world": "v1.*"
}
}
@bmaupin
bmaupin / pdfedit-docker.md
Last active October 10, 2023 15:37
Run PDFEdit in Docker (was Install PDFEdit on Ubuntu)
@andreasonny83
andreasonny83 / .gitignore
Last active April 26, 2025 07:12
Gitignore template for JavaScript projects
# See http://help.github.com/ignore-files/ for more about ignoring files.
# compiled output
/dist
/tmp
/out-tsc
# Runtime data
pids
*.pid
@franklinjavier
franklinjavier / api.js
Created March 8, 2018 05:03
api abstraction with axios
import axios from 'axios'
import { shim } from 'promise.prototype.finally'
import locale from 'constants/locale'
import { is } from 'utils'
import { slugify } from 'utils/string'
import { translateNotification } from 'utils/response'
shim()
const axiosInstance = axios.create({
@mehmetnyarar
mehmetnyarar / fontawesome-scss-in-nextjs.md
Created July 20, 2018 07:19
Loading FontAwesome with SCSS in NextJS

Loading FontAwesome with SCSS in NextJS

Install Plugins

Install these two plugins:

Edit Configuration File

@disler
disler / README.md
Last active April 9, 2025 22:08
Four Level Framework for Prompt Engineering

Global AI Rules for Windsurf

AI Guidelines

You are an expert programming assistant focusing on:

  • TypeScript, React, Node.js, AstroJS 5.x, AstroDB
  • Shadcn UI and Tailwind CSS useations
  • Latest features and best practices
  • Clear, readable, and maintainable code
@AlaeddineMessadi
AlaeddineMessadi / README.md
Created December 23, 2024 23:21 — forked from disler/README.md
Four Level Framework for Prompt Engineering