This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encrypt | |
openssl enc -aes-256-cbc -in myfile.tar -out myfile.tar.enc | |
# decrypt | |
openssl enc -aes-256-cbc -d -in myfile.tar.enc -out myfile.tar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bytes" | |
"compress/gzip" | |
"fmt" | |
"github.com/awslabs/aws-sdk-go/aws" | |
"github.com/awslabs/aws-sdk-go/aws/awsutil" | |
"github.com/awslabs/aws-sdk-go/service/s3" | |
"github.com/hyperboloide/pipe" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(setq visible-bell t) | |
(line-number-mode 1) | |
(column-number-mode 1) | |
(global-font-lock-mode t) | |
(setq font-lock-maximum-size nil) | |
(setq-default transient-mark-mode t) | |
(menu-bar-mode -1) | |
(setq backup-inhibited t) | |
(setq auto-save-default nil) | |
(setq inhibit-startup-message t) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PS1="[\e[0;47m\w\e[0m]\e[0;32m\\$\e[0m " | |
export CLICOLOR=1 | |
export LSCOLORS=GxFxCxDxBxegedabagaced | |
BLOCKSIZE=m; export BLOCKSIZE | |
EDITOR=emacs; export EDITOR | |
PAGER=less; export PAGER | |
PACKAGESITE=ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-current | |
export PACKAGESITE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user www; | |
worker_processes 1; | |
error_log /var/log/nginx-error.log; | |
events { | |
worker_connections 256; | |
use kqueue; | |
} | |
http { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<uwsgi> | |
<socket>127.0.0.1:3031</socket> | |
<pythonpath>..</pythonpath> | |
<chdir>/usr/home/fred/www/lecomptoir/</chdir> | |
<module>django_wsgi</module> | |
</uwsgi> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mount -r -t ufs -o ufstype=ufs2 /dev/sda1 1/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/python | |
import os, sys, commands | |
def print_package(name): | |
rows, columns = os.popen('stty size', 'r').read().split() | |
for i in range (int(columns)): | |
sys.stdout.write('_') | |
print '\n' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; header2.el --- Support for creation and update of file headers. | |
;; | |
;; Filename: header2.el | |
;; Description: Support for creation and update of file headers. | |
;; Author: Lynn Slater | |
;; Drew Adams | |
;; Maintainer: Drew Adams | |
;; Copyright (C) 1996-2013, Drew Adams, all rights reserved. | |
;; Copyright (C) 1989 Free Software Foundation, Inc. | |
;; Copyright (C) 1988 Lynn Randolph Slater, Jr. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# PROVIDE: myuwsgi | |
# | |
. /etc/rc.subr | |
name=myuwsgi | |
rcvar=myuwsgi_enable | |
start_cmd="myuwsgi_start" |
OlderNewer