Skip to content

Instantly share code, notes, and snippets.

View smithrobs's full-sized avatar

Rob Smith smithrobs

  • Philadelphia, PA
View GitHub Profile
@smithrobs
smithrobs / fbalbumsipper.js
Created August 4, 2017 18:42
facebook album sipper
var https = require('https')
,querystring = require('querystring')
,config = require('./config')
,client = require('scp2')
,fs = require('fs');
var access_token;
var getImageLinks = (photoIds) => {
https.get('https://graph.facebook.com/' + photoIds[0] + '?fields=width,height,images&access_token=' + access_token, (res) => {
@smithrobs
smithrobs / gist:1950aef64ea3d8fd1ce7
Last active August 29, 2015 14:22
Paul Snyder's Eldritch Tips

Paul Snyder's Eldritch (http://store.steampowered.com/app/252630/) Tips:

  1. Don't loot bodies until you're better at the game (looted enemies respawn).
  2. Best weapon combo is dagger and revolver (save bullets for flyers, annoying shooters, and punching holes in walls with the destruction amulet).
  3. Sneak as much as possible, progress slowly, explore everywhere.
  4. Conserve health at all costs, Medical Kit improves survivability.
  5. Jump boots, lockpick, or destruction amulet make keys unnecessary.
  6. Experiment with all the spells; Cloak, Hypnotize, Materialize (and Knock, when you're starting) are good to teach you different strategies.
  7. Destruction amulet is overpowered. Use it and overuse it.
  8. Stick with the main game (beginning with Dagon, World 1) to start; when you're ready to for the Mountains of Madness, climbing boots are essential to avoid icicle damage...play the main game to get them.

Keybase proof

I hereby claim:

  • I am smithrobs on github.
  • I am smithrobs (https://keybase.io/smithrobs) on keybase.
  • I have a public key whose fingerprint is 3CF9 7735 3723 5ABD DD4E 6417 AC70 FBDB C87F A56E

To claim this, I am signing this object:

@smithrobs
smithrobs / gist:1197862
Created September 6, 2011 15:31
O.o of the day #1
var sOption = sDiv.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.id;
var sPanel = sDiv.parentNode.parentNode.parentNode.childNodes.item(1).childNodes.item(1).childNodes.item(0).childNodes.item(0);
@smithrobs
smithrobs / gist:1076027
Created July 11, 2011 14:59
Full trust of all SSL certs
// callback used to validate the certificate in an SSL conversation
private static bool ValidateRemoteCertificate(object sender, X509Certificate cert, X509Chain chain, SslPolicyErrors policyErrors)
{
bool result = false;
if (cert.Subject.ToUpper().Contains("YourServerName"))
{
result = true;
}
return result;
#substitute algorithm
# old:
#-----------------
require 'Date'
days = Date::ABBR_DAYNAMES
days.each do |day|
if (day == "Sun" || day == "Mon")
p "#{day} - Party time!"