tree /etc/cron.d
and on ubuntu, by default there are nthousand cron and youDontKnowWhat they are executing
| // purchase a product with a credit card | |
| purchase('productId') | |
| .using( { | |
| cc: "4556934156210213", | |
| valid: "2016-10", | |
| csc: "123" | |
| } ) | |
| // purchase a product with paypal | |
| purchase('productId') |
| require 'descriptive_statistics' | |
| Dir.glob("before/*") do |path| | |
| lines = File.readlines(path) | |
| lines = lines.map do |line| | |
| m = line.match(/took (\d+\.\d+). Status:/) | |
| m && m[1].to_f | |
| end |
| from urlparse import urlparse | |
| import json, requests | |
| from bs4 import BeautifulSoup # sudo pip install beautifulsoup4 | |
| import codecs | |
| def parse_page(last_note_ts, pos_max): | |
| refresh_cursor = "&refresh_cursor=TWEET-463466102396583936-463468070993137664-BD1UO2FFu9QAAAAAAAAETAAAAAcAAAASAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | |
| # https://twitter.com/i/search/timeline?q=#bitcoin since:2014-05-05 until:2014-05-06&src=savs&vertical=default&composed_count=0&include_available_features=1&include_entities=1&include_new_items_bar=true&interval=30000&last_note_ts=1434594375&latent_count=0&refresh_cursor=TWEET-463466102396583936-463468070993137664-BD1UO2FFu9QAAAAAAAAETAAAAAcAAAASAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |
| # task :default => [:hello] | |
| task :default => [:setup_and_run] | |
| # task :hello do | |
| # puts "hello world" | |
| # end | |
| class Bundle |
| <?php | |
| include 'config.php'; | |
| include 'check_balance.php'; | |
| // this file is called by the ajax request | |
| $balance = check_balance($address); | |
| $current_balance = floatval($_GET['currentBalance']); |
| /*jslint node:true, vars:true, bitwise:true, unparam:true */ | |
| /*jshint unused:false */ | |
| /*global */ | |
| var mraa = require('mraa'); //require mraa | |
| var request = require('request'); | |
| var _ = require('underscore') | |
| var addr2watch = '1LJ4rddYGzT8GqwQioMNw3cYQJdwjM3Drs' // bitcoin address to watch | |
| var assetName = 'PROG' |
| apt-get update && apt-get upgrade -y && apt-get install -y openvpn easy-rsa && mkdir /etc/openvpn/easy-rsa/ && cp /usr/share/easy-rsa/* /etc/openvpn/easy-rsa/ && cd /etc/openvpn/easy-rsa/ && source vars && ./clean-all && ./build-dh && ./pkitool --initca && ./pkitool --server server && cd keys && openvpn --genkey --secret ta.key && sudo cp server.crt server.key ca.crt dh2048.pem ta.key /etc/openvpn/ |
| // var event = new CustomEvent('nome',{ | |
| // 'detail': { | |
| // 'flange': 2, | |
| // 'foo': 1 | |
| // } | |
| //}) | |
| setInterval(function() { // loop | |
| var rand = parseInt(Math.random() * 1000) | |
| var event = new CustomEvent('flanged', { |