Skip to content

Instantly share code, notes, and snippets.

View nolvuscodes's full-sized avatar
:octocat:
Background Ninja

Nolvus nolvuscodes

:octocat:
Background Ninja
View GitHub Profile
@nolvuscodes
nolvuscodes / README-TEMPLATE.md
Created April 11, 2019 00:34
A template to make good README.md file

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@nolvuscodes
nolvuscodes / StartClient.bat
Created April 11, 2019 01:56
This will allow you to start you Minecraft Java Client silently and minimized. Below is a working copy also, just add it in your %appdata%.minecraft folder where your Launcher.jar is and your good to go. Any questions, please visit https://github.com/NanobugXL/CLI-Launcher/blob/master/.github/ISSUE_TEMPLATE/comments.md
> @echo off if not defined PIL (
> set PIL=1
> start /min "" %~0
> exit /b )
> Title ...... Loading echo "Hey, thanks for using WingateXL CLI" && pause echo The Time Now is %DATE% Title Hang on a
> moment..... **rem PLEASE KEEP THIS IP IF YOU WANT FOR CREDIT AND YOU CAN
> ALSO DELETE THIS LINE, ONLY THIS IN BOLD** timeout 5 && echo Be sure to visit our Pro
> Builders Server at 158.69.33.159-25567 & timeout 3 echo Enjoy your
> game Builder! java -jar launcher.jar --server **[ADD SERVER IP/ADDRESS HERE]** --port **[ADD PORT HERE]** -Xms1G -Xmx3G -d64 -jar
> minecraft_server.1.13.2.jar nogui

How to Create an Electron Installation Packer

To-Do First

Please dont forget to add this once you are done with your project and you want to start packing up for deployment. Follow the steps below to get started:

# For use in npm scripts (recommended)
npm install electron-packager --save-dev

# For use from the CLI

npm install electron-packager -g

@nolvuscodes
nolvuscodes / githubcorner.md
Created April 18, 2019 04:25
Corner Style Github Ribbon That Animates a Wave on Mouse Over

See Below Pic for Example

<a href="https://github.com/USERNAME/REPO" class="github-corner" aria-label="View source on Github" target="_blank"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#f44336; color:#ECEFF1; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96
@nolvuscodes
nolvuscodes / nativefier.json
Last active April 20, 2019 17:11
Natifier.Json Setup & Templates. Just create your project folder, put these there and run npm install to install all the node mods, then run npm --name "APPTITLE" "https://www.office.com/?omkt=en-us" and your done
{
"name":"National Crisis Map",
"targetUrl":"https://google.org/crisismap/usa?topics=met&gl=US&hl=en&llbox=",
"counter":false,
"bounce":false,
"width":1280,
"height":800,
"showMenuBar":false,
"fastQuit":false,
"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36",
@nolvuscodes
nolvuscodes / Contributing.md
Created April 21, 2019 16:19
Contribute.md

Contributing

Feel free to fork this repo and submit changes or adding new Feaatures! When you fork this, please:

  1. Create your feture branch (git checkout -b my-new-feature)
  2. Commit your changes (git commit -am 'Add some feature')
  3. Push to the branch (git push origin my-new-feature)
  4. Create new Pull Request
@nolvuscodes
nolvuscodes / webapp.swift
Created October 21, 2019 07:46
A WebKit Swift App looks like and is an example for the latest XCODE 10.5
//
// ViewController.swift
// GoogleMe
//
// Created by Nanobug on 10/20/19.
// Copyright © 2019 Westgate Studio. All rights reserved.
//
//
// ViewController.swift
@nolvuscodes
nolvuscodes / Tutorial.md
Created January 6, 2020 11:14
A short discord.js tutorial with examples

Discord.js Tutorial - a short tutorial

After this tutorial you are able to code a cool bot with many commands and a level system.

Setup

Did you ever want to write your own bot but you think you are too bad for it or you don't have motivation to do so? Stop thinking that way. Writing discord bots using discord.js is really, really, easy if you know some javascript basics.

In this tutorial we will use some ES6, which makes javascript more powerful. If you have never heard of ES6, I'll explain some stuff whenever I use it. Found a mistake? Just comment.

<html>
<head>
<meta name="google-signin-client_id" content="188042955796-9aeupnhgu1j5p46unsjs3cln8aqt3f79.apps.googleusercontent.com">
</head>
<body>
<div id="my-signin2"></div>
<script>
function onSuccess(googleUser) {
console.log('Logged in as: ' + googleUser.getBasicProfile().getName());
}
@nolvuscodes
nolvuscodes / app4beginners.md
Last active April 29, 2020 02:00
Getting Started With Your Own App Idea for Beginners in 10 Steps
  • Generate an App Idea
  • Do Competative Marketing Research
  • Write Out the Features for Your App
  • Make Design Mockups of Your App
  • Create Your App's Generic Design
  • Put Together An App Marketing Plan
  • Build the App With One of These Options
  • Submit Your App to the App Store Somewhere of Value
  • Market Your App for Maximum Exposure using Social Media
  • Improve Your App With User Feedback