Skip to content

Instantly share code, notes, and snippets.

View qbantek's full-sized avatar

Erich N Quintero qbantek

  • Hollywood, FL
  • 20:17 (UTC -04:00)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am qbantek on github.
  • I am qbantek (https://keybase.io/qbantek) on keybase.
  • I have a public key whose fingerprint is FDCB 52A1 7146 6124 0C72 CA61 06E7 C7FB 5333 B4B4

To claim this, I am signing this object:

@qbantek
qbantek / crud.sql
Created May 18, 2018 23:00
insert, select, update & delete generators
/****** Object: StoredProcedure [dbo].[pr__SYS_MakeSelectRecordProc] Script Date: 5/18/2018 6:55:24 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER OFF
GO
CREATE PROC [dbo].[pr__SYS_MakeSelectRecordProc]
@sTableName varchar(128),
@qbantek
qbantek / snippet.html
Created May 10, 2018 03:36
Add the script element using DOM API
<script type="text/javascript">
!function(e,t,c,k){
var n=("https:"==document.location.protocol?"https://":"http://")+"pma-code.appspot.com/js/dn.js?",
a=t.createElement(c);a.src=n+k,a.async=1;
var p=document.getElementsByTagName(c)[0];p.parentNode.insertBefore(a,p)
}(window,document,"script","AC6e2c90873c02372d83ccce8e778eb399");
</script>
@qbantek
qbantek / Create Unity desktop file for launcher
Created January 31, 2018 16:01
Install the Postman Native App in Ubuntu 16.04
cat > ~/.local/share/applications/postman.desktop <<EOL
[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=postman
Icon=/opt/Postman/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development;
EOL
@qbantek
qbantek / .railsrc
Created January 30, 2018 22:45
Command line options for ` rails new --help ` (Rails 5.1.4). Useful for planning new Ruby on Rails app. 'Where can I find options for “rails new” command?'
--skip-active-record
--skip-test-unit
--skip-system-test
--skip-turbolinks
--skip-spring
--skip-keeps
--skip-coffee
--skip-action-cable
--skip-action-mailer
--skip-listen

Keybase proof

I hereby claim:

  • I am qbantek on github.
  • I am qbantek (https://keybase.io/qbantek) on keybase.
  • I have a public key whose fingerprint is B633 40DE 97C3 493D 046D 1BD5 2369 5DD2 B0FA FA83

To claim this, I am signing this object:

@qbantek
qbantek / outbound_ports.asp
Created June 1, 2015 15:14
Test outbound ports - it was useful to determine which outbound ports were opened at a given shared host
<%
Server.ScriptTimeout=60*15
Dim address
address = "http://portquiz.net:"
Function TCPPing( address, port )
Dim xhr
Set xhr = Server.CreateObject("MSXML2.ServerXMLHTTP")
xhr.SetTimeouts 8000,8000,8000,8000