I hereby claim:
- I am thejones on github.
- I am alextjones (https://keybase.io/alextjones) on keybase.
- I have a public key ASB2MEYov4-giXvKdynq_1fRntLhCP9-R7F4HJg0XG0DGQo
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Repos</title> | |
<script src="https://cdn.amcharts.com/lib/4/core.js"></script> | |
<script src="https://cdn.amcharts.com/lib/4/charts.js"></script> |
<html> | |
<head> | |
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script> | |
<script type="text/javascript"> | |
google.charts.load("current", {packages:["calendar"]}); | |
google.charts.setOnLoadCallback(drawChart); | |
function drawChart() { | |
var dataTable = new google.visualization.DataTable(); | |
dataTable.addColumn({ type: 'date', id: 'Date' }); |
// Paste this into the console. Does not sumbit so you can review. | |
(function fillForm(){ | |
document.getElementById('first-name').value = 'First'; | |
document.getElementById('last-name').value = 'Last'; | |
document.getElementById('phone-number').value = '646-919-8260'; | |
document.getElementById('dob').value = "1990-01-21"; | |
radiobtn = document.getElementById("male"); // or female | |
radiobtn.checked = true; | |
document.getElementById('symptoms').value = 'Your Reason'; |
defmodule AppWeb.Router do | |
use AppWeb, :router | |
use Pow.Phoenix.Router | |
use PowAssent.Phoenix.Router | |
pipeline :browser do | |
plug :accepts, ["html"] | |
plug :fetch_session | |
plug :fetch_live_flash | |
plug :put_root_layout, {AppWeb.LayoutView, :root} |
I hereby claim:
To claim this, I am signing this object:
const os = require('os'); //used to get host name | |
/* | |
Logger - ability to log everything about the error | |
We can format whatever we need and add stacktrace info to errors. | |
nutrien-logger - we use Pino for this | |
*/ | |
const logger = { | |
info: (err) => console.log(` |
1. Conf file changes | |
A. | |
SHOW config_file; -- find the location of the correct conf file to edit... | |
B. | |
shared_preload_libraries = pg_stat_statements (required) | |
track_activity_query_size = 2048 (increase maximum length before which queries are truncated) | |
pg_stat_statements.track = ALL (track all statements, including those inside stored procedures) | |
2. |
const listEndpoints = require('express-list-endpoints') | |
var app = express(); | |
//express setup | |
//then list them | |
// This is quick and dirty (no error probably cannot be run more than once correctly) | |
fs.mkdir(__dirname + "/tmp/", { recursive: true }, (err) => { |
AKSHOF = window.AKSHOF || {}; | |
AKSHOF.app = angular.module("AKSHOF", []); | |
AKSHOF.app.directive("vote", function() { | |
return { | |
require: "ngModel", | |
restrict: "A", | |
link: function(scope, elem, attrs, ngModel) { | |
var parts = attrs.vote.split(","); | |
var kind = parts[0].trim(); |
class TeamsController < ApplicationController | |
before_action :authenticate_user!, only: [:edit, :update, :destroy, :join, :leave, :remove] | |
before_action :set_challenge, only: [:index] | |
#before_action :set_team_milage_totals, only: [:index] | |
before_action :set_team, only: [:show, :edit, :update, :destroy, :join, :leave, :remove] | |
before_action :set_industry, only: [:show, :edit, :update, :destroy, :join, :leave] | |
before_action :require_permission, only: [:edit, :destroy, :remove] | |
before_action :set_user, only: [:remove] | |
before_action :require_same_team, only: [:remove] |