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/bash | |
set +x | |
if [ $# -lt 3 ]; then | |
echo "Usage: $0 failed_buildlogs_directory symbols_file package_version" | |
exit 2 | |
fi | |
BUILD_LOG_DIRECTORY=$1 | |
SYMBOLS_FILE=$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
;; Python3 customization | |
;; Path to Python3 only required for windows.. :) | |
(setq python3-executable "C:/Users/invakam2/Documents/Programs/python3.2/App/python.exe") | |
;; Function similar to python-shell but this | |
;; is my crude implementation | |
(defun python3-shell() | |
(interactive) |
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
From 41936a98e7429e21edd7a20c7f2718a8dfad91ed Mon Sep 17 00:00:00 2001 | |
From: Vasudev Kamath <[email protected]> | |
Date: Tue, 7 Feb 2012 21:51:27 +0530 | |
Subject: [PATCH 9/9] Some improvements added like storing user name password | |
and server to avoid frequent asking | |
--- | |
frendi.sh | 46 +++++++++++++++++++++++++++++++++++++++++----- | |
1 files changed, 41 insertions(+), 5 deletions(-) |
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 | |
# Suspend, hibernate, restart or shutdown the computer without sudo! | |
# by Chris Wong | |
# Released to the public domain. | |
NAME=$0 | |
usage() { | |
echo "Usage: $NAME suspend|hibernate|restart|shutdown" |
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 | |
from BeautifulSoup import BeautifulSoup | |
import urllib2 | |
import tablib | |
wiktionary_words = [] | |
def parse_word(html_data): |
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 | |
#include | |
/* safe_srncpy() is Copyright 1998 by Mark Whitis */ | |
/* All Rights reserved. */ | |
/* use it or distribute it (including for profit) at your own risk */ | |
/* but please don't GPL it. Retain this notice. Modified versions */ | |
/* should be clearly labeled as such. */ | |
char *safe_strncpy(char *dst, char *src, int size) | |
{ | |
char *savedst; |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <sys/ioctl.h> | |
#include <net/if.h> | |
#include <netinet/in.h> | |
#include <arpa/inet.h> | |
#include <net/if_arp.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <features.h> |
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 | |
############################################################################ | |
# @file: generate_report.Py # | |
# # | |
# Copyright (c) 2011, Vasudeva Kamath <kamathvasudev at gmail dot com> # | |
# # | |
# Permission to use, copy, modify, and/or distribute this software for any # | |
# purpose with or without fee is hereby granted, provided that the above # | |
# copyright notice and this permission notice appear in all copies. # |
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 | |
# -*- coding: utf-8 -*- | |
############################################################################ | |
# @file: naruto-link-fetcher.py # | |
# @license: ISC # | |
# # | |
# Copyright (c) 2011, Vasudev Kamath <kamathvasudev at gmail dot com> # | |
# # | |
# Permission to use, copy, modify, and/or distribute this software for any # |