Skip to content

Instantly share code, notes, and snippets.

View rpappalax's full-sized avatar

Richard Pappalardo rpappalax

  • Mozilla
  • Valencia, Spain
View GitHub Profile
> Task :app:compileAarch64DebugKotlin
Compilation with Kotlin compile daemon was not successful
java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
java.io.EOFException
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:236)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:161)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)
at com.sun.proxy.$Proxy112.compile(Unknown Source)
at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.incrementalCompilationWithDaemon(GradleKotlinCompilerWork.kt:284)
[alias]
st = status
ci = commit
cl = clone
br = branch
co = checkout
df = diff
dc = diff --cached
who = shortlog -s --
@rpappalax
rpappalax / output.log
Created March 21, 2018 22:25
broken-test
**** Molotov v1.5. Happy breaking! ****
Preparing 1 worker...
OK
AttributeError("'coroutine' object has no attribute 'request'",)
File "/usr/local/lib/python3.6/site-packages/molotov/worker.py", line 180, in step
**scenario['kw'])
File "loadtest.py", line 88, in load_page_tree_view
async with session.get(_url) as resp:
File "/usr/local/lib/python3.6/site-packages/aiohttp/client.py", line 783, in __aenter__
self._resp = await self._coro
"""
=======================================
OBJECTIVES
=======================================
[1]. MIMICRY: client <---> 3rd party <---> Push service
[2]. SPOOFING: client <---> 3rd party <---> Push service
[3]. END RESULT: SUCCESSFUL BRUTE-FORCE ATTACK
+-------------+---------+
| | |
A (new node) +-----> | +------------+
| | | | |
| +-------------+---------+ | [1]. A->next = L+>next->next;
| |
| |
| [2]. L->next = A; |
| |
| |
@rpappalax
rpappalax / list_ins_next_statements.c
Last active August 15, 2016 06:13
algorithms: list_ins_next statement outline
/*********************************************
* EXAMPLE
*********************************************
Below is an outline of steps for inserting a node into a singly
linked list using method statements.
*/
/* linked-list element structure */
typedef struct ListElmt_ {
@rpappalax
rpappalax / list.c
Created August 15, 2016 03:51
algorithms: singly-linked list - Example 01
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/* linked-list element structure */
typedef struct ListElmt_ {
void *data;
struct ListElmt_ *next;
project_name: push-unhappy-no-sentry
project_root: ~/git/ap-loadtester
windows:
- push_unhappy:
layout: a006,191x55,0,0{95x55,0,0,20,95x55,96,0,22}
panes:
- source apenv/bin/activate; aplt_testplan wss://autopush.stage.mozaws.net/ "aplt.scenarios:notification_forever_unsubscribed,20,1,0"
- source apenv/bin/activate; aplt_testplan wss://autopush.stage.mozaws.net/ "aplt.scenarios:notification_forever_bad_endpoints,20,1,0"
# ~/.tmuxinator/daily.yml
project_name: push-happy
project_root: ~/git/ap-loadtester
windows:
- push_happy:
layout: 376c,210x53,0,0[210x26,0,0{105x26,0,0,12,104x26,106,0,15},210x26,0,27{105x26,0,27,14,104x26,106,27,16}]
panes:
typedef struct _node{
struct _node* next;
int data;
} NODE;
NODE *list_reverse_LONG_VERSION(NODE *head) {
// create local (temp) nodes to cache node pointers
NODE *prev = NULL;
NODE *current = head;