Skip to content

Instantly share code, notes, and snippets.

View krusty's full-sized avatar

Lucas Sallovitz krusty

View GitHub Profile
$ mtr -t -r -c 100 google.com
HOST: kid-c Loss% Snt Last Avg Best Wrst StDev
1.|-- 192.168.100.1 5.0% 100 7.8 13.2 1.9 173.3 21.8
2.|-- ??? 100.0 100 0.0 0.0 0.0 0.0 0.0
3.|-- 172.24.0.246 7.0% 100 124.0 111.4 33.1 834.0 119.8
4.|-- 172.24.0.10 21.0% 100 86.4 114.3 38.4 747.8 118.2
5.|-- 200-55-56-141.static.imps 5.0% 100 136.5 147.8 52.3 786.7 140.0
6.|-- 64.208.27.34 5.0% 100 121.2 161.0 53.6 734.2 115.7
7.|-- 209.85.251.86 2.0% 100 133.6 121.6 48.0 742.8 101.3
8.|-- 209.85.251.194 7.0% 100 78.6 112.7 47.3 732.6 101.3
@krusty
krusty / gist:4714507
Created February 5, 2013 13:38
when and loops
urls.each(function(url) {
$.get(url, function (data) {
$el.data('current-url', url);
$el.html(data);
});
});
function hide() {
trig1 = "none";
trig2 = "block";
document.getElementById('div1').style.display=trig1;
document.getElementById('div2').style.display=trig1;
document.getElementById('div3').style.display=trig1;
document.getElementById('div4').style.display=trig1;
document.getElementById('div5').style.display=trig1;
document.getElementById('div6').style.display=trig1;
document.getElementById('div7').style.display=trig1;
Post.Views.Post = Backbone.View.extend({
el: '#post',
initialize: function () {
this.template = _.template($('#post-template').html());
app.on('change:post', this.render, this);
},
render: function (post) {
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
pubadmin@dev-dit6:/home/pubadmin
$ wget https://soap.staging.sj.vindicia.com/3.5/Account.wsdl
--07:19:39-- https://soap.staging.sj.vindicia.com/3.5/Account.wsdl
=> `Account.wsdl'
Resolving soap.staging.sj.vindicia.com... 64.124.35.201
Connecting to soap.staging.sj.vindicia.com|64.124.35.201|:443... failed: Connection timed out.
Ext.define("CC.view.Settings", {
extend: 'Ext.Panel',
xtype: 'settingspanel',
requires: [
'Ext.dataview.List'
],
config: {
title: "Settings",
SQL (0.2ms) SET NAMES 'utf8'
SQL (0.2ms) SET SQL_AUTO_IS_NULL=0
ConfigurationValue Columns (0.9ms) SHOW FIELDS FROM `configuration_values`
ConfigurationValue Load (0.5ms) SELECT * FROM `configuration_values` WHERE (`configuration_values`.`key` = 'active_set' AND `configuration_values`.`configuration_set` = 'defaults') LIMIT 1
ConfigurationValue Load (0.4ms) SELECT * FROM `configuration_values` WHERE (`configuration_values`.`key` = 'optouts_sender' AND `configuration_values`.`configuration_set` = 'defaults') LIMIT 1
ConfigurationValue Load (0.4ms) SELECT * FROM `configuration_values` WHERE (`configuration_values`.`key` = 'active_set' AND `configuration_values`.`configuration_set` = 'defaults') LIMIT 1
ConfigurationValue Load (0.5ms) SELECT * FROM `configuration_values` WHERE (`configuration_values`.`key` = 'optouts_reply_to' AND `configuration_values`.`configuration_set` = 'defaults') LIMIT 1
Merchant Columns (2.4ms) SHOW FIELDS FROM `merchants`
Request URL:http://www.local.cc:3000/oauth2/access_token
Request Headersview source
Access-Control-Request-Headers:origin, x-requested-with, x-client, content-type, accept
Access-Control-Request-Method:POST
Cache-Control:no-cache
Origin:http://local.cc:3000
Pragma:no-cache
@krusty
krusty / placeholder.html
Created October 5, 2012 13:56
placeholder styles
<!DOCTYPE html>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Placeholder</title>
<style type="text/css" media="screen">
input {
font-weight: bolder;
color: red;
}