Skip to content

Instantly share code, notes, and snippets.

View matiasinsaurralde's full-sized avatar

Matias Insaurralde matiasinsaurralde

  • Paraguay
View GitHub Profile
@matiasinsaurralde
matiasinsaurralde / response_header_modifier.js
Created August 23, 2016 02:48 — forked from mrajagopal/response_header_modifier.js
LineRate's Node.js script to modify the HTTP response header
"use strict";
var vsm = require('lrs/virtualServerModule');
var requestHandler = function(servReq, servResp, next){
servReq.on('response', function responseHandler(cliResp){
cliResp.bindHeaders(servResp);
servResp.removeHeader("Server");
servResp.removeHeader("X-Powered-By");
@matiasinsaurralde
matiasinsaurralde / up-and-running-with-edeliver-on-do.md
Created July 4, 2016 14:17 — forked from mattweldon/up-and-running-with-edeliver-on-do.md
Getting Elixir / Phoenix running on Digital Ocean with edeliver

Build Server

  • Go to Digital Ocean
  • Create new droplet
  • London
  • Ubuntu
  • No apps
  • Add SSH keys
@matiasinsaurralde
matiasinsaurralde / main.cpp
Last active August 29, 2015 14:22 — forked from gokmen/main.cpp
#include <QDebug>
#include <QWidget>
#include <QNetworkReply>
#include <QSslConfiguration>
App::App(QWidget *parent) :
QWidget(parent),
ui(new Ui::App)
{
ui->setupUi(this);
require 'socket'
require 'base64'
Refresh = 1 # seconds to refresh image on server
screen_capture_command = 'screencapture -C -x tmp.png'
image = ''
latest = Time.now
server = TCPServer.new 3000
loop do
#!/bin/sh
# latest trac!
wget "http://download.edgewall.org/trac/Trac-1.0.1.tar.gz"
tar xf Trac-1.0.1.tar.gz
cd Trac-1.0.1