Skip to content

Instantly share code, notes, and snippets.

Avatar
🤞
reverse-engineering assumptions from code

Sander van Dragt svandragt

🤞
reverse-engineering assumptions from code
View GitHub Profile
@petenelson
petenelson / output-css-classes.php
Last active Sep 19, 2022
WordPress: Output CSS classes
View output-css-classes.php
/**
* Outputs a list of sanitized CSS class names.
*
* @param array|string $classes List of class names (array or string with
* class names separated by spaces or commas).
* @param bool $echo Echo the list of class names (defaults to true).
* @return void|array
*/
function output_css_classes( $classes, $echo = true ) {
@jexchan
jexchan / multiple_ssh_setting.md
Created Apr 10, 2012
Multiple SSH keys for different github accounts
View multiple_ssh_setting.md

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"