Skip to content

Instantly share code, notes, and snippets.

View sn0opy's full-sized avatar

Sascha Ohms sn0opy

View GitHub Profile
@sn0opy
sn0opy / ingress_export.js
Last active December 21, 2018 16:41
Modified script to properly work with the intel.ingress.com domain
// ==UserScript==
// @id iitc-plugin-ingressportalcsvexport@zetaphor
// @name IITC Plugin: Ingress Portal CSV Export
// @category Information
// @version 0.0.2
// @namespace http://github.com/Zetaphor/IITC-Ingress-Portal-CSV-Export
// @updateURL http://github.com/Zetaphor/IITC-Ingress-Portal-CSV-Export/raw/master/ingress_export.js
// @downloadURL http://github.com/Zetaphor/IITC-Ingress-Portal-CSV-Export/raw/master/ingress_export.js
// @description Exports portals to a CSV list
// @include https://intel.ingress.com/intel*
@sn0opy
sn0opy / fittingcalc.php
Last active November 26, 2017 11:52
Class to parse EFT fitting
<?php
class Fittingcalc
{
// don't touch this, or you will lose your hands
// see dgmAttributeTypes to know what they are
const REQ_SKILLS_ATTRIBUTES = [182, 183, 184, 1285, 1289, 1290];
const REQ_SKILLS_LEVELS = [277, 278, 279, 1286, 1287, 1288];
@sn0opy
sn0opy / s.theme
Last active July 1, 2022 14:21
Weechat Theme
#
# -- WeeChat theme --
# $name: _backup.theme
# $date: 2016-10-20
# $weechat: 1.6
# $script: theme.py 0.1-dev
#
aspell.color.misspelled = "lightred"
aspell.color.suggestions = "default"
irc.color.input_nick = "lightcyan"
@sn0opy
sn0opy / gist:79c80cdaad9767b14393
Created July 1, 2014 08:25
EVE: Find Level 4 Security agents in low sec (dirty)
SELECT
mapSolarSystems.security, solarSystemName
FROM
mapSolarSystems, agtAgents, staStations
WHERE
divisionID = 24
AND staStations.stationID = agtAgents.locationID
AND staStations.solarSystemID = mapSolarSystems.solarSystemID
AND agtAgents.level = 4
AND agtAgents.agentTypeID = 2
@sn0opy
sn0opy / php.ini
Created April 7, 2014 22:20
hhvm 3.x php.ini
hhvm.server.type = fastcgi
hhvm.server.file_socket = /run/shm/hhvm.sock
hhvm.server.apc.enable_apc = true
hhvm.server.apc.table_type = concurrent
hhvm.server.apc.expire_on_sets = true
hhvm.server.apc.purge_frequency = 4096
hhvm.eval.jit = true
hhvm.eval.jit_warmup_requests = 50

Keybase proof

I hereby claim:

  • I am sn0opy on github.
  • I am sascha (https://keybase.io/sascha) on keybase.
  • I have a public key whose fingerprint is 3086 A73B A8B1 F930 A231 1505 CC96 2DD6 CF9E 5226

To claim this, I am signing this object: