Skip to content

Instantly share code, notes, and snippets.

View GQAdonis's full-sized avatar

Travis James GQAdonis

View GitHub Profile
@GQAdonis
GQAdonis / Chrome.sh
Created April 26, 2020 13:41 — forked from ibc/Chrome.sh
WebRTC debugging
/Google\ Chrome\ Canary --enable-logging --v=1 --vmodule=*/webrtc/*=2,*/libjingle/*=2,*=-2 --enable-logging=stderr
// Easier:
/Google\ Chrome\ Canary --enable-logging --v=1 --vmodule=*/webrtc/*=2,*=-2 --enable-logging=stderr

Keybase proof

I hereby claim:

  • I am gqadonis on github.
  • I am gqadonis (https://keybase.io/gqadonis) on keybase.
  • I have a public key ASCtYZ7TyuZM2-raX0z3F73rlCosYqDbsBzipGBD2ZEnxwo

To claim this, I am signing this object:

Verifying my Blockstack ID is secured with the address 1GGVLzS8j2Xs2o28y8Px3x4swMLXfNoai https://explorer.blockstack.org/address/1GGVLzS8j2Xs2o28y8Px3x4swMLXfNoai
@GQAdonis
GQAdonis / Material Compact Login Animation With React.markdown
Created January 3, 2016 17:14
Material Compact Login Animation With React
/** @jsx React.DOM */
var MyRootComponent = React.createClass({
getInitialState: function() {
return {perMinute: '-', perDay: '-'};
},
componentDidMount: function() {
var socket = io.connect(this.props.url);
socket.on('business.clickout', this.setState.bind(this));
},
render: function() {
#cloud-config
hostname: localCoreOS
coreos:
etcd:
addr: $private_ipv4:4001
peer-addr: $private_ipv4:7001
units:
- name: etcd.service
@GQAdonis
GQAdonis / build_nginx.sh
Last active August 29, 2015 14:25 — forked from MattWilcox/build_nginx.sh
Fetch, build, and install the latest nginx with the latest OpenSSL for RaspberryPi
#!/usr/bin/env bash
# names of latest versions of each package
export VERSION_PCRE=pcre-8.37
export VERSION_OPENSSL=openssl-1.0.2a
export VERSION_NGINX=nginx-1.9.0
# URLs to the source directories
export SOURCE_OPENSSL=https://www.openssl.org/source/
export SOURCE_PCRE=ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
module.exports = {
/**
*
* Using raw socket.io functionality from a Sails.js controller
*
*/
index: function (req,res) {
#!/bin/sh
#
# chkconfig: 35 99 99
# description: Node.js /home/nodejs/sample/app.js
#
. /etc/rc.d/init.d/functions
USER="nodejs"
// THIS IS A BETA! I DON'T RECOMMEND USING IT IN PRODUCTION CODE JUST YET
/*
* Copyright 2012 Roman Nurik
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0