Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View callado4's full-sized avatar

Jose Martinez callado4

View GitHub Profile
@callado4
callado4 / realtor.js
Last active October 29, 2023 03:58 — forked from bryant988/zillow.js
Zillow Image Downloader
/*
Open up vertical photo gallery and scroll all the way to the bottom
*/
const script33 = document.createElement('script');
script33.src = "https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js";
script33.onload = () => {
$ = jQuery.noConflict();
#! /bin/sh
#
# autossh init.d This script starts and stops an autossh daemon
#
# chkconfig: 2345 95 15
# processname: autossh
#
# Original Author: Andreas Olsson <andreas@arrakis.se>
# Version: @(#)autossh_tunnel.foo 0.1 27-Aug-2008 andreas@arrakis.se
#
@callado4
callado4 / Class.js
Created November 4, 2013 20:42 — forked from shakyShane/Class.js
/* Simple JavaScript Inheritance for ES 5.1 ( includes polyfill for IE < 9 )
* based on http://ejohn.org/blog/simple-javascript-inheritance/
* (inspired by base2 and Prototype)
* MIT Licensed.
*/
(function (global) {
"use strict";
if (!Object.create) {
Object.create = (function () {

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀
HANDPICKED JQUERY PLUGINS REPOSITORY CDN URLS
POWERED BY MAXCDN
▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀
Following the down-time of Godaddy, you will now have to update the previous URLs.
It is much more safer to link to the raw CDN URL.
@callado4
callado4 / .bash_login.jenkins
Created September 7, 2012 03:02 — forked from fancyremarker/.bash_login.jenkins
[ClearServe] Scripts related to Jenkins client setup
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
// Intercepting HTTP calls with AngularJS.
angular.module('MyApp', [])
.config(function ($provide, $httpProvider) {
// Intercept http calls.
$provide.factory('MyHttpInterceptor', function ($q) {
return {
// On request success
request: function (config) {
// console.log(config); // Contains the data about the request before it is sent.