Skip to content

Instantly share code, notes, and snippets.

View KaiSforza's full-sized avatar
🔁

Kai Sforza KaiSforza

🔁
View GitHub Profile
@KaiSforza
KaiSforza / gist:3856715
Created October 9, 2012 04:59
that's part of repo-add. lol
wgiokas@WST420 ~ % repo-elephant
__
'. \
'- \
/ /_ .---.
/ | \\,.\/--.// )
| \// )/ /
\ ' ^ ^ / )____.----.. 6
'.____. .___/ \._)
.\/. )
debug1: Connection to port 20000 forwarding to 127.0.0.1 port 20000 requested.
debug1: channel 3: new [direct-tcpip]
debug1: client_input_channel_open: ctype forwarded-tcpip rchan 4 win 2097152 max 32768
debug1: client_request_forwarded_tcpip: listen localhost port 20000, originator 127.0.0.1 port 47553
debug1: connect_next: host 127.0.0.1 ([127.0.0.1]:20001) in progress, fd=10
debug1: channel 4: new [127.0.0.1]
debug1: confirm forwarded-tcpip
debug1: channel 4: connected to 127.0.0.1 port 20001
debug1: channel 3: free: direct-tcpip: listening port 20000 for 127.0.0.1 port 20000, connect from 127.0.0.1 port 52672, nchannels 5
debug1: channel 4: free: 127.0.0.1, nchannels 4
# Filename: /etc/zsh/zshrc
# Purpose: config file for zsh (z shell)
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
################################################################################
# This file is sourced only for interactive shells. It
# should contain commands to set up aliases, functions,
# options, key bindings, etc.
#
# This template gets system date and time and at this point does nothing with it
import datetime #the funct that gets system date/time
import time #the rest of the date/time funct
now = datetime.datetime.now() #copied to a string, must use 'now' variable name
# end template to get date and time
wgiokas@WST420 ~ % gpg-agent
gpg-agent: no gpg-agent running in this session
2 wgiokas@WST420 ~ % ps aux | grep gpg-agent
wgiokas 29027 0.0 0.0 17156 828 ? Ss 23:23 0:00 gpg-agent --daemon --write-env-file /home/wgiokas/.gpg-agent-info
wgiokas 31017 0.0 0.0 10552 1068 pts/12 S+ 23:25 0:00 grep --color=auto gpg-agent
wgiokas@WST420 ~ %
@KaiSforza
KaiSforza / gist:3752480
Created September 19, 2012 21:43
issues getting interactive session
wgiokas@WST420 ~ % ssh -v root.devps.micro /bin/zsh
OpenSSH_6.1p1, OpenSSL 1.0.1c 10 May 2012
debug1: Reading configuration data /home/wgiokas/.ssh/config
debug1: /home/wgiokas/.ssh/config line 24: Applying options for root.devps.micro
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to ip [ip] port 22.
debug1: Connection established.
debug1: identity file /home/wgiokas/.ssh/id_rsa type 1
debug1: identity file /home/wgiokas/.ssh/id_rsa-cert type -1
debug1: identity file /home/wgiokas/.ssh/id_dsa type -1
@KaiSforza
KaiSforza / sshd_config
Created September 16, 2012 23:17
for serg
# $OpenBSD: sshd_config,v 1.87 2012/07/10 02:19:15 djm Exp $
# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.
# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options override the
[root@WSVPS1 cower-git] # rc.d restart sshd
:: Stopping Secure Shell Daemon [FAIL]
:: Starting Secure Shell Daemon [DONE]
[root@WSVPS1 cower-git] #
wgiokas@WST420 kanatest % makepkg -sL
==> Making package: kanatest 0.4.8-5 (Wed Sep 5 22:03:17 CDT 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Found kanatest.desktop
==> Validating source files with md5sums...
kanatest.desktop ... Passed
==> Extracting Sources...
==> Removing existing pkg/ directory...
error: failed to commit transaction (conflicting files)
fontconfig: /etc/fonts/conf.d/20-unhint-small-vera.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/29-replace-bitmap-fonts.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/30-metric-aliases.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/30-urw-aliases.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/40-nonlatin.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/45-latin.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/49-sansserif.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/50-user.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/51-local.conf exists in filesystem