Skip to content

Instantly share code, notes, and snippets.

View isghe's full-sized avatar
💭
debug scientifico :-p

isidoro ghezzi isghe

💭
debug scientifico :-p
  • Lissone MB - Italy
View GitHub Profile
@isghe
isghe / plink-plonk.js
Created July 18, 2021 12:33 — forked from tomhicks/plink-plonk.js
Listen to your web pages
[{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"proposals","outputs":[{"name":"recipient","type":"address"},{"name":"amount","type":"uint256"},{"name":"description","type":"string"},{"name":"votingDeadline","type":"uint256"},{"name":"open","type":"bool"},{"name":"proposalPassed","type":"bool"},{"name":"proposalHash","type":"bytes32"},{"name":"proposalDeposit","type":"uint256"},{"name":"newCurator","type":"bool"},{"name":"yea","type":"uint256"},{"name":"nay","type":"uint256"},{"name":"creator","type":"address"}],"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_amount","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"type":"function"},{"constant":true,"inputs":[],"name":"minTokensToCreate","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":true,"inputs":[],"name":"rewardAccount","outputs":[{"name":"","type":"address"}],"type":"function"},{"constant":true,"inputs":[],"name":"daoCreator","outputs":
@isghe
isghe / gist:b3fb3db6a10ceeda9b4c
Created November 30, 2015 21:39 — forked from snikch/gist:3661188
Find the current top view controller for your iOS application
- (UIViewController *)topViewController{
return [self topViewController:[UIApplication sharedApplication].keyWindow.rootViewController];
}
- (UIViewController *)topViewController:(UIViewController *)rootViewController
{
if (rootViewController.presentedViewController == nil) {
return rootViewController;
}
@isghe
isghe / gist:baca450dcc822c135e5f
Last active August 29, 2015 14:05 — forked from liamcurry/gist:2597326
Vanilla: Moving from jQuery

Moving from jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})
@isghe
isghe / .gitignore
Created April 23, 2014 16:48 — forked from mmorey/.gitignore
#########################
# .gitignore file for Xcode5
#
# NB: if you are storing "built" products, this WILL NOT WORK,
# and you should use a different .gitignore (or none at all)
# This file is for SOURCE projects, where there are many extra
# files that we want to exclude
#
# For updates, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects
# and https://gist.github.com/adamgit/3786883