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
[2011-04-23 00:06:49] /usr/bin/make | |
make: *** No targets specified and no makefile found. Stop. | |
[2011-04-23 00:15:30] /usr/bin/make | |
cd man && /usr/bin/make DESTDIR="" all | |
sh ./MKterminfo.sh ./terminfo.head ./../include/Caps ./terminfo.tail >terminfo.5 | |
cd include && /usr/bin/make DESTDIR="" all | |
cat curses.head >curses.h | |
AWK=awk sh ./MKkey_defs.sh ./Caps >>curses.h | |
sh -c 'if test "chtype" = "cchar_t" ; then cat ./curses.wide >>curses.h ; fi' | |
cat ./curses.tail >>curses.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
[2011-04-23 01:55:56] /usr/bin/make install | |
cp libz.a /Users/syntaxerrormmm/.rvm/usr/lib | |
cp /Users/syntaxerrormmm/.rvm/usr/lib | |
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file | |
cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directory | |
make: *** [install-libs] Error 64 |
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> | |
#define DIVISORE 10 | |
int main(int argc, char *argv[]) { | |
int numero, contatore, operando, totcifre, zeri; | |
do scanf("%d %d", &numero, &totcifre); | |
while (numero <= 0 || totcifre <= 0); | |
contatore = 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
#include <stdio.h> | |
int main(int argc, char *argv[]) { | |
int numeri[100]; | |
int i = 0; | |
int n = 0; | |
int contatore = 0; | |
int prec, succ; |
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 | |
name=doraemon | |
version=1.0.0 | |
tmpdir=/tmp/src_build/${name}-${version} | |
function srcbuild() { | |
cwd=$(pwd) | |
mkdir -p ${tmpdir} | |
cp -r initrd doraemon.py doraemon.ini doraemon.logrotate README.md LICENSE defaults/ ${tmpdir} |
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
<?php | |
namespace NethServer\Module\Dashboard\Applications; | |
/* | |
* Copyright (C) 2013 Nethesis S.r.l. | |
* | |
* This script is part of NethServer. | |
* | |
* NethServer 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 version 3 of the License, or |
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
<?php | |
namespace NethServer\Module\Dashboard\Applications; | |
/* | |
* Copyright (C) 2013 Nethesis S.r.l. | |
* | |
* This script is part of NethServer. | |
* | |
* NethServer 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 version 3 of the License, or |
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 | |
generate_random() { | |
RANDOM_NUMBER=`/usr/bin/perl -e 'print int(rand(60453));'` | |
} | |
gen_password() { | |
generate_random | |
randomWord1=`head -$RANDOM_NUMBER ./dizionario.txt | tail -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
<?php | |
# vim:sts=4:sw=4 | |
/* | |
* Feel free to improve it. | |
* Original by Janich: https://gist.github.com/janich/6121771 | |
* | |
* @requires PHP 5.3+ | |
* @package ExportMySQLUsers | |
* @author Zaid Daba'een | |
* @license http://www.dbad-license.org/ DBAD license |
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 | |
clientname=$1; shift | |
# Generate certificates | |
./easyrsa build-client-full ${clientname} nopass | |
# Generating all-in-one configuration | |
cat > configs/${clientname}.ovpn<<EOC | |
client |
OlderNewer