Skip to content

Instantly share code, notes, and snippets.

View gvilarino's full-sized avatar

Guido Vilariño gvilarino

View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ODIA</title>
</head>
<body>
<script type="text/javascript" src="codigo.js"></script>
</body>
</html>
while true;do clear; curl https://banco.santanderrio.com.ar/exec/cotizacion/index.jsp 2> /dev/null | grep \<td\>| sed -n 2p|awk '{ gsub("[<td>\/]*[[:blank:]]*","");print}'; sleep 60; done;
@gvilarino
gvilarino / gist:9e9eaf90111390ccd4358187829f2763
Created June 27, 2017 13:33
Access the host in docker for azure
docker run --rm -it --privileged --pid=host justincormack/nsenter1 /bin/ash
@gvilarino
gvilarino / crash_report.txt
Last active July 15, 2016 01:26
Twitter for Mac crash report
REPRO:
1. Start typing a tweet with some line breaks and numbers and dots
2. Leave 1 new line
3. Quickly type the hashtag #yoyagane and press enter so the suggested one gets written instead.
4. CMD +Z immediately
5. Crash
Process: Twitter [97203]
@gvilarino
gvilarino / npm-debug.log
Created May 26, 2016 15:56
Error: EBADF: bad file descriptor, read
This file has been truncated, but you can view the full file.
206103 silly mapToRegistry using default registry
206104 silly mapToRegistry registry https://registry.npmjs.org/
206105 silly mapToRegistry data Result {
206105 silly mapToRegistry raw: 'hash.js',
206105 silly mapToRegistry scope: null,
206105 silly mapToRegistry name: 'hash.js',
206105 silly mapToRegistry rawSpec: '',
206105 silly mapToRegistry spec: 'latest',
206105 silly mapToRegistry type: 'tag' }
206106 silly mapToRegistry uri https://registry.npmjs.org/hash.js
server.route({
method : 'GET',
path : '/components/links/{id}',
handler : defaultHandlers.getById(Link),
config : {
validate: {
params: {
id: validateId
}
}
@gvilarino
gvilarino / gist:5efd1d1977cc1585c4a5
Created September 10, 2015 03:19
npm install log
$ npm install
npm WARN deprecated [email protected]: Please use node-uuid instead. It is much better.
npm WARN engine [email protected]: wanted: {"node":">= 0.8.0 <=0.12 || <3"} (current: {"node":"4.0.0","npm":"2.14.2"})
npm WARN engine [email protected]: wanted: {"node":"0.10.x || 0.8.x"} (current: {"node":"4.0.0","npm":"2.14.2"})
npm WARN peerDependencies The peer dependency jshint@ included from precommit-hook will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
> [email protected] install /Users/gvilarino/Dev/git/tactivos/murally/node_modules/precommit-hook
> hook_install
# npm install
npm WARN engine [email protected]: wanted: {"node":"0.8.x || 0.10.x || 0.11.x || 1.0.x"} (current: {"node":"4.0.0","npm":"2.14.2"})
npm WARN deprecated [email protected]: This project is abandoned
npm WARN deprecated [email protected]: react-tools is deprecated. For more information, visit https://fb.me/react-tools-deprecated
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"4.0.0","npm":"2.14.2"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"4.0.0","npm":"2.14.2"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"4.0.0","npm":"2.14.2"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"4.0.0","npm":"2.14.2"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"4.0.0","npm":"2.14.2"})
-- Logs begin at Thu 2015-03-12 00:01:11 UTC, end at Sat 2015-03-14 19:18:47 UTC. --
Mar 12 00:01:19 localhost systemd[1]: Starting Network Time Service...
Mar 12 00:01:19 localhost systemd[1]: Started Network Time Service.
Mar 12 00:01:20 localhost ntpd[536]: ntpd [email protected] Tue Feb 3 20:25:55 UTC 2015 (1): Starting
Mar 12 00:01:20 localhost ntpd[536]: Command line: /usr/sbin/ntpd -g -n -f /var/lib/ntp/ntp.drift -u ntp:ntp
Mar 12 00:01:20 localhost ntpd[536]: 12 Mar 00:01:20 ntpd[536]: ntpd [email protected] Tue Feb 3 20:25:55 UTC 2015 (1): Starting
Mar 12 00:01:20 localhost ntpd[536]: 12 Mar 00:01:20 ntpd[536]: Command line: /usr/sbin/ntpd -g -n -f /var/lib/ntp/ntp.drift -u ntp:ntp
Mar 12 00:01:20 localhost ntpd[536]: proto: precision = 0.581 usec (-21)
Mar 12 00:01:20 localhost ntpd[536]: 12 Mar 00:01:20 ntpd[536]: proto: precision = 0.581 usec (-21)
Mar 12 00:01:20 localhost ntpd[536]: Listen and drop on 0 v6wildcard [::]:123
{ "health": { "health": { "health_services": [
{ "mons": [
{ "name": "ip-10-21-1-79.ec2.internal",
"kb_total": 104857600,
"kb_used": 6371896,
"kb_avail": 96533224,
"avail_percent": 92,
"last_updated": "2015-03-12 02:09:56.793258",
"store_stats": { "bytes_total": 15558774,
"bytes_sst": 0,