Skip to content

Instantly share code, notes, and snippets.

Gustavo Henrique Jobstraibizer GustavoJobstraibizer

  • Brazil - São Paulo
Block or report user

Report or block GustavoJobstraibizer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View cmder-vscode-integrated.md
"terminal.external.windowsExec": "C:\\cmder\\Cmder.exe",
"terminal.integrated.shell.windows": "C:\\WINDOWS\\sysnative\\cmd.exe",
"terminal.integrated.shellArgs.windows": [
    "/K",
    "C:\\cmder\\vendor\\init.bat"
],
View instagram-unsubscribe.js
setInterval(function() {
var countUnsubscribe = 0;
var buttonsExit = document.querySelectorAll('._0mzm-.sqdOP.L3NKy._8A5w5');
var buttonUnsubscribe = document.querySelector('.aOOlW.-Cab_');
if (buttonsExit[1]) {
buttonsExit[1].click();
}
buttonUnsubscribe.click();
@GustavoJobstraibizer
GustavoJobstraibizer / chat.html
Created Feb 23, 2018 — forked from ilhomelv/chat.html
Client file for Private chat using node.js and socket.io
View chat.html
<script src="/socket.io/socket.io.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<script type="text/javascript">
var my_username = '';
function send_individual_msg(id)
{
//alert(id);
//alert(my_username);
socket.emit('check_user', my_username, id);
//socket.emit('msg_user', id, my_username, prompt("Type your message:"));
View .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteRule ^$ - [L]
RewriteRule ^/$ - [L]
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} !\.(css|js|xml|json|png|jpg|ico|ttf|woff|woff2)$
RewriteRule ".*" "/401" [END,R]
View create-object-whitout-class.md
<?php
/* Não é necessário definir como objeto */
$obj->biblioteca->historia;
$obj->biblioteca->historia->livro1 = "Civilization";
 
/* É OBRIGATÓRIO definir como objeto */
$historia = $obj->biblioteca->historia = (object) array();
$historia->livro1 = "Civilization";
?>
View rails-notes.md
@GustavoJobstraibizer
GustavoJobstraibizer / regex-date-input.md
Last active Dec 6, 2017
regex simple for date input
View regex-date-input.md
(0[1-9]|1[0-9]|2[0-9]|3[01])\/(0[1-9]|1[012])\/(19[0-9]{2}|2[0-9]{3})
View .gitconfig
[alias]
status = st
st = status
grafico = log --oneline --decorate --all --graph
co = commit --amend --no-edit
maid = "!git branch --merged | grep -v -P '^\\*|master|develop' | xargs -n1 -r git branch -d"
lg = !"git lg1"
lg1 = !"git lg1-specific --all"
View promise-all.md
var clean = () => {
  return new Promise((resolve, reject) => {
    
    let clean = false;
    if (!clean) {
      resolve('clean');        
    } else {
      reject('not clean');
    }
You can’t perform that action at this time.