Skip to content

Instantly share code, notes, and snippets.

View yusucan's full-sized avatar
🐴
-

Yusuf Güzel yusucan

🐴
-
View GitHub Profile
@yusucan
yusucan / swagger.js
Created April 6, 2023 17:46
close all swagger collapsibles
//when you open editor.swagger.io, run this code on console or add it as a bookmark and click to close all the collapsibles on the right section.
javascript:(function() { document.querySelectorAll(".opblock-tag").forEach(i => i.click())}());
[
{
"code":"AD",
"dialCode":"+376",
"name_ar":"أندورا",
"name":"Andorra"
},
{
"code":"AE",
"dialCode":"+971",
@yusucan
yusucan / README.md
Created July 19, 2018 14:40 — forked from jonathantneal/README.md
Local SSL websites on macOS Sierra

Local SSL websites on macOS Sierra

These instructions will guide you through the process of setting up local, trusted websites on your own computer.

These instructions are intended to be used on macOS Sierra, but they have been known to work in El Capitan, Yosemite, Mavericks, and Mountain Lion.

NOTE: You may substitute the edit command for nano, vim, or whatever the editor of your choice is. Personally, I forward the edit command to Sublime Text:

alias edit="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl"
@yusucan
yusucan / MySQL_macOS_Sierra.md
Created June 6, 2018 11:33 — forked from nrollr/MySQL_macOS_Sierra.md
Install MySQL on Sierra using Homebrew

Install MySQL on macOS Sierra

This procedure explains how to install MySQL using Homebrew on macOS Sierra 10.12

Install Homebrew

  • Installing Homebrew is effortless, open Terminal and enter :
    $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.

Install MySQL

At this time of writing, Homebrew has MySQL version 5.7.15 as default formulae in its main repository :

@yusucan
yusucan / Default (Windows).sublime-mousemap
Last active December 1, 2015 12:00
Mouse wheel click go to definition | Sublime Text
[
// Mouse wheel click go to definition
{
"button": "button3",
"modifiers": ["ctrl"],
"press_command": "goto_definition"
},
]