-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 228b715
Showing
216 changed files
with
50,516 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
__pycache__/ | ||
.vscode/ | ||
pelican-twitchy/ | ||
output/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[submodule "pelican-twitchy"] | ||
path = pelican-twitchy | ||
url = https://github.com/F3real/pelican-twitchy.git | ||
ignore = dirty |
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
This is a Brave Rewards publisher verification file. | ||
|
||
Domain: f3real.github.io | ||
Token: 51b69739edd95ed520c3ad0d2576341a53e702f87eba55e221246c9e2234a849 |
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0"?> | ||
<users> | ||
<user>C455C61A329071DE04DE03AE7D213583</user> | ||
</users> |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,314 @@ | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<meta name="author" content="F3real" /> | ||
<meta name="keywords" content="algorithm" /> | ||
<meta name="description" content="Making interesting images in Python" /> | ||
|
||
|
||
<title>Ascii art && fractals - EnSec blog</title> | ||
|
||
<link href="https://f3real.github.io/theme/css/combined.css" rel="stylesheet" /> | ||
|
||
<!-- Feeds --> | ||
</head> | ||
<body data-spy="scroll" data-target="#scrollspy"> | ||
<div id="wrapper"> | ||
<!-- Sidebar --> | ||
<nav id="sidebar-wrapper-small" class="twitchy-background"> | ||
<ul id="accordion-small" class="sidebar-nav sidebar-nav-small"> | ||
<li> | ||
<a href="https://f3real.github.io" title="EnSec blog" class="collapsed"> | ||
<span class="fas fa-home"></span> | ||
</a> | ||
</li> | ||
<li class="nav-divider"></li> | ||
<li> | ||
<a href="https://f3real.github.io/archives.html" title="Recent Articles" class="collapsed"> | ||
<span class="fas fa-th-list"></span> | ||
</a> | ||
</li> | ||
<li class="nav-divider"></li> | ||
<li> | ||
<a data-toggle="collapse" data-parent="#accordion-small" href="#collapse-social-small" title="Social" class="collapsed"> | ||
<i class="fas fa-users padding-small"></i> | ||
</a> | ||
</li> | ||
<li class="panel anti-panel"><ul id="collapse-social-small" class="collapse "> | ||
<li> | ||
<a href="https://github.com/F3real" title="Github"><i class="fab fa-github-square padding-small"></i></a> | ||
</li> | ||
<li> | ||
<a href="https://www.linkedin.com/in/stefan-ili%C4%87-61a004111" title="Linkedin"><i class="fab fa-linkedin padding-small"></i></a> | ||
</li> | ||
</ul></li> | ||
<li class="nav-divider"></li> | ||
<li> | ||
<a href="#" title="Back to top" class="collapsed"> | ||
<span class="fas fa-arrow-up"></span> | ||
</a> | ||
</li> | ||
</ul> | ||
</nav> | ||
<nav id="sidebar-wrapper" class="twitchy-background"> | ||
<ul id="accordion" class="sidebar-nav"> | ||
<li class="sidebar-brand"> | ||
<a href="https://f3real.github.io/"> | ||
<span class="fas fa-home padding-small"></span> | ||
EnSec blog | ||
</a> | ||
</li> | ||
<li> | ||
<a href="https://f3real.github.io/archives.html"> | ||
<span class="fas fa-th-list padding-small"></span> | ||
Archives | ||
</a> | ||
</li> | ||
<li class="nav-divider"></li> | ||
<li> | ||
<a data-toggle="collapse" data-parent="#accordion" href="#collapse-social"> | ||
<i class="fas fa-users padding-small"></i> | ||
Contact | ||
</a> | ||
</li> | ||
<li class="panel anti-panel"><ul id="collapse-social" class="sidebar_submenu collapse "> | ||
<li> | ||
<a href="https://github.com/F3real" title="Github"> | ||
<i class="fab fa-github-square padding-small"></i> | ||
Github | ||
</a> | ||
</li> | ||
<li> | ||
<a href="https://www.linkedin.com/in/stefan-ili%C4%87-61a004111" title="Linkedin"> | ||
<i class="fab fa-linkedin padding-small"></i> | ||
</a> | ||
</li> | ||
</ul></li> | ||
|
||
<li class="nav-divider"></li> | ||
<li class="panel anti-panel"><ul id="collapse-pages" class="sidebar_submenu collapse "> | ||
</ul></li> | ||
<li class="nav-divider"></li> | ||
<li> | ||
<a data-toggle="collapse" data-parent="#accordion" href="#collapse-categories"> | ||
<i class="fas fa-folder-open padding-small"></i> | ||
Categories | ||
</a> | ||
</li> | ||
<li class="panel anti-panel"><ul id="collapse-categories" class="sidebar_submenu collapse "> | ||
<li > | ||
<a href="https://f3real.github.io/category/ctf.html"> | ||
<i class="fas fa-folder-open padding-small"></i> | ||
ctf | ||
<span class="badge badge-secondary float-right categorybadge">28</span> | ||
</a> | ||
</li> | ||
<li class="active"> | ||
<a href="https://f3real.github.io/category/misc.html"> | ||
<i class="fas fa-folder-open padding-small"></i> | ||
misc | ||
<span class="badge badge-secondary float-right categorybadge">15</span> | ||
</a> | ||
</li> | ||
<li > | ||
<a href="https://f3real.github.io/category/reversing.html"> | ||
<i class="fas fa-folder-open padding-small"></i> | ||
reversing | ||
<span class="badge badge-secondary float-right categorybadge">6</span> | ||
</a> | ||
</li> | ||
<li > | ||
<a href="https://f3real.github.io/category/tutorial.html"> | ||
<i class="fas fa-folder-open padding-small"></i> | ||
tutorial | ||
<span class="badge badge-secondary float-right categorybadge">5</span> | ||
</a> | ||
</li> | ||
</ul></li> | ||
</ul> | ||
</nav> | ||
<!-- /#sidebar-wrapper --> | ||
<!-- open/close sidebar --> | ||
<button onclick="toggleMenu();return false;" class="btn btn-primary" id="menu-toggle"> | ||
<span id="right-arrow" class="fas fa-chevron-right" title="expand sidebar"></span> | ||
<span id="left-arrow" class="fas fa-chevron-left" title="minimize sidebar"></span> | ||
</button> | ||
<!-- /open/close sidebar --> | ||
|
||
<!-- Page Content --> | ||
<div id="page-content-wrapper"> | ||
<div class="container-fluid"> | ||
<section id="content"> | ||
<article> | ||
<div class="row"> | ||
<div class="col-lg-10"> | ||
<header class="page-header"> | ||
<h1> | ||
<a href="https://f3real.github.io/ascii_fractals.html" | ||
rel="bookmark" | ||
title="Permalink to Ascii art && fractals"> | ||
Ascii art && fractals | ||
</a> | ||
<small> | ||
<div class="post-info"> | ||
<div class="publish-info-block"> | ||
<small> | ||
<span class="published"> | ||
<i class="fa fa-calendar padding-small"></i><time datetime="2019-06-24T10:01:00+02:00"> Mon 24 June 2019</time> | ||
</span> | ||
<span class="category"> | ||
<i class="fa fa-folder-open padding-small"></i><a href="https://f3real.github.io/category/misc.html">misc</a> | ||
</span> | ||
<span class="tags"> | ||
<i class="fa fa-tags padding-small"></i> | ||
<a href="https://f3real.github.io/tag/algorithm.html">algorithm</a> </span> | ||
</small> | ||
</div> | ||
</div><!-- /.post-info --> </small> | ||
</h1> | ||
</header> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-lg-10"> | ||
<div class="entry-content"> | ||
<p>Recently, I've been playing with converting images to ascii art and creating fractal images in Python. Both projects are pretty simple, fun and definitely worth trying out if you didn't attempt them before.</p> | ||
<p>If you want to refer to my implementation, in case you get stuck here are the links:</p> | ||
<ul> | ||
<li> | ||
<p>Simple intensity-based conversion (with a bit added contouring) <a href="https://github.com/F3real/ctf_solutions/tree/master/2019/python_ascii">here</a>.</p> | ||
</li> | ||
<li> | ||
<p>Julia fractal generator <a href="https://github.com/F3real/ctf_solutions/tree/master/2019/julia_fractal">here</a>.</p> | ||
</li> | ||
</ul> | ||
<p><img alt="Julia fractal" class="img-fluid centerimage" src="https://f3real.github.io/images/2019_6_24_julia_fractal.png"></p> | ||
</div> | ||
<footer class="text-right"> | ||
<p>- F3real</p> | ||
</footer> | ||
<div id="show-comments" class="span7 text-center"> | ||
<a href="https://f3real.github.io/ascii_fractals.html#disqus_thread" | ||
data-disqus-identifier="ascii_fractals" | ||
class="btn btn-primary twitchy-background">Show Comments</a> | ||
</div> | ||
<section id="comments" class="comments hidden"> | ||
<hr/> | ||
<h2>Comments</h2> | ||
<div id="disqus_thread"></div> | ||
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by | ||
Disqus.</a></noscript> | ||
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> | ||
</section> | ||
</div> | ||
</div> | ||
</article> | ||
</section> | ||
<footer> | ||
<hr> | ||
<div class="row"> | ||
<div class="col-lg-10 text-center"> | ||
<p><small> | ||
Built by <a href="http://docs.getpelican.com/en/latest">Pelican</a> / <a href="https://github.com/F3real/pelican-twitchy">pelican-twitchy</a> | ||
· © 2024 F3real | ||
</small></p> | ||
</div> | ||
</div> | ||
</footer> </div> | ||
</div> | ||
<!-- /#page-content-wrapper --> | ||
</div> | ||
<!-- /#wrapper --> | ||
|
||
<!-- disqus --> | ||
<script type="text/javascript"> | ||
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ | ||
var disqus_shortname = 'https-f3real-github-io'; // required: replace example with your forum shortname | ||
|
||
var disqus_identifier = 'ascii_fractals'; | ||
var disqus_url = 'https://f3real.github.io/ascii_fractals.html'; | ||
|
||
var disqus_config = function () { | ||
this.language = "en"; | ||
}; | ||
|
||
var commentsDiv = document.getElementById('show-comments'); | ||
commentsDiv.onclick = function() { | ||
/* * * DON'T EDIT BELOW THIS LINE * * */ | ||
(function () { | ||
var dsq = document.createElement('script'); | ||
dsq.type = 'text/javascript'; | ||
dsq.async = true; | ||
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; | ||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); | ||
})(); | ||
this.style.display = 'none'; | ||
}; | ||
</script> | ||
<!-- /disqus --> | ||
<script> | ||
const wrapper = document.getElementById('wrapper'); | ||
const sidebarBig = document.getElementById('sidebar-wrapper'); | ||
const sidebarSmall = document.getElementById('sidebar-wrapper-small'); | ||
|
||
const triggers = Array.from(document.querySelectorAll('[data-toggle="collapse"]')); | ||
for (var i = 0; i < triggers.length; i++) { | ||
triggers[i].addEventListener('click', (ev) => { | ||
const elm = ev.currentTarget; | ||
ev.preventDefault(); | ||
const selector = elm.getAttribute('href').replace('#',''); | ||
elm.classList.toggle('collapsed'); | ||
document.getElementById(selector).classList.toggle('show'); | ||
}, false); | ||
} | ||
|
||
function showBigNav() {; | ||
sidebarBig.style.display = 'block'; | ||
sidebarSmall.style.display = 'none'; | ||
} | ||
function showSmallNav() { | ||
sidebarBig.style.display = 'none'; | ||
sidebarSmall.style.display = 'block'; | ||
} | ||
|
||
const mediaQuery = window.matchMedia('(min-width:768px)'); | ||
mediaQuery.onchange = e => { | ||
if (wrapper.classList.contains('toggled')) { | ||
wrapper.classList.remove('toggled'); | ||
} else { | ||
if (e.matches) { | ||
showBigNav(); | ||
} else { | ||
showSmallNav(); | ||
} | ||
} | ||
} | ||
|
||
function setNavbar() { | ||
var condition = wrapper.classList.contains('toggled'); | ||
if (!mediaQuery.matches) { | ||
condition = !condition; | ||
} | ||
if (condition) { | ||
showSmallNav(); | ||
} else { | ||
showBigNav(); | ||
} | ||
} | ||
|
||
function toggleMenu(){ | ||
wrapper.classList.toggle('toggled'); | ||
setNavbar(); | ||
} | ||
|
||
window.onload = setNavbar; | ||
</script> | ||
<script data-goatcounter="https://f3real.goatcounter.com/count" | ||
async src="//gc.zgo.at/count.js"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.