Skip to content

Instantly share code, notes, and snippets.

💭
Hacking

Dominique dpo

💭
Hacking
Block or report user

Report or block dpo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View .tmux.conf
set -g prefix Home
unbind C-b
bind-key Home send-prefix
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# tmux-resurrect and tmux-continuum to save the state across system restarts
# prefix-Ctrl-s to save the state
View vd
#!/bin/bash
# To be called by Skim for linkback.
# Server name can be 100 chars max in length.
#server=$2
#(( ${#server} > 100 )) && server=${server:0:100}
# Debug: send args to console.
syslog -s -l error "file $2 line $1"
#/usr/local/bin/vim --servername "$server" --remote-send ":buffer$2<CR>:$1<CR><CR>"
View vim-linkback
#!/bin/bash
file="$1"
line="$2"
[ "${file:0:1}" == "/" ] || file="${PWD}/$file"
exec osascript \
-e "set ESC to ASCII character 27" \
-e "tell application \"/Users/dpo/bin/vim\" to activate" \
View vims
#!/bin/bash
# Server name can be 100 chars max in length.
server=$(pwd)/$1
(( ${#server} > 100 )) && server=${server:0:100}
/usr/local/bin/vim --servername $server $1
View arc_bmark.jl
using LinearAlgebra
using Logging
using JLD2
using CUTEst
using JSOSolvers
using NLPModels
using SolverBenchmark
using SolverTools
View .vimrc
call plug#begin('~/.vim/plugged')
Plug 'tpope/vim-sensible'
Plug 'tpope/vim-commentary'
Plug 'tpope/vim-tbone'
Plug 'airblade/vim-gitgutter'
Plug 'junegunn/fzf', { 'do': 'yes \| ./install' } " fzf is a fuzzy file search
Plug 'junegunn/fzf.vim'
View .vimrc
call plug#begin('~/.vim/plugged')
Plug 'tpope/vim-sensible'
Plug 'tpope/vim-commentary'
Plug 'tpope/vim-tbone'
Plug 'airblade/vim-gitgutter'
Plug 'junegunn/fzf', { 'do': 'yes \| ./install' } " fzf is a fuzzy file search
Plug 'junegunn/fzf.vim'
View .tmux.conf
set -g prefix Home
unbind C-b
bind-key Home send-prefix
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# tmux-resurrect and tmux-continuum to save the state across system restarts
# prefix-Ctrl-s to save the state
View .tmux.conf
set -g prefix Home
unbind C-b
bind-key Home send-prefix
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# tmux-resurrect and tmux-continuum to save the state across system restarts
# prefix-Ctrl-s to save the state
View nlp2.jl
#*******************************************************/
#* Copyright(c) 2018 by Artelys */
#* This source code is subject to the terms of the */
#* MIT Expat License (see LICENSE.md) */
#*******************************************************/
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# This example demonstrates how to use Knitro to solve the following
# simple nonlinear optimization problem. This model is test problem
# HS40 from the Hock & Schittkowski collection.
You can’t perform that action at this time.