Skip to content

Instantly share code, notes, and snippets.

View FredLoh's full-sized avatar
🎯
Get after it

Frederik Löhner FredLoh

🎯
Get after it
View GitHub Profile
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
@FredLoh
FredLoh / whatsapp_phone_enumerator_floated_div.js
Created May 12, 2017 14:47
PoC WhatsApp enumeration of phonenumbers, profile pics, about texts and online statuses (floated div)
/*
PoC WhatsApp enumeration of phonenumbers, profile pics, about texts and online statuses
Floated div edition
01-05-2017
(c) 2017 - Loran Kloeze - loran@ralon.nl
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
input_array = [1,2,3,4,3,2,1]
i = 0
for val in input_array:
i = i ^ val
print(i)
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()
}
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
},
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}
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);
//
// ProgressStyleKit.swift
// ProgressBar
//
// Created by Fred on 14/Nov/15.
// Copyright (c) 2015 Outloud. All rights reserved.
//
// Generated by PaintCode (www.paintcodeapp.com)
//