Skip to content

Instantly share code, notes, and snippets.

View b4dtR1p's full-sized avatar
💀
I may be slow to respond.

b4d_tR1p b4dtR1p

💀
I may be slow to respond.
View GitHub Profile
{
"name": "musikey-api",
"main": "server.js",
"repository": {
"type": "git",
"url": "git+https://bitbucket.org/twinsoftweb/musikey-api.git"
},
"scripts": {
"start": "node server.js"
},
require 'mechanize'
agent = Mechanize.new
puts 'Insert URL in obsolete form:'
puts 'ex: http://google.com'
web = gets
page = agent.get(web)
page.links_with(:href => /^https?/).each do |link|
puts link.href
#!/usr/bin/env node
exports.IP = require('http').request({
hostname: 'fugal.net',
path: '/ip.cgi',
agent: false
}, function(res) {
if(res.statusCode != 200) {
throw new Error('Error: ' + res.statusCode);
}
#!/usr/bin/env node
var rest = require('restify');
var ip = require('./ip');
function respond(req, res) {
res.send(ip);
}
var server = rest.createServer();
server.get('/', respond);
#!/usr/bin/env node
/**
* Module dependencies
*/
var Async = require('async');
var Filesystem = require('machinepack-fs');
var Prompts = require('machinepack-prompts');
var Sails = require('sails').Sails;
#!/usr/bin/env python2.7
import socket
import sys
try:
s=socket.socket(socket.AF_INET, socket.SOCK_STREAM)
ip = raw_input ("insert target IP: ")
port = int(raw_input ("insert PORT to scan: "))
s.settimeout(1)
s.connect_ex((ip,port))
#
# - Xombrero configuration file
#
download_dir = ~/Downloads
# Appearance
gui_mode = minimal
show_statusbar = no
show_scrollbars = no
/* Solarized Dark
For use with Jekyll and Pygments
http://ethanschoonover.com/solarized
SOLARIZED HEX ROLE
--------- -------- ------------------------------------------
base03 #002b36 background
base01 #586e75 comments / secondary content
#!/bin/sh
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'

Keybase proof

I hereby claim:

  • I am b4dtr1p on github.
  • I am b4d_tr1p (https://keybase.io/b4d_tr1p) on keybase.
  • I have a public key whose fingerprint is 16AD 0A33 051A 856C 7489 696A 047F 1162 7EF9 1F72

To claim this, I am signing this object: