Skip to content

Instantly share code, notes, and snippets.

View Nerajno's full-sized avatar
🎯
Focusing on building that developer muscle.

Nerando Johnson Nerajno

🎯
Focusing on building that developer muscle.
View GitHub Profile
@Nerajno
Nerajno / gist:00fe7bc733acd06dfe2ef7130d78566b
Created January 27, 2019 22:46
Other ppls gist ==> Ruby Cli
##################
# shared methods #
##################
def welcome
# code #welcome here
end
def deal_card
rand(1..11)
@Nerajno
Nerajno / gist:d08f18f5c1d014f1e22a2cb77a0f6b6e
Last active January 27, 2019 22:44
Ruby- Simple black jack
def welcome
puts"Welcome to the Blackjack Table"
end
def deal_card
# code #deal_card here
rand(1..11)
end
def display_card_total(initial_round)
@Nerajno
Nerajno / gist:70a4d3b6858c28ed898f0ace90d3f832
Created December 12, 2018 06:25
Extra work ==> Jquery 301
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Car ordering form</title>
</head>
<body>
<!-- Make an order form for a car
@Nerajno
Nerajno / gist:eff1ee87b63a6c45bdc406bf07ad6b76
Last active September 18, 2018 11:07
rock paper scissors
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Rock-Paper_Scissors</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- <link rel="stylesheet" type="text/css" media="screen" href="main.css" />
<script src="main.js"></script> -->
Apples and Bananas
Given this HTML_BODY_CONTENT:
<h1 id="header"></h1>
<button id="i">I</button>
<button id="like">like</button>
<button id="to">to</button>
<button id="eat">eat</button>
<button id="apples">apples</button>
<button id="bananas">bananas</button>
@Nerajno
Nerajno / pyg_latin_translator
Created March 12, 2018 11:43
pyg_latin_translator in python
# Write a program to ask the user to enter an English phrase, and then print
# the Pig Latin version of that phrase
def pyg_latin_wrd(word):
vowels = ['a','e','i','o','u']
consonant_groups = ['ch','tr','dr','th','wh']
strt_char = ''
rtnd_wrd = ''
counter = 0
while counter < len(word):
@Nerajno
Nerajno / exercise_2.py
Last active November 2, 2017 15:48
HW 2
# # # Lesson 2 Exercises
#
# # ## NOTE Degree Conversion Calculator 1
# # Ask the user for a temperature in Fahrenheit, tell them the equivalent
# # temperature in Celsius.
# #
# # # Solutions
# # query = int(input(" What is the temperature in Fahrenheit ?"))
# # conversion_to_Celius = (query-32)*0.5556
# # Sentence0 = "The temperature is "
@Nerajno
Nerajno / .js
Created July 11, 2017 19:42
weather app js link
$(document).ready(function(){
var long;
var lat;
var cTemp;
var fTemp;
//DATE AND TIME//
//Converted into days, months, hours, day-name, AM/PM
var dt = new Date()
@Nerajno
Nerajno / Contract Killer 3.md
Created March 31, 2017 16:50
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post