Skip to content

Instantly share code, notes, and snippets.

View YamilG's full-sized avatar

Yamil Gonzales YamilG

View GitHub Profile
@bsommardahl
bsommardahl / SrDev.md
Last active February 28, 2019 15:01
Acklen Avenue Senior Developer Criteria

What is a Senior Developer?

A disciplined and experienced software developer who...

  • Is a proven leader.
  • Can communicate effectively.
  • Cares deeply about quality and long-term maintainability of the product.
  • Does not accept monotonous tasks, but seeks ways to automate and be more efficient.
  • Is not intimidated by problems or new challenges, but actively seeks solutions.
  • Does not accept roadblocks, but actively seeks ways around them.
@ageis
ageis / gist:3b96c48698d94c9c8419
Last active October 2, 2022 11:32
Making Tor Hidden Services Slightly More Secure
Andy Greenberg of WIRED reports that the FBI has finally revealed how they allegedly located the server on which Silk Road was hosted, and it didn't require parallel construction. http://www.wired.com/2014/09/the-fbi-finally-says-how-it-legally-pinpointed-silk-roads-server
It was a security fail.
According to FBI agent Christopher Tarbell, as related by Greenberg: "They found a misconfiguration in an element of the Silk Road login page, which revealed its internet protocol (IP) address and thus its physical location... And when they entered that IP address directly into a browser, the Silk Road's CAPTCHA prompt appeared."
While I can only speculate about what gave away the IP address, here's a few suggestions for avoiding the latter problem, which should make your .onions slightly more secure.
First off, the webserver never should have responded to HTTP requests on the server's IP address. Only traffic which comes through the Tor hidden service, which connects to the webserver's port 80 on the loopback in
<?php
/*
Plugin Name: Extend HTTP Request Timeout
Plugin URI: https://refactored.co
Description: Extends the default timeout length for the WordPress HTTP API
Author: Sutherland Boswell
Author URI: http://sutherlandboswell.com
Version: 1.0
License: GPL2
*/
@nikcub
nikcub / README.md
Created October 4, 2012 13:06
Facebook PHP Source Code from August 2007
@YamilG
YamilG / new_bashrc.sh
Created August 11, 2012 07:39 — forked from josephwecker/new_bashrc.sh
Replace .bashrc, .bash_profile, .profile, etc. with something much more clean, consistent, and meaningful.
#!/bin/bash
# License: Public Domain.
# Author: Joseph Wecker, 2012
#
# Are you tired of trying to remember what .bashrc does vs .bash_profile vs .profile?
# Are you tired of trying to remember how darwin/mac-osx treat them differently from linux?
# Are you tired of not having your ~/.bash* stuff work the way you expect?
#
# Symlink all of the following to this file:
# * ~/.bashrc
@brandonb927
brandonb927 / osx-for-hackers.sh
Last active June 13, 2024 02:39
OSX for Hackers: Yosemite/El Capitan Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned.
#!/bin/sh
###
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer)
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos
###
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx
@rpavlik
rpavlik / fix_homebrew.rb
Created January 6, 2011 20:32 — forked from mxcl/install_homebrew.markdown
Fix permissions on /usr/local for Homebrew
#!/usr/bin/ruby
#
# This script fixes /usr/local only.
#
# 6th January 2010:
# Modified the script to just fix, rather than install. - rpavlik
#
# 30th March 2010:
# Added a check to make sure user is in the staff group. This was a problem
# for me, and I think it was due to me migrating my account over several
@lfborjas
lfborjas / forkitall.markdown
Created October 18, 2010 06:14
Una breve descripción del modelo fork+pull

Para colaborar en un repositorio mediante el modelo fork+pull (se presupone que ya tenés instalado git )

  1. Hacer fork en github.com
  2. Te vas a tu fork
  3. En tu compu, ejecutás git clone git@github.com:YamilG/lfborjas.github.com.git
  4. Te creará una carpeta llamada lfborjas.github.com, hacés cd a ella y comenzás a hacer tus cambios
  5. Cuando querás ver qué has cambiado, hacés git status y para cambios específicos, git diff
  6. Cuando estés listo para hacer un snapshot de tus cambios, agregarlos al historial git, hacés un git commit -am "mensaje descriptivo", el switch -am es un atajo para agregar todos los archivos que git ya conocía; si agregás otros archivos, tendrás que hacer git add archivo.ext otroArchivo.ext antes de hacer un commit.
  7. Cuando terminés de hacer commits y estés listo para que integremos cambios, hacés un git push origin master y luego me mandás una [pull request](http://help.github.com/pull-reque