This file contains hidden or 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
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':util:compileTestJava'. | |
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:142) | |
at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:282) | |
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:140) | |
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:128) | |
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:77) | |
at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46) | |
at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51) | |
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsEx |
This file contains hidden or 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
/* | |
PoC WhatsApp enumeration of phonenumbers, profile pics, about texts and online statuses | |
Floated div edition | |
01-05-2017 | |
(c) 2017 - Loran Kloeze - [email protected] | |
This script creates a UI on top of the WhatsApp Web interface. It enumerates certain kinds | |
of information from a range of phonenumbers. It doesn't matter if these numbers are part | |
of your contact list. At the end a table is displayed containing phonenumbers, profile pics, | |
about texts and online statuses. The online statuses are being updated every |
This file contains hidden or 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
input_array = [1,2,3,4,3,2,1] | |
i = 0 | |
for val in input_array: | |
i = i ^ val | |
print(i) |
This file contains hidden or 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
struct ConsoleModesExtractor: ModesExtractor { | |
typealias ResultType = UInt8 | |
func extractModeCodes(string: String) -> (codes: [UInt8], text: String) { | |
let token = ControlCode.CSI | |
var index = string.startIndex.advancedBy(token.characters.count) | |
var codesString = "" | |
while string.characters[index] != "m" { | |
codesString.append(string.characters[index]) | |
index = index.successor() | |
} |
This file contains hidden or 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
var mongoose = require('mongoose'); | |
var uniqueValidator = require('mongoose-unique-validator'); | |
var Schema = mongoose.Schema; | |
var LocationSchema = new mongoose.Schema({ | |
name: { | |
type: String, | |
required: true, | |
unique: true | |
}, |
This file contains hidden or 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
extends ../layout | |
block content | |
h1. | |
#{title} | |
form#formAddRenta(name="addrenta",method="post",action="/api/rentas") | |
p Cancha: | |
select#cancha_id(name="cancha_id") | |
for item in canchas | |
option(value='#{item.cancha_id}', selected=item.cancha_id name="cancha_id") #{item.name} |
This file contains hidden or 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
app.get("/api?", function(req, res) { | |
var url_parts = url.parse(req.url, true); | |
var query = url_parts.query; | |
if (query.lon === "" || query.lat === "" || query.lon === null) { | |
res.sendStatus(404); | |
} | |
queryStuff = JSON.stringify(req.query); | |
console.log(req.query.lon); | |
res.end(queryStuff); |
This file contains hidden or 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
// | |
// ProgressStyleKit.swift | |
// ProgressBar | |
// | |
// Created by Fred on 14/Nov/15. | |
// Copyright (c) 2015 Outloud. All rights reserved. | |
// | |
// Generated by PaintCode (www.paintcodeapp.com) | |
// |