Install to:
ipython_config.py
—~/.ipython/profile_default/ipython_config.py
00-keybindings.py
—~/.ipython/profile_default/startup/00-keybindings.py
10-line-magics.py
—~/.ipython/profile_default/startup/10-line-magics.py
{ | |
parserClass="org.idea_sp.parser.SourcePawnParser" | |
extends="com.intellij.extapi.psi.ASTWrapperPsiElement" | |
psiClassPrefix="SourcePawn" | |
psiImplClassSuffix="Impl" | |
psiPackage="org.idea_sp.psi" | |
psiImplPackage="org.idea_sp.psi.impl" |
#pragma semicolon 1 | |
#include <sourcemod> | |
#define PLUGIN_VERSION "2.3.0" | |
public Plugin:myinfo = { | |
name = "Triggers", | |
author = "theY4Kman", | |
description = "Advanced commandlist.txt functionality", |
// ==UserScript== | |
// @name Fix Kibana monitoring nodes links | |
// @version 0.1 | |
// @description Allows node links to be clicked in Kibana Monitoring without getting "node/cluster not found" | |
// @author Zach "theY4Kman" Kanzler | |
// @match https://mon.kibana.perchsecurity.com/app/monitoring | |
// @require https://cdn.jsdelivr.net/npm/[email protected]/js/rison.min.js | |
// @require http://code.jquery.com/jquery-3.4.1.min.js | |
// @grant unsafeWindow | |
// ==/UserScript== |
""" | |
Add copy to clipboard from IPython! | |
To install, just copy it to your profile/startup directory, typically: | |
~/.ipython/profile_default/startup/ | |
Example usage: | |
%clip hello world | |
# will store "hello world" |
Install to:
ipython_config.py
— ~/.ipython/profile_default/ipython_config.py
00-keybindings.py
— ~/.ipython/profile_default/startup/00-keybindings.py
10-line-magics.py
— ~/.ipython/profile_default/startup/10-line-magics.py
#include <string.h> | |
#include <dlfcn.h> | |
#include <libxfce4util/libxfce4util.h> | |
#include <libxfce4panel/xfce-panel-plugin.h> | |
#include <gtk/gtk.h> | |
#include <Python.h> | |
#include <canberra.h> | |
#include <gsound.h> |
from typing import Callable, Iterable, List | |
import cssselect | |
import gi | |
from cssselect import GenericTranslator | |
gi.require_version('Gtk', '3.0') | |
from gi.repository import Gtk | |
import ast | |
import traceback | |
from _pytest.config import Config | |
from icdiff import ConsoleDiff | |
import terminal_helpers | |
import util_pprint | |
""" | |
This ipython config file installs a few extra prompt key bindings for a more | |
familiar editing interface. In particular, it adds support for: | |
- Ctrl+Home: | |
move to the beginning of the buffer | |
- Ctrl+End: | |
move to the end of the buffer |
import cmd | |
import sys | |
from fancycompleter import interact, DefaultConfig | |
class ConfigForTest(DefaultConfig): | |
use_colors = False | |
prefer_pyrepl = False |