Skip to content

Instantly share code, notes, and snippets.

View eezhal92's full-sized avatar

Muhammad Rizki Rijal eezhal92

View GitHub Profile

KNOT AGENT JSON PARAMETER DOCS AGENT MENGGUNAKAN LIBKNOT

Semua parameter agent json sama dengan parameter LIBKNOT

PENJELASAN

perhatikan json berikut ini :

{
 "command-set": {
@Jonalogy
Jonalogy / handling_multiple_github_accounts.md
Last active May 7, 2024 08:06
Handling Multiple Github Accounts on MacOS

Handling Multiple Github Accounts on MacOS

The only way I've succeeded so far is to employ SSH.

Assuming you are new to this like me, first I'd like to share with you that your Mac has a SSH config file in a .ssh directory. The config file is where you draw relations of your SSH keys to each GitHub (or Bitbucket) account, and all your SSH keys generated are saved into .ssh directory by default. You can navigate to it by running cd ~/.ssh within your terminal, open the config file with any editor, and it should look something like this:

Host *
 AddKeysToAgent yes

> UseKeyChain yes

@dobbbri
dobbbri / dropdown.js
Created February 27, 2017 14:39
`v-dropdown` directive for Vue.js 2
/*
* @usage
*
* <div v-dropdown="{autoClose: true}">
* <button dropdown-toggle>Dropdown</button>
* <div class="dropdown-menu">
* This is the dropdown menu.
* </div>
* </div>
*
@acdlite
acdlite / app.js
Last active January 20, 2023 08:23
Quick and dirty code splitting with React Router v4
// getComponent is a function that returns a promise for a component
// It will not be called until the first mount
function asyncComponent(getComponent) {
return class AsyncComponent extends React.Component {
static Component = null;
state = { Component: AsyncComponent.Component };
componentWillMount() {
if (!this.state.Component) {
getComponent().then(Component => {
@nrollr
nrollr / MySQL.md
Last active October 28, 2020 02:53
Install MySQL on El Capitan using Homebrew

Install MySQL on OS X El Capitan

Normally the installation of MySQL can be achieved with a single command, which executes a script provided by MacMiniVault : bash <(curl -Ls http://git.io/eUx7rg)

However, at the time of writing the script is not compatible with OS X El Capitan (10.11)

Install MySQL using Homebrew

An alternative to the aforementioned installation script is installing MySQL using Homebrew. This gist assumes you already have Homebrew installed, if not first read the article "Homebrew and El Capitan"

Make sure Homebrew has the latest formulae, so run brew update first