start new:
tmux
start new with session name:
tmux new -s myname
#!/bin/bash | |
test() | |
{ | |
echo "$1" | |
echo "$2" | |
if [ "$1" == "abc" ]; then | |
return 1 | |
else |
#include <stdio.h> | |
#include <stdlib.h> | |
static char *message; | |
void cleanup(void) | |
{ | |
printf("message = \"%s\"\n", message); | |
} |
# INSTALL INSTRUCTIONS: save as ~/.gdbinit | |
# | |
# DESCRIPTION: A user-friendly gdb configuration file. | |
# | |
# REVISION : 7.3 (16/04/2010) | |
# | |
# CONTRIBUTORS: mammon_, elaine, pusillus, mong, zhang le, l0kit, | |
# truthix the cyberpunk, fG!, gln | |
# | |
# FEEDBACK: https://www.reverse-engineering.net |
#!/usr/bin/sh | |
func(){ | |
awk -v VAR1=$3 -v VAR2=$4 ' | |
BEGIN{ | |
} | |
{ | |
print VAR1 VAR2 | |
#!/usr/bin/sh | |
DATA=`date +'%d%m%Y'` | |
TABELA=TABELA_ABC | |
CAMPO=DATA_CRIACAO | |
TEMPO=30 | |
DB_USER=db_user | |
DB_PASSWORD=db_user_password | |
DB_INSTANCE=connection_instance |
/* | |
gcc -o loopFgets loopFgets.c -g -std=c11 -Wall -Wextra -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-unused-result -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -D_POSIX_SOURCE=1 -D_DEFAULT_SOURCE=1 -D_GNU_SOURCE=1 | |
*/ | |
#include <stdio.h> | |
#include <string.h> | |
#include <errno.h> | |
#define MAX_BUFF (10000) |
/* | |
* 1 - is | |
* 0 - is not | |
*/ | |
int a2gs_AddSubDate_isLeapYear(int year) | |
{ | |
if(year % 4 == 0){ | |
if(year % 100 == 0){ | |
if(year % 400 == 0) | |
return(1); |
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <netdb.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <arpa/inet.h> | |
#define ADDSZ (50) |
#include <stdio.h> | |
#include <limits.h> | |
#include <unistd.h> | |
void f1(void) | |
{ | |
sleep(2); | |
} | |
unsigned int f2(unsigned int x) |