Skip to content

Instantly share code, notes, and snippets.

View samuelloza's full-sized avatar
🏠
Working from home

Samuel Loza Ramirez samuelloza

🏠
Working from home
View GitHub Profile
@samuelloza
samuelloza / gist:657069610ddb2302784c68e05a399713
Created November 17, 2020 19:17
gradle cucumber-picocontaine
plugins {
id 'java'
id 'application'
}
repositories {
mavenCentral()
}
dependencies {
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'checkstyle'
apply plugin: 'jacoco'
mainClassName = 'Main'
repositories {
mavenCentral()
}
version: '3.1'
services:
wordpress:
image: wordpress
restart: always
ports:
- 8080:80
environment:
@samuelloza
samuelloza / main.go
Created June 30, 2020 15:58
Server go
package main
import (
"log"
"net/http"
)
func main() {
server := http.NewServeMux()
fs := http.FileServer(http.Dir("./views/"))
//Inyection
select * from usuarios
where username = 1
OR 1 = 1
UNION SELECT flag, username FROM usuarios
version: '3'
services:
db:
image: postgres:9.6
environment:
POSTGRES_PASSWORD: mysecretpassword
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
FROM circleci/ruby:2.6.3-stretch-node
USER root
RUN apt-get update -qq \
&& apt-get install -y --no-install-recommends \
build-essential \
libpq-dev \
nodejs \
wget \
//Suma dos numeros A+B
// go run SumaDosNumeros.go
package main
import "fmt"
func main() {
var i int
fmt.Scan(&i)
//Hola Mundo en Go
package main
import "fmt"
func main() {
fmt.Printf("Hola mundo! \n")
}
Serial Keys:
YV54A-2ZW5P-M887Y-UWXNE-QPUXD
VY3R2-0NW0L-H845Q-TDMXT-XQAT0
VC7JR-A0Z97-08EGZ-M4YNV-XVHD0
FC1TU-4RGEQ-084EP-2XQQX-ZGHWA
CU1WA-8HGEN-M815Z-HQP5E-QKADF
AY7D0-FTG44-H846Y-2XPGV-P32T8