- Fetch and check out the branch for this merge request
git fetch origin
git checkout -b servtest origin/servtest
pragma solidity ^0.4.4; | |
contract Token { | |
/// @return total amount of tokens | |
function totalSupply() constant returns (uint256 supply) {} | |
/// @param _owner The address from which the balance will be retrieved | |
/// @return The balance | |
function balanceOf(address _owner) constant returns (uint256 balance) {} |
a.skip-main { | |
left:-999px; | |
position:absolute; | |
top:auto; | |
width:1px; | |
height:1px; | |
overflow:hidden; | |
z-index:-999; | |
} | |
a.skip-main:focus, a.skip-main:active { |
const KEYS = exports.KEYS = { | |
BACKSPACE: 8, | |
TAB: 9, | |
ENTER: 13, | |
SHIFT: 16, | |
CTRL: 17, | |
ALT: 18, | |
ESCAPE: 27, | |
SPACE: 32, | |
LEFT: 37, |
var gulp = require("gulp"); | |
var sass = require("gulp-sass"); | |
var filter = require('gulp-filter'); | |
var sourcemaps = require('gulp-sourcemaps'); | |
var browserSync = require("browser-sync"); | |
var reload = browserSync.reload; | |
var shell = require('gulp-shell'); | |
// sass task | |
gulp.task('sass', function () { |
html { | |
font-size: 14px; | |
} | |
/** | |
* PostCSS | |
* Use a custom PostCSS to convert #sp to rems by dividing the number by 14 and expressing it as #rem | |
*/ | |
body { |
# These are just the commands to run | |
# This isn't intended to run as a script | |
## Install php mysql and apache2 | |
sudo apt-get update && sudo apt-get -y install software-properties-common python-software-properties | |
sudo apt-add-repository -y ppa:ondrej/php && sudo apt-get update | |
sudo apt-add-repository -y ppa:git-core/ppa && sudo apt-get update | |
export DEBIAN_FRONTEND=noninteractive | |
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password password mysql_password' | |
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password mysql_password' |
// Originally found on | |
//https://appendto.com/2017/04/use-javascript-to-export-your-data-as-csv/ | |
function convertArrayOfObjectsToCSV(args) { | |
var result, ctr, keys, columnDelimiter, lineDelimiter, data; | |
data = args.data || null; | |
if (data == null || !data.length) { | |
return null; | |
} |
fetch(document.location.href) | |
.then(resp => { | |
const csp = resp.headers.get('Content-Security-Policy'); | |
// does this exist? Is is any good? | |
}); |
var rssUrl = "http://www.exploit-db.com/rss.xml"; | |
function parseRSS(url, callback) { | |
$.ajax({ | |
url: document.location.protocol + '//ajax.googleapis.com/ajax/services/feed/load?v=1.0&num=10&callback=?&q=' + encodeURIComponent(url), | |
dataType: 'json', | |
success: function(data) { | |
callback(data.responseData.feed.entries); | |
} | |
}); | |
} |