Skip to content

Instantly share code, notes, and snippets.

View cirosantilli's full-sized avatar
🇹🇼
2018包子露宪,2015 710律师劫,2015巴拿马文件 邓家贵,2017低端人口,2008西藏骚

Ciro Santilli (三西猴) OurBigBook.com sponsor me: cirosantilli.com/sponsor, opinions my own 2020冠状病毒审查 ,2020郝海东 ,2018新疆改造中心,1989六四事件,1999法轮功 ,2019 996.ICU, 2018包子露宪,2015 709大抓捕,2015巴拿马文件 邓家贵,2017低端人口,2008西藏骚乱<script>alert(1)</script> cirosantilli

🇹🇼
2018包子露宪,2015 710律师劫,2015巴拿马文件 邓家贵,2017低端人口,2008西藏骚
View GitHub Profile
@cirosantilli
cirosantilli / testpage
Created December 8, 2014 11:31
mondrian embedded errors
JPivot had an error ...
org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z
org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z
at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:549)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:455)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
@cirosantilli
cirosantilli / test-min-sane.sh
Created December 13, 2014 18:03
test-min-sane
git init
touch a
git add .
date='2000-01-01T00:00:00+0000'
GIT_COMMITTER_NAME='a' GIT_COMMITTER_EMAIL='a' GIT_COMMITTER_DATE="$date" \
git commit -m a --author 'a <a>' --date="$date"
import org.junit.Before;
import org.junit.Test;
import sun.misc.Unsafe;
import sun.reflect.ReflectionFactory;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import static org.junit.Assert.assertEquals;
@cirosantilli
cirosantilli / filesystem-maze.sh
Created March 6, 2015 07:18
Filesystem maze generator
#/usr/bin/evn bash
# Taken from: https://lthieu.wordpress.com/2012/10/22/filesystem-mazes-race-condition-attack-1/
depth=1000
chain=20
cur_dir=$(pwd)
base_link="$(for i in $(seq -s" " 1 $depth); do echo "d/"; done | tr -d '\r\n')"
#echo $base_link;
#include <stdio.h>
void find_deviation(int *v, int v_length, int d) {
int i;
int j;
int max_deviation = 0;
int value;
int min;
00000000 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 |.ELF............|
00000010 02 00 3e 00 01 00 00 00 b0 00 40 00 00 00 00 00 |..>.......@.....|
00000020 40 00 00 00 00 00 00 00 10 01 00 00 00 00 00 00 |@...............|
00000030 00 00 00 00 40 00 38 00 02 00 40 00 06 00 03 00 |[email protected]...@.....|
00000040 01 00 00 00 05 00 00 00 00 00 00 00 00 00 00 00 |................|
00000050 00 00 40 00 00 00 00 00 00 00 40 00 00 00 00 00 |..@.......@.....|
00000060 d7 00 00 00 00 00 00 00 d7 00 00 00 00 00 00 00 |................|
00000070 00 00 20 00 00 00 00 00 01 00 00 00 06 00 00 00 |.. .............|
00000080 d8 00 00 00 00 00 00 00 d8 00 60 00 00 00 00 00 |..........`.....|
00000090 d8 00 60 00 00 00 00 00 0d 00 00 00 00 00 00 00 |..`.............|
@cirosantilli
cirosantilli / cover.md
Created June 15, 2015 07:38
embecosm

Hello,

I have found you after Andrew Burgess replied to a simple message on the GDB ML. He had already implemented the feature I wanted, and that was so awesome I decided to check where he worked, and found the opening :-)

Background

I have graduated from some of the best engineering schools in Brazil and France: Ecole Polytechnique and University of Sao Paulo in applied mathematics, with a Masters Degree from Ecole Polytechnique.

I took a few computer science courses in college (including the mandatory make an interpreter project), but a large part of what I've learnt about computers was through books and passion projects.

@cirosantilli
cirosantilli / lenovo-t400
Last active September 10, 2015 18:02
dmidecode
Intel Management Engine BIOS Version 4.2.0
SMBIOS 2.4 present.
80 structures occupying 2858 bytes.
Table at 0x000E0010.
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: LENOVO
/*
* PCI tutorial
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of