Skip to content

Instantly share code, notes, and snippets.

🦅
Fight for freedom

Jorge Izquierdo izqui

🦅
Fight for freedom
View GitHub Profile
View library1.sol
library C {
function a() returns (address) {
return address(this);
}
}
contract A {
function a() constant returns (address) {
return C.a();
}
View StandardToken.sol
import './ERC20Lib.sol';
contract StandardToken {
using ERC20Lib for ERC20Lib.TokenStorage;
ERC20Lib.TokenStorage token;
string public name = "SimpleToken";
string public symbol = "SIM";
uint public decimals = 18;
View keybase.md

Keybase proof

I hereby claim:

  • I am izqui on github.
  • I am ji (https://keybase.io/ji) on keybase.
  • I have a public key ASBEBu7bnegoUDr78WZspLu7GP7KiwQUeYFnuP7zjc6fBwo

To claim this, I am signing this object:

View xss.js
alert("Hi, this is a little vulnerability :(")
@izqui
izqui / Fiware Resources
Last active Dec 22, 2015
Fiware Resources
View Fiware Resources
Resources:
http://www.fi-ware.eu/campus-party-europedeveloping-your-first-application-workshop/
https://gist.github.com/fgalan/6422169
https://www.dropbox.com/sh/iszgi1507jqimok/3ij6bOLD7U
https://www.dropbox.com/sh/56x5caysr08zfpx/GY0sRQWzqz
http://github.com/wirecloud/wirecloud
View gist:62f11cb52e63f9818e93
func mapParallel <A, B> (values: [A], task: ( (A, (B) -> () ) -> () ), callback:([B]) -> ()) {
let tasks: [((B) -> ()) -> ()] = values.map({
v in
return {
cb in
task(v, cb)
}
})
@izqui
izqui / godeploy
Created May 12, 2014
Deploy Go binaries to Raspberry Pi
View godeploy
#!/bin/sh
if [ $# -eq 0 ]
then
echo "$0 : You must provide destination host IP"
exit 1
fi
GOARCH=arm GOOS=linux go build
RET=$?
View gist:9855048
### Keybase proof
I hereby claim:
* I am izqui on github.
* I am ji (https://keybase.io/ji) on keybase.
* I have a public key whose fingerprint is 3139 7DDA D441 F0F9 EC87 539A 5EC6 4A8A 1B7C 6FD6
To claim this, I am signing this object:
You can’t perform that action at this time.