Skip to content

Instantly share code, notes, and snippets.

View mcnaveen's full-sized avatar
🦄

Naveen MC mcnaveen

🦄
View GitHub Profile
@mcnaveen
mcnaveen / Button
Last active November 24, 2017 14:42
Simple CSS Button
<button style="background: #3498db; background-image: -webkit-linear-gradient(top, #3498db, #2980b9); background-image: -moz-linear-gradient(top, #3498db, #2980b9); background-image: -ms-linear-gradient(top, #3498db, #2980b9); background-image: -o-linear-gradient(top, #3498db, #2980b9); background-image: linear-gradient(to bottom, #3498db, #2980b9); -webkit-border-radius: 5; -moz-border-radius: 5; border-radius: 5px; font-family: Georgia; color: #ffffff; font-size: 20px; padding: 10px 20px 10px 20px; text-decoration: none;"> BUTTON TEXT Goes Here </button>
@mcnaveen
mcnaveen / TitleBarTextChangeOtherTab.txt
Last active January 29, 2019 06:38
Change Title Bar text, When switching to Other Tab
== Place the Below code, Above the </head> Tag. ===
== For WordPress, Use the Plugin. " https://wordpress.org/plugins/code-snippets/ ==
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script>
$(function () {
var message = "Hey, come back!";
var original;
.posted-on .updated {
display: inline-block;
}
.posted-on .updated + .entry-date {
display: none;
}
.posted-on .updated:before {
content: "Last Updated on ";
@mcnaveen
mcnaveen / How to Create API Key in Gotify?
Last active December 17, 2021 13:55
How to Create API Key in Gotify?
Well, This tutorial will walk you through creating your First Gotify API Key which helps in setting up your appliation.
Comment contains step by step instruction with image. Check it out.
Thanks.
@mcnaveen
mcnaveen / Chinese-Apps-Alternatives
Created June 20, 2020 13:18
List of Chinese app and their alternatives
[
{
"id":"14",
"package_name":"com.zhiliaoapp.musically",
"alternative":"com.mobilemotion.dubsmash,com.avcrbt.funimate,co.triller.droid,com.loopnow.kamino,com.facebook.lasso",
"date":"07\/06\/2020 20:39:26"
},
{
"id":"15",
"package_name":"com.zhiliaoapp.musically.go",
@mcnaveen
mcnaveen / n8n docker command.md
Last active April 27, 2023 06:33
Docker Command to Run n8n on Docker Container with Static IP Address

Create Docker Network

docker network create --subnet=172.1.0.0/16 Network Name

Run Docker Container

docker run -d --net NETWORKNAME \
--ip STATICIP \
-it \
--name n8n \
{
    "alt-speed-down": 50,
    "alt-speed-enabled": false,
    "alt-speed-time-begin": 540,
    "alt-speed-time-day": 127,
    "alt-speed-time-enabled": false,
    "alt-speed-time-end": 1020,
    "alt-speed-up": 50,
    "bind-address-ipv4": "0.0.0.0",
#!/bin/bash
# Get transmission credentials and ip or dns address
auth=user:password
host=localhost

while true ; do
sleep 25
add_trackers () {
    torrent_hash=$1

Keybase proof

I hereby claim:

  • I am mcnaveen on github.
  • I am mcnaveen (https://keybase.io/mcnaveen) on keybase.
  • I have a public key ASCNlfaPmdurN3gGS0tWiBD4hKUD6xV1CEMiF0D_ZHzsTQo

To claim this, I am signing this object:

@mcnaveen
mcnaveen / URL-encoding : ASCII Character.md
Created October 4, 2020 19:55
HTML Encoding Reference
  • %20 : space
  • %21 : !
  • %22 : “
  • %23 : #
  • %24 : $
  • %25 : %
  • %26 : &
  • %27 : ‘
  • %28 : (
  • %29 : )