Skip to content

Instantly share code, notes, and snippets.

renancouto / cloudSettings
Last active December 7, 2021 07:57
Visual Studio Code Settings Sync Gist
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<script id="jsbin-javascript">
// atom sync settings
renancouto /
Last active February 1, 2023 09:36
A collection of weird URLs that I think are used to exploit security vulnerabilities on web apps
  • /manager/html (Apache Tomcat)
  • /tmUnblock.cgi
  • /HNAP1/
  • /phpMyAdmin/scripts/setup.php (PHPMyAdmin)
  • /pma/scripts/setup.php
  • /myadmin/scripts/setup.php
  • /MyAdmin/scripts/setup.php
  • /vyvy/vyv/vy.php
  • /cgi-sys/php5
mixin template
script(id!, type="text/html")
if block
renancouto / jsonfiles2object.js
Created August 15, 2014 19:11
Read all json files on the current dir and return an object with their content, using their filenames (in camelCase) as keys.
/*jslint node:true, nomen:true, stupid:true*/
'use strict';
* dependencies
var fs = require('fs');
var path = require('path');
var s = require('string');
renancouto / social.js
Created November 4, 2013 19:44
Loading social scripts (Facebook, Twitter and Google Plus) AMD style.
/*jslint browser:true, nomen:true*/
/*global define*/
define(function () {
'use strict';
var script = document.getElementsByTagName('script')[0];
function socialTag(src, id) {
var created = document.createElement('script');
renancouto / INSTALL.ME
Last active December 25, 2015 15:19
INSTALL.ME - Cross-platform sugar! A collection of installation instructions to show how (bad) different systems are.
renancouto / Preferences.sublime-settings
Last active December 19, 2015 22:39
Sublime Text User Settings
"bold_folder_labels": true,
renancouto / select.meses.html
Created April 26, 2013 16:32
Select simples com nomes dos meses do ano
<option>Escolha o mês</option>
<option value="01">Janeiro</option>
<option value="02">Fevereiro</option>
<option value="03">Março</option>
<option value="04">Abril</option>
<option value="05">Maio</option>
<option value="06">Junho</option>
<option value="07">Julho</option>
<option value="08">Agosto</option>