code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
ver="$1"
[ -z "$ver" ] && echo "Usage: $0 VERSION" && exit 1
basedir="`dirname $0`/.."
(
projname="akn-subschema-gen-$ver"
targetdir="/tmp/${projname}"
cp -r "${basedir}" "${targetdir}"
rm -Rf "${targetdir}/.git/"
cd "${targetdir}/.."
tar -cf "${projname}.tar" "${projname}"
gzip -9 "${projname}.ta... | Shell |
#!/bin/sh
test=""
[ "$1" = "--test" ] && test="-test" && shift
[ ! -d "$1" ] && echo "ERROR: '$1' not a directory\nUsage $0 [--test] root_web_dir" && exit 1
[ ! -d "./html" ] && echo "ERROR: `pwd` is not the aknssg root directory\nTry 'cd ..'" && exit 1
root=$1
cp='cp -u'
data="$root/data/aknssg$test"
cgi_bin="$r... | Shell |
#!/bin/sh
ver="$1"
[ -z "$ver" ] && echo "Usage: $0 VERSION" && exit 1
basedir="`dirname $0`/.."
(
projname="akn-subschema-gen-$ver"
targetdir="/tmp/${projname}"
cp -r "${basedir}" "${targetdir}"
rm -Rf "${targetdir}/.git/"
cd "${targetdir}/.."
tar -cf "${projname}.tar" "${projname}"
gzip -9 "${projname}.ta... | Shell |
#!/bin/sh
case "$1" in
'html' | 'subschema' | 'html/' | 'subschema/' ) ;;
* ) echo "$0 (html|subschema)" ; exit 1 ;;
esac
rootdir="`dirname $0`/.."
rootdir="`readlink -f $rootdir`"
target="`basename $1`" ; shift
calabash="com.xmlcalabash.drivers.Main"
pipeline="generate-$target.xpl"
cp=".:$rootdir/support/lib/*"
... | Shell |
#!/bin/sh
test=""
[ "$1" = "--test" ] && test="-test" && shift
[ ! -d "$1" ] && echo "ERROR: '$1' not a directory\nUsage $0 [--test] root_web_dir" && exit 1
[ ! -d "./html" ] && echo "ERROR: `pwd` is not the aknssg root directory\nTry 'cd ..'" && exit 1
root=$1
cp='cp -u'
data="$root/data/aknssg$test"
cgi_bin="$r... | Shell |
#!/bin/sh
case "$1" in
'html' | 'subschema' | 'html/' | 'subschema/' ) ;;
* ) echo "$0 (html|subschema)" ; exit 1 ;;
esac
rootdir="`dirname $0`/.."
rootdir="`readlink -f $rootdir`"
target="`basename $1`" ; shift
calabash="com.xmlcalabash.drivers.Main"
pipeline="generate-$target.xpl"
cp=".:$rootdir/support/lib/*"
... | Shell |
#!/bin/bash
echo on
die () {
echo >&2 "$@"
exit 1
}
if [[ ! -n "$1" ]];
then
die "parameter 1 deployment folder path required ; e.g. ./install.sh ../web_live ";
fi
if [[ -n "$2" ]]
then
if [[ $2 == /* ]]
then
echo "Web root setting to ${2}"
export WEB_ROOT=$2;
else
die "${2} is not a ... | Shell |
#!/bin/bash
echo on
die () {
echo >&2 "$@"
exit 1
}
if [[ ! -n "$1" ]];
then
die "parameter 1 deployment folder path required ; e.g. ./install.sh ../web_live ";
fi
if [[ -n "$2" ]]
then
if [[ $2 == /* ]]
then
echo "Web root setting to ${2}"
export WEB_ROOT=$2;
else
die "${2} is not a ... | Shell |
#! /bin/bash
# Binary of the Texturepacker:
TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker
# Shared Spritesheet-Output-Definitions:
SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/"
SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets"
SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src... | Shell |
#!/bin/bash
#
# Copyright 2010 Google Inc. All Rights Reserved.
# Author: jcgregorio@google.com (Joe Gregorio)
#
# Creates the documentation set for the library by
# running pydoc on all the files in apiclient.
#
# Notes: You may have to update the location of the
# App Engine library for your local system.
set... | Shell |
echo "The following files are missing or are not checked in:"
hg st
echo "Enter to continue"
read -e YES
echo "The following files are missing from the MANIFEST file:"
cat MANIFEST | sort > sorted-manifest.txt
hg st --clean| sed "s/^C //" | grep -v "^v3" > sorted-allfiles.txt
diff sorted-allfiles.txt sorted-manifest.tx... | Shell |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| Shell |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
# Copyright 1999, 2000 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either ve... | Shell |
# ltmain.sh - Provide generalized library-building support services.
# NOTE: Changing this file will not affect anything until you rerun configure.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005
# Free Software Foundation, Inc.
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# Th... | Shell |
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without ... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case $1 in
-h | --help... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
# Copyright 1999, 2000 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either ve... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU ... | Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
timestamp='2003-06-18'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that S... | Shell |
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
timestamp='2003-06-17'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public L... | Shell |
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without ... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU ... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case $1 in
-h | --help... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
# Copyright 1999, 2000 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either ve... | Shell |
# ltmain.sh - Provide generalized library-building support services.
# NOTE: Changing this file will not affect anything until you rerun configure.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005
# Free Software Foundation, Inc.
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# Th... | Shell |
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without ... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case $1 in
-h | --help... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
# Copyright 1999, 2000 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either ve... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU ... | Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
timestamp='2003-06-18'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that S... | Shell |
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
timestamp='2003-06-17'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public L... | Shell |
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without ... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU ... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case $1 in
-h | --help... | Shell |
#!/bin/sh
#
### $Id: run.sh abhayani@redhat.com $ ###
#
# Mobicents Media Server Control Script
#
# To use this script run it as root - it will switch to the specified user
#
# Here is a little (and extremely primitive) startup/shutdown script
# for RedHat systems. It assumes that Mobicents Media Server lives in /usr/l... | Shell |
#!/bin/sh
### ====================================================================== ###
## ##
## Mobicents SS7 CLI Bootstrap Script ##
## ##... | Shell |
#!/bin/sh
### ====================================================================== ###
## ##
## Mobicents SMSC Test Server Bootstrap Script ##
## ... | Shell |
#!/bin/bash
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... | Shell |
#!/bin/bash
mkdir -p dist/boot/grub
cp scripts/grub.cfg dist/boot/grub
cp akosix.bin dist/boot/
grub-mkrescue -o akosix.iso dist
| Shell |
sudo /sbin/losetup /dev/loop0 floppy.img
sudo bochs -f bochsrc.txt
sudo /sbin/losetup -d /dev/loop0
| Shell |
#!/bin/sh
#########################################
### Author: Yuanjun.Li
### Email: yourchanges@gmail.com
#########################################
cdir=`pwd`
#clean
rm -rf ssh_*
rm -rf openssh
rm -rf zlib-1.2.5
rm -rf openssl-1.0.0a
rm -rf openssh-5.6p1
mkdir -p openssh
#download package
#wget http://ww... | Shell |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| Shell |
#!/bin/bash
#
# Copyright (C) 2007 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ap... | Shell |
#!/bin/bash
#
# Copyright (C) 2007 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ap... | Shell |
#!/usr/bin/env sh
./gradlew build fatJar
| Shell |
#!/bin/bash
dataImporter=/mnt/s3buckets
storeLogs=/mnt/s3buckets/inputLogs/
dir=/mnt/s3buckets/akamai_logs
#for f in "$dir"/*; do
# echo "$f"
# intermediateFile=${f#*'/'}
# subIntermediateFile=${intermediateFile#*'/'}
# lastIntermediateFilte=${subIntermediateFile#*'/'}
# folder=${lastIntermediateFilte%'/'*}
# file=${l... | Shell |
#!/bin/bash
echo "Conecting to the database.."
bucket=/mnt/s3bucket/
dir=$bucket"ProcessedLogs"
for file in "$dir"/*; do
echo "------------------------"$file"-----------------------------------------"
intermediate=${file#*'/mnt/s3bucket/ProcessedLogs/'}
echo "$intermediate"
if [ "$intermediate" == "toDatabase" ]... | Shell |
#!/bin/bash
#FALTA PASAR EL INPUTLOG POR PARAMETRO
#INPUT: com.autodesk.akn/akamai_logs/beehive_autodesk_com_176461.esw3ccust_S.201212110000-2400-0.gz
#echo "Write the path to the input bucket."
#echo "Connecting to the cluster.."
input=$1
#input="com.autodesk.akn/akamai_logs/beehive_autodesk_com_176461.esw3ccust_S... | Shell |
#!/bin/bash
echo "Starting.."
dir=/mnt/s3bucket/akamai_logs
for file in "$dir"/*; do
java -cp /home/vascordoba/NetBeansProjects/Autodesk/AutomateEMRorg.eclipse.jdt.core.javabuilder/target/AutomateEMR-1.0-SNAPSHOT.jar com.globant.AutomateEMR.AutomateBigDataProcessing $1
/home/vascordoba/NetBeansProjects/Autodesk/DBL... | Shell |
wget https://akunsshpremium.googlecode.com/svn/branches/add --no-check-certificate
wget https://akunsshpremium.googlecode.com/svn/branches/crot --no-check-certificate
wget https://akunsshpremium.googlecode.com/svn/branches/hapus --no-check-certificate
wget https://akunsshpremium.googlecode.com/svn/branches/lagi --no-ch... | Shell |
#!/bin/bash
cat /root/expireduser.txt
echo "" > /root/infouser.txt
echo "" > /root/expireduser.txt
echo "" > /root/alluser.txt
cat /etc/shadow | cut -d: -f1,8 | sed /:$/d > /tmp/expirelist.txt
totalaccounts=`cat /tmp/expirelist.txt | wc -l`
for i in $(seq 1 $totalaccounts)
do
tuserval=`head -n ... | Shell |
rm -rf add
rm -rf cari*
rm -rf crot*
rm -rf hapus*
rm -rf lagi*
rm -rf lihat*
rm -rf tambah*
rm -rf kurang*
rm -rf trial*
rm -rf masuk*
rm -rf expuser*
rm -rf otomatis*
rm -rf bersih* | Shell |
#!/bin/bash
echo "------------------------------------------------------"
echo "USERNAME EXP DATE KETERANGAN "
echo "------------------------------------------------------"
while read mumetndase
do
AKUN="$(echo $mumetndase | cut -d: -f1)"
ID="$(echo $mumetndase | grep -v nobody ... | Shell |
#!/bin/bash
echo "------------------------------------------------------"
echo "USERNAME EXP DATE KETERANGAN "
echo "------------------------------------------------------"
count=0
while read mumetndase
do
AKUN="$(echo $mumetndase | cut -d: -f1)"
ID="$(echo $mumetndase | grep -v... | Shell |
#!/bin/bash
echo "" > /root/infouser.txt
echo "" > /root/expireduser.txt
echo "" > /root/alluser.txt
cat /etc/shadow | cut -d: -f1,8 | sed /:$/d > /tmp/expirelist.txt
totalaccounts=`cat /tmp/expirelist.txt | wc -l`
for i in $(seq 1 $totalaccounts)
do
tuserval=`head -n $i /tmp/expirelist.txt | tail -n 1`
username=`echo... | Shell |
#!/bin/bash
echo "------------------------------------------------------"
echo "USERNAME EXP DATE KETERANGAN "
echo "------------------------------------------------------"
while read mumetndase
do
AKUN="$(echo $mumetndase | cut -d: -f1)"
ID="$(echo $mumetndase | grep -v nobody ... | Shell |
#!/bin/bash
tgl="$(chage -l $1 | grep "Account expires" | awk -F" " '{print $5}' | sed 's/,$
bln="$(chage -l $1 | grep "Account expires" | awk -F" " '{print $4}')"
thn="$(chage -l $1 | grep "Account expires" | awk -F" " '{print $6}')"
date=$(date +'%Y-%m-%d %H:%M:%S %Z %a')
read Y M D h m s Z a <<< ${date//[-: ]/ ... | Shell |
#!/bin/bash
tgl="$(chage -l $1 | grep "Account expires" | awk -F" " '{print $5}' | sed 's/,/ /g')"
bln="$(chage -l $1 | grep "Account expires" | awk -F" " '{print $4}')"
thn="$(chage -l $1 | grep "Account expires" | awk -F" " '{print $6}')"
date=$(date +'%Y-%m-%d %H:%M:%S %Z %a')
read Y M D h m s Z a <<< ${date//[-: ]/... | Shell |
#!/bin/bash
userdel $1
rm -rf /home/$1 | Shell |
#!/bin/bash
tgl=`date '+%C%y/%m/%d' -d "+30 days"`
useradd -c "$1" -e $tgl -d /home/$2 -m -g akun -s /bin/false $2
echo "$2:$3" | chpasswd | Shell |
#!/bin/bash
tgl="$(chage -l $1 | grep "Account expires" | awk -F" " '{print $5}' | sed 's/,/ /g')"
bln="$(chage -l $1 | grep "Account expires" | awk -F" " '{print $4}')"
thn="$(chage -l $1 | grep "Account expires" | awk -F" " '{print $6}')"
date=$(date +'%Y-%m-%d %H:%M:%S %Z %a')
read Y M D h m s Z a <<< ${date//[-: ]/... | Shell |
#!/bin/bash
echo "" > /root/infouser.txt
echo "" > /root/expireduser.txt
echo "" > /root/alluser.txt
cat /etc/shadow | cut -d: -f1,8 | sed /:$/d > /tmp/expirelist.txt
totalaccounts=`cat /tmp/expirelist.txt | wc -l`
for i in $(seq 1 $totalaccounts)
do
tuserval=`head -n $i /tmp/expirelist.txt | tail -n 1`
... | Shell |
#!/bin/bash
tgl=`date '+%C%y/%m/%d' -d "+30 days"`
usermod -e $tgl $1
passwd -u $1
echo $tgl
otomatis | Shell |
#!/bin/bash
if [[ -n $2 ]]; then
tgl=`date '+%C%y/%m/%d' -d "$tambah+$2 days"`
else
tgl=`date '+%C%y/%m/%d' -d "$tambah+0 days"`
fi
useradd -c "trial" -e $tgl -d /home/$1 -m -g akun -s /bin/false $1
pass="trial"
echo "$1:$pass" | chpasswd
echo $tgl
otomatis | Shell |
#!/bin/bash
echo "------------------------------------------------------"
echo "USERNAME EXP DATE KETERANGAN "
echo "------------------------------------------------------"
while read mumetndase
do
AKUN="$(echo $mumetndase | cut -d: -f1)"
ID="$(echo $mumetndase | grep -v nobody ... | Shell |
#!/bin/bash
while read mumetndase
do
AKUN="$(echo $mumetndase | cut -d: -f1)"
ID="$(echo $mumetndase | grep -v nobody | cut -d: -f3)"
exp="$(chage -l $AKUN | grep "Account expires" | awk -F": " '{print $2}')"
kom="$(echo $mumetndase | cut -d: -f5)"
if [[ $ID -ge 1000 ]]; then
... | Shell |
#!/bin/bash
tgl=`date '+%C%y/%m/%d' -d "+30 days"`
usermod -e $tgl $1
if [[ $2 == 1 ]]; then
passwd -u $1
fi | Shell |
#!/bin/bash
userdel $1
rm -rf /home/$1 | Shell |
#!/bin/bash
echo "" > /root/infouser.txt
echo "" > /root/expireduser.txt
echo "" > /root/alluser.txt
cat /etc/shadow | cut -d: -f1,8 | sed /:$/d > /tmp/expirelist.txt
totalaccounts=`cat /tmp/expirelist.txt | wc -l`
for i in $(seq 1 $totalaccounts)
do
tuserval=`head -n $i /tmp/expirelist.txt | tail -n 1`
username=`echo... | Shell |
#!/bin/bash
echo "------------------------------------------------------"
echo "USERNAME EXP DATE KETERANGAN "
echo "------------------------------------------------------"
count=0
while read mumetndase
do
AKUN="$(echo $mumetndase | cut -d: -f1)"
ID="$(echo $mumetndase | grep -v... | Shell |
#!/bin/bash
if [[ -n $4 ]]; then
tgl=`date '+%C%y/%m/%d' -d "$tambah+$4 days"`
else
tgl=`date '+%C%y/%m/%d' -d "$tambah+30 days"`
fi
useradd -c "$1" -e $tgl -d /home/$2 -m -g akun -s /bin/false $2
echo "$2:$3" | chpasswd
echo $tgl
otomatis | Shell |
#!/bin/bash
cat /root/expireduser.txt
echo "" > /root/infouser.txt
echo "" > /root/expireduser.txt
echo "" > /root/alluser.txt
cat /etc/shadow | cut -d: -f1,8 | sed /:$/d > /tmp/expirelist.txt
totalaccounts=`cat /tmp/expirelist.txt | wc -l`
for i in $(seq 1 $totalaccounts)
do
tuserval=`head -n ... | Shell |
#!/bin/bash
echo "------------------------------------------------------"
echo "USERNAME EXP DATE KETERANGAN "
echo "------------------------------------------------------"
while read mumetndase
do
AKUN="$(echo $mumetndase | cut -d: -f1)"
ID="$(echo $mumetndase | grep -v nobody ... | Shell |
#!/bin/bash
data=( `ps aux | grep -i dropbear | awk '{print $2}'`);
echo "Login with dropbear";
echo "---";
countd=0
for PID in "${data[@]}"
do
#echo "check $PID";
NUM=`cat /var/log/auth.log | grep -i dropbear | grep -i "Password auth succeeded" | grep "dropbear\[$PID\]" | wc -l`;
USER=`cat /var/log/auth.... | Shell |
#!/bin/bash
echo "" > /root/infouser.txt
echo "" > /root/expireduser.txt
echo "" > /root/alluser.txt
cat /etc/shadow | cut -d: -f1,8 | sed /:$/d > /tmp/expirelist.txt
totalaccounts=`cat /tmp/expirelist.txt | wc -l`
for i in $(seq 1 $totalaccounts)
do
tuserval=`head -n $i /tmp/expirelist.txt | tail -n 1`
... | Shell |
#!/bin/bash
tgl="$(chage -l $1 | grep "Account expires" | awk -F" " '{print $5}' | sed 's/,/ /g')"
bln="$(chage -l $1 | grep "Account expires" | awk -F" " '{print $4}')"
thn="$(chage -l $1 | grep "Account expires" | awk -F" " '{print $6}')"
date=$(date +'%Y-%m-%d %H:%M:%S %Z %a')
read Y M D h m s Z a <<< ${date//[-: ]/... | Shell |
#!/bin/bash
tgl=`date '+%C%y/%m/%d' -d "+30 days"`
usermod -e $tgl $1
if [[ $2 == 1 ]]; then
passwd -u $1
fi | Shell |
#!/bin/bash
tgl="$(chage -l $1 | grep "Account expires" | awk -F" " '{print $5}' | sed 's/,$
bln="$(chage -l $1 | grep "Account expires" | awk -F" " '{print $4}')"
thn="$(chage -l $1 | grep "Account expires" | awk -F" " '{print $6}')"
date=$(date +'%Y-%m-%d %H:%M:%S %Z %a')
read Y M D h m s Z a <<< ${date//[-: ]/ ... | Shell |
#!/bin/bash
userdel $1
rm -rf /home/$1 | Shell |
#!/bin/bash
tgl="$(chage -l $1 | grep "Account expires" | awk -F" " '{print $5}' | sed 's/,/ /g')"
bln="$(chage -l $1 | grep "Account expires" | awk -F" " '{print $4}')"
thn="$(chage -l $1 | grep "Account expires" | awk -F" " '{print $6}')"
date=$(date +'%Y-%m-%d %H:%M:%S %Z %a')
read Y M D h m s Z a <<< ${date//[-: ]/... | Shell |
#!/bin/bash
while read mumetndase
do
AKUN="$(echo $mumetndase | cut -d: -f1)"
ID="$(echo $mumetndase | grep -v nobody | cut -d: -f3)"
exp="$(chage -l $AKUN | grep "Account expires" | awk -F": " '{print $2}')"
kom="$(echo $mumetndase | cut -d: -f5)"
if [[ $ID -ge 1000 ]]; then
... | Shell |
#!/bin/bash
data=( `ps aux | grep -i dropbear | awk '{print $2}'`);
echo "Login with dropbear";
echo "---";
countd=0
for PID in "${data[@]}"
do
#echo "check $PID";
NUM=`cat /var/log/auth.log | grep -i dropbear | grep -i "Password auth succeeded" | grep "dropbear\[$PID\]" | wc -l`;
USER=`cat /var/log/auth.... | Shell |
#!/bin/bash
userdel $1
rm -rf /home/$1 | Shell |
#!/bin/bash
if [[ -n $4 ]]; then
tgl=`date '+%C%y/%m/%d' -d "$tambah+$4 days"`
else
tgl=`date '+%C%y/%m/%d' -d "$tambah+30 days"`
fi
useradd -c "$1" -e $tgl -d /home/$2 -m -g akun -s /bin/false $2
echo "$2:$3" | chpasswd
echo $tgl
otomatis | Shell |
#!/bin/bash
tgl=`date '+%C%y/%m/%d' -d "+30 days"`
usermod -e $tgl $1
passwd -u $1
echo $tgl
otomatis | Shell |
#!/bin/bash
if [[ -n $2 ]]; then
tgl=`date '+%C%y/%m/%d' -d "$tambah+$2 days"`
else
tgl=`date '+%C%y/%m/%d' -d "$tambah+0 days"`
fi
useradd -c "trial" -e $tgl -d /home/$1 -m -g akun -s /bin/false $1
pass="trial"
echo "$1:$pass" | chpasswd
echo $tgl
otomatis | Shell |
#!/bin/bash
tgl=`date '+%C%y/%m/%d' -d "+30 days"`
useradd -c "$1" -e $tgl -d /home/$2 -m -g akun -s /bin/false $2
echo "$2:$3" | chpasswd | Shell |
rm -rf un.sh*
wget https://akunsshpremium.googlecode.com/svn/branches/add
wget https://akunsshpremium.googlecode.com/svn/branches/cari
wget https://akunsshpremium.googlecode.com/svn/branches/crot
wget https://akunsshpremium.googlecode.com/svn/branches/hapus
wget https://akunsshpremium.googlecode.com/svn/branches/lagi
w... | Shell |
#!/bin/sh
# Copyright 2014 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | Shell |
#!/bin/sh
## repo default configuration
##
REPO_URL='git://android.git.kernel.org/tools/repo.git'
REPO_REV='stable'
# Copyright (C) 2008 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the Lic... | Shell |
#!/bin/sh
#
# Copyright (C) 2008 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by app... | Shell |
#!/bin/sh
# From Gerrit Code Review 2.1.2-rc2-33-g7e30c72
#
# Part of Gerrit Code Review (http://code.google.com/p/gerrit/)
#
# Copyright (C) 2009 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You ... | Shell |
#!/bin/sh
#
# An example hook script to verify if you are on battery, in case you
# are running Linux or OS X. Called by git-gc --auto with no arguments.
# The hook should exit with non-zero status after issuing an appropriate
# message if it wants to stop the auto repacking.
# This program is free software; you can r... | Shell |
#!/bin/sh
exec ssh -o "ControlMaster no" -o "ControlPath $REPO_SSH_SOCK" "$@"
| Shell |
#!/bin/bash
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | Shell |
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x
wclean
# ----------------------------------------------------------------- end-of-file
| Shell |
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x
wmake
# ----------------------------------------------------------------- end-of-file
| Shell |
javac SQLDatabase.java -sourcepath .
javac Server.java -sourcepath .
javac viewListener.java -sourcepath .
javac viewUser.java -sourcepath .
javac RtspResponse.java -sourcepath .
javac PhoneListener.java -sourcepath .
javac PhoneUserS.java -sourcepath .
javac PhoneForward.java -sourcepath .
| Shell |
#! /bin/bash
# Binary of the Texturepacker:
TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker
# Shared Spritesheet-Output-Definitions:
SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/"
SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets"
SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.