This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/sh | |
# Glichting screen lock script by xzvf | |
pngfile="/tmp/sclock.png" | |
bmpfile="/tmp/sclock.bmp" | |
glitchedfile="/tmp/sclock_g.bmp" | |
scrot -z $pngfile | |
# convert to bmp and pixelate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--// Created by Matheus Muriel (https://github.com/MatheusMuriel) //--> | |
<NotepadPlus> | |
<UserLang name="Anoteixon Test" ext="txt atxt" darkModeTheme="yes" udlVersion="2.1"> | |
<Settings> | |
<Global caseIgnored="yes" allowFoldOfComments="no" foldCompact="no" forcePureLC="2" decimalSeparator="0" /> | |
<Prefix Keywords1="yes" Keywords2="yes" Keywords3="yes" Keywords4="yes" Keywords5="yes" Keywords6="yes" Keywords7="no" Keywords8="no" /> | |
</Settings> | |
<KeywordLists> | |
<Keywords name="Comments">00// 01 02((EOL)) 03/* 04*/</Keywords> | |
<Keywords name="Numbers, prefix1"></Keywords> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def metodo | |
variavel = 50 | |
hash = {a: 1, b: 2, c: 3} | |
lista = [1, 2, 3, 4, 5] | |
interpolacao = "String #{variavel}" | |
interpolacao.reverse | |
lista.each{|n| puts n} | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){ | |
let tailwind = document.createElement('link'); | |
tailwind.href = 'https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css'; | |
tailwind.rel = 'stylesheet'; | |
document.body.appendChild(tailwind); | |
let style = document.createElement('style'); | |
style.appendChild( document.createTextNode(` | |
.modal { | |
opacity: 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@if (@CodeSection == @Batch) @then | |
@echo off | |
rem Use [%SendKeys% "argument"] to send keys to the keyboard buffer | |
rem "%~F0" is complete path of this script | |
set SendKeys=CScript //nologo //E:JScript "%~F0" | |
:START_OF_LOOP | |
timeout 10 > NUL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'sinatra' | |
require 'json' | |
require 'fileutils' | |
require 'logger' | |
set :port, 6000 | |
diretorio_repo = '/home/Muriel/JarvisBot/' | |
caminho_logs = '/home/Muriel/Logs/post-reciver/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'sinatra' | |
require 'fileutils' | |
set :port, 6000 | |
diretorio_repo = '/home/Muriel/JarvisBot/' | |
post '/jarvis' do | |
system('systemctl stop jarvisbot.service') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print("Hello World!") | |
for i in range(0, 5): | |
print("Ra!") | |
print("Bye Bye World!") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xprop | grep -i 'class' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Scroll para o fim da pagina | |
// Esse script é feito para scrollar até o fim de paginas com loading | |
// Eu o programei para ir até o final da pagina do instagram web | |
// mas creio que possa ser usado em diversos cenarios por isso estou compartilhando | |
// Caso ele pare antes de chegar ao final tente aumentar o tempo do sleep na linha 12 | |
const sleep = (ms) => { return new Promise(resolve => setTimeout(resolve, ms)) } | |
var isEndOfPage = false; | |
while (!isEndOfPage) { | |
let heightBegin = document.body.scrollHeight; |
NewerOlder