Skip to content

Instantly share code, notes, and snippets.

@kconner
kconner / macOS Internals.md
Last active November 6, 2025 09:43
macOS Internals

macOS Internals

Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.

Starting Points

How to use this gist

You've got two main options:

@dreamsparkx
dreamsparkx / More-links.txt
Last active April 4, 2025 09:15
Install Apache, PHP, MySQL and phpMyAdmin on Mac OS X
@Koroeskohr
Koroeskohr / ruby-zsh-install.sh
Created November 5, 2016 17:14
Install Ruby with ZSH
cd
git clone git://github.com/sstephenson/rbenv.git .rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrc
echo 'eval "$(rbenv init -)"' >> ~/.zshrc
git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
sudo apt-get install -y libssl-dev libreadline-dev zlib1g-dev
rbenv install -v 2.3.1
rbenv global 2.3.1
@smwhr
smwhr / Enonce-ORM.md
Last active November 13, 2019 11:21
Énoncé Devoir ORM

Projet ORM

Date de rendu : 06/01/2020

Il s'agit d'implémenter d'après vos propres spécifications, un ORM.
On rappelle qu'un ORM (Object Relational Mapper) est une librairie permettant de représenter le contenu d'une base de donnée sous la forme d'objets dont les propriétés sont définies par le contenu de la base de donnée.

Consigne et critères de notation

Général
@rcugut
rcugut / node-npm-install.md
Last active October 10, 2025 20:15 — forked from DanHerbert/fix-homebrew-npm.md
Install node & npm on Mac OS X with Homebrew

DEPRECATED as of macOS 10.13 (High Sierra). See the new GUIDE to install nvm and yarn for macOS (updated July 2019)

Fixing npm On Mac OS X for Homebrew Users

Installing node through Homebrew can cause problems with npm for globally installed packages. To fix it quickly, use the solution below. An explanation is also included at the end of this document.

Solution

This solution fixes the error caused by trying to run npm update npm -g. Once you're finished, you also won't need to use sudo to install npm modules globally.

@gokulkrishh
gokulkrishh / media-query.css
Last active November 11, 2025 08:17
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
/* CSS */
@leg0ffant
leg0ffant / chromebook-dev.md
Last active November 23, 2021 13:23
Informatique sous Chromebook et codeurs

Configuration -- Chromebook dev -- Anthony Le Goff -- Alpharatz Consulting


#CHROMEBOOK & DEVELOPPEUR Débuter chromebook et apprendre langage informatique

Utiliser un chromebook comme machine de travail pour l'apprentissage du code est un choix de paradigme, méthode de travail orienté web et cloud computing, ici pas de maintenance PC, système d'exploitation minimal.

@leg0ffant
leg0ffant / golang-fr.md
Last active July 22, 2025 22:32
Golang introduction [FR]

Cours langage GO - annotation - Anthony Le Goff


#INTRO ALGORITHME SOUS GO De l'écriture du premier programme à la logique informatique golang

http://golang.org

Premier programme et présentation de "hello world"

@Chaser324
Chaser324 / GitHub-Forking.md
Last active October 24, 2025 15:20
GitHub Standard Fork & Pull Request Workflow

Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, it's quite easy to make mistakes or not know what you should do when you're initially learning the process. I know that I certainly had considerable initial trouble with it, and I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.

In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.

Creating a Fork

Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your repo or j

@tylerthebuildor
tylerthebuildor / JSKeyCodes
Created December 17, 2013 19:58
List of JavaScript key codes.
backspace 8
tab 9
enter 13
shift 16
ctrl 17
alt 18
pause/break 19
caps lock 20
escape 27
page up 33