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
;;; asm-mode.el --- mode for editing assembler code | |
;; Copyright (C) 1991, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 | |
;; Free Software Foundation, Inc. | |
;; All other changes in the public domain. | |
;; Author: Eric S. Raymond <esr@snark.thyrsus.com> | |
;; Author: Robbie Harwood (frozencemetery) <rharwood@club.cc.cmu.edu> | |
;; Maintainer: FSF |
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
#include <fcntl.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
int main(int argc, char *argv[]) { | |
if (argc < 2) { |
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 | |
sml -Cprint.depth=10000 -Cprint.length=10000 -Cprint.string-depth=10000 $@ |
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
;;; rfcview.el -- view IETF RFCs with readability-improved formatting | |
;; Copyright (C) 2001-2002 Neil W. Van Dyke | |
;; Copyright (C) 2006, 2008, 2009 Free Software Foundation, Inc. | |
;; (mods by Dave Love <fx@gnu.org>) | |
;; Author: Neil W. Van Dyke <neil@neilvandyke.org> | |
;; Author: Dave Love <fx@gnu.org> | |
;; Version: 0.13 | |
;; X-URL: http://www.loveshack.ukfsn.org/emacs/rfcview.el |
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 | |
BASE=/sys/class/backlight/ | |
FILE=/brightness | |
INTEL="${BASE}intel_backlight${FILE}" | |
NVIDIA="${BASE}nv_backlight${FILE}" | |
if [ -f "$INTEL" ]; then | |
echo $((4437 * $1 / 100)) > "$INTEL" | |
elif [ -f "$NVIDIA" ]; then | |
echo $1 > "$NVIDIA" |
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
A: Trim the message, leaving appropriate context, then reply below. | |
Q: How should I reply to email then? | |
A: No. | |
Q: Should I include quotations after my reply? | |
A: Because it messes up the order in which people normally read text. | |
Q: Why is top-posting such a bad thing? | |
A: Top-posting. | |
Q: What is the most annoying thing in email? |
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
# Fedora Nodoka gtkrc, based on Aqualooks | |
# | |
# Authors: | |
# Daniel Geiger <dgeiger_343@yahoo.com> | |
# Martin Sourada <martin.sourada@seznam.cz> | |
# | |
# Uses the Nodoka theme engine, forked from Murrine theme engine | |
gtk_color_scheme = "fg_color:#D4D4D4\nbg_color:#333333\nbase_color:#474747\ntext_color:#D4D4D4\nselected_bg_color:#ff7228\nselected_fg_color:#ffffff\ntooltip_bg_color:#ff7228\ntooltip_fg_color:#000" |
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/bin/env python3 | |
import subprocess | |
import sys | |
def main(argv): | |
print(subprocess.getoutput("pg_ctl -D /var/lib/pgsql/data -l logfile start")) | |
try: | |
tail = subprocess.Popen(["tail", "-F", "logfile"], stdout=sys.stdout) |
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
rharwood@fedproxy:~/gssproxy/proxy$ gdb /usr/local/bin/rr | |
GNU gdb (GDB) Fedora 7.9.1-20.fc22 | |
Copyright (C) 2015 Free Software Foundation, Inc. | |
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | |
This is free software: you are free to change and redistribute it. | |
There is NO WARRANTY, to the extent permitted by law. Type "show copying" | |
and "show warranty" for details. | |
This GDB was configured as "x86_64-redhat-linux-gnu". | |
Type "show configuration" for configuration details. | |
For bug reporting instructions, please see: |
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/bin/python | |
import sys | |
files = sys.argv[1:] | |
for f in files: | |
h = open(f, "rU") | |
lines = h.read().split('\n') | |
h.close() |
OlderNewer