Skip to content

Instantly share code, notes, and snippets.

View phyesix's full-sized avatar
🌏
Stalking

Ibrahim Nergiz phyesix

🌏
Stalking
View GitHub Profile
iptables -I INPUT -p tcp --dport 25 -j DROP
iptables -I INPUT -p tcp --dport 487 -j DROP
iptables-save
iptables -D INPUT -p tcp --dport 25 -j DROP
iptables -D INPUT -p tcp --dport 487 -j DROP
iptables-save
@phyesix
phyesix / gist:766da7ff974b1b506048b633c1df7dec
Last active September 3, 2020 14:37
Product Hunt Clicker
document.querySelectorAll('.postsList_bc712 li').forEach(function(element ,index) {
if(element.querySelector('button').classList.contains('newVoteButtonActive_d4567') === false ) {
setTimeout(function(){
element.querySelector('a[rel=noopener]').click();
element.querySelector('button').click();
}, 500);
}
});
@phyesix
phyesix / dddd
Created September 26, 2019 12:11
var c = {
"name":"John",
"age":30,
"cars":[ "Ford", "BMW", "Fiat" ]
}
@phyesix
phyesix / dddd
Created September 26, 2019 12:10
var c = {
"name":"John",
"age":30,
"cars":[ "Ford", "BMW", "Fiat" ]
}
@phyesix
phyesix / blog design
Last active September 17, 2019 13:05
blog design
<div class="featured-snippet-bullet-points">
<h2 class="featured-snippet-bullet-points-title">Let’s walk through a few tech strategies</h2>
<ol class="featured-snippet-bullet-points-list">
<li>Let’s walk through a few tech strategies</li>
<li>Let’s walk through a few tech strategies</li>
<li>Let’s walk through a few tech strategies</li>
<li>Let’s walk through a few tech strategies</li>
</ol>
</div>
@phyesix
phyesix / textarea types - "rows" attribute
Created August 21, 2019 15:11
textarea types - "rows" attribute
<textarea rows="50">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis in ex sed velit fermentum pellentesque. Proin condimentum et odio non blandit. Mauris vel elit tincidunt, semper erat ut, vehicula sapien.
</textarea>
@phyesix
phyesix / textarea types - "cols" attribute
Created August 21, 2019 15:09
textarea types - "cols" attribute
<textarea cols="50">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis in ex sed velit fermentum pellentesque. Proin condimentum et odio non blandit. Mauris vel elit tincidunt, semper erat ut, vehicula sapien.
</textarea>
@phyesix
phyesix / output types - "for" attribute
Created August 21, 2019 14:54
output types - "for" attribute
<form oninput="x.value=parseInt(a.value)+parseInt(b.value)">0
<input type="range" id="a" value="50">100
+<input type="number" id="b" value="50">
=<output name="x" for="a b"></output>
</form>
@phyesix
phyesix / option types - "selected" attribute
Created August 21, 2019 14:30
option types - "selected" attribute
<select>
<option value="a3">Audi A3</option>
<option value="a4">Audi A4</option>
<option value="a5">Audi A5</option>
<option value="a6" selected>Audi A6</option>
</select>
@phyesix
phyesix / option types - "label" attribute
Created August 21, 2019 14:00
option types - "label" attribute
<select>
<option label="3">Audi A3</option>
<option label="4">Audi A4</option>
<option label="5">Audi A5</option>
<option label="6">Audi A6</option>
</select>