Skip to content

Instantly share code, notes, and snippets.

View jdorfman's full-sized avatar

Justin Dorfman jdorfman

View GitHub Profile
for i in `cat urls`; do curl "$i" --silent --write-out 'size_download=%{size_download}\n' --output /dev/null; done
@jdorfman
jdorfman / the-markers.md
Last active June 11, 2020 16:59
The markers that show that the future of Open Source might not be as good as it is today.

Meta

  • Title: What is an Open Source sustainer?
  • Tags:
  • Domain: gratipay.news
  • License: CC by 4.0

Intro

  • Many problems in Open Source community
  • Lack of talented and motivated software engineers isn't it (anymore)
  • Not all projects have the same advantages as others
https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
$ wc -c ajax.googleapis.com maxcdn.bootstrapcdn.com
     518 ajax.googleapis.com
     396 maxcdn.bootstrapcdn.com

Customer:

Are you aware that Fortinet identifies your script as malware/virus? I’m trying to get them to remove the falsepositive but it’s taking forever and I’m getting bombarded with alerts from my firewall:

Message meets Alert condition

Virus/Worm detected: JS/Nemucod.280A!tr Protocol: HTTP Source IP: 10.50.30.71 Destination IP: 108.161.188.218 Email Address From: Email Address To: http://www.fortinet.com/ve?vn=JS%2FNemucod.280A%21tr
date=2016-07-22 time=14:10:23 devname=MTL-VG-FW1 devid=FGT5HD3914801928 logid=0211008192 type=utm subtype=virus eventtype=infected level=warning vd="root" msg="File is infected." action=blocked service=HTTP sessionid=430261293 srcip=10.50.30.71 dstip=108.161.188.218 srcport=50183 dstport=80 srcintf="port10" dstintf="port11" policyid=1 proto=6 direction=incoming filename="bootstrap.min.js" quarskip=No-skip virus="JS/Nemucod.280A!tr" dtype="Virus" ref="http://www.fortinet.com/ve?vn=JS%2FNemucod.280A%21tr" virusid=7076988 url="http://maxcdn.bootstrapcdn.com/bootstrap

Activity Stream API Message Examples

Users

  • user@example.com logged in from 192.168.1.127
  • User Updated [user_id: 41538]
  • User Deleted [user_id: 50037]
  • User Key Created [user_id: 50025]
  • User Key Updated [user_id: 50025]
  • A new IP, 192.168.0.128, has logged in for the first time.
  • Password reset requested by user@example.com from 192.168.0.129