I hereby claim:
- I am nileshk on github.
- I am nileshk (https://keybase.io/nileshk) on keybase.
- I have a public key ASAACiFW0FufTmiLvUrY2P8EOMlNvitNsLrQ_ZkirOxW4wo
To claim this, I am signing this object:
[program:_appname_] | |
command = /home/_username_/.pyenv/versions/venvname/bin/gunicorn -w 1 -b 127.0.0.1:8000 --pythonpath=. --reload wsgi:application | |
directory=/home/_username_/sites/_appname_/ | |
environment=PATH="/home/_username_/.pyenv/versions/venvname/bin:/home/_username_/.pyenv/shims:/home/_username_/.pyenv/bin:",DJANGO_SETTINGS_MODULE="_appname_.settings",HOME="/home/_username_" | |
user=_username_ | |
autostart=true | |
autorestart=true | |
redirect_stderr=true | |
stopsignal=QUIT | |
stderr_logfile=/home/_username_/log/_appname_-stderr.log |
<?php | |
/* | |
JSON list of all images files in current directory | |
*/ | |
$dir = "."; | |
$dh = opendir($dir); | |
$image_files = array(); |
#!/bin/bash | |
# Run this on a new OS X installation | |
# Disable menu bar transparency | |
defaults write -g AppleEnableMenuBarTransparency -bool false | |
# Expand save panel by default | |
defaults write -g NSNavPanelExpandedStateForSaveMode -bool true | |
# Disable press-and-hold for keys in favor of key repeat |
sudo pg_dropcluster 10 main --stop | |
sudo pg_upgradecluster 9.6 main | |
sudo pg_dropcluster 9.6 main | |
sudo apt purge postgresql-9.6 postgresql-client-9.6 postgresql-contrib-9.6 |
export interface CandidateInfo { | |
name: string; | |
county: string; | |
position: string; | |
district?: string; | |
url?: string; | |
} | |
export const StateWideCandidates: CandidateInfo[] = [ | |
{name: "Andrew Gillum", county: "", position: "Governer", district: "Florida", url: "https://andrewgillum.com/"}, |
I hereby claim:
To claim this, I am signing this object:
REGEDIT4 | |
[HKEY_CLASSES_ROOT\*\shell] | |
[HKEY_CLASSES_ROOT\*\shell\openwemacs] | |
@="&Emacs" | |
# The above value appears in the global context menu, | |
# i.e., when you right click on a file. | |
# (The '&' makes the next character a shortcut.) | |
"Icon"="C:\\Programs\\emacs\\bin\\emacs.exe,0" | |
# The above uses the icon of the Emacs exe for the context |
<!DOCTYPE html> | |
<%@page import="org.springframework.web.context.WebApplicationContext"%> | |
<%@page import="org.springframework.web.context.support.WebApplicationContextUtils"%> | |
<%@page import="org.apache.commons.dbcp.BasicDataSource" %> | |
<% | |
WebApplicationContext context = WebApplicationContextUtils.getWebApplicationContext(application); | |
BasicDataSource dataSource = (BasicDataSource) context.getBean("dataSource"); | |
%> | |
<html> | |
<head> |
#!/usr/bin/python | |
from __future__ import print_function | |
import string | |
import os | |
import sys | |
import re | |
import argparse | |
from subprocess import Popen, PIPE |
#!/bin/bash | |
if [[ "$OSTYPE" == "darwin"* ]]; then | |
export DYLD_LIBRARY_PATH=$(dirname $(which sqlplus)) | |
fi | |
# ... rest of your script that calls Oracle sqlplus |