-
JITT Holdings, Inc.
- Illinois
- subrosagames.com
- in/ben-joshua-jitt
Pinned Loading
-
gist Table of Contents
gist Table of Contents 12# jittdev's Gists
3## Table of Contents
4### Categories: [#ALGORITHMS](#ALGORITHMS-9) | [#Angular](#Angular-8) | [#api](#api-12) | [#Bootstrap5](#Bootstrap5-1) | [#C](#C-25) | [#CRON](#CRON-2) | [#DataGrip](#DataGrip-1) | [#DataScience](#DataScience-1) | [#DOCKER](#DOCKER-2) | [#error](#error-2) | [#error_reporting](#error_reporting-1) | [#git](#git-4) | [#HTML](#HTML-1) | [#Javascript](#Javascript-24) | [#Objective](#Objective-4) | [#PostgreSQL](#PostgreSQL-3) | [#Python](#Python-63) | [#REACT](#REACT-1) | [#React](#React-3) | [#REST](#REST-2) | [#RSpec](#RSpec-10) | [#Ruby](#Ruby-36) | [#shell](#shell-17) | [#SSL](#SSL-2) | [#USEFUL](#USEFUL-1) | [#VS](#VS-16) | [#VUE](#VUE-2) | [#Wordpress](#Wordpress-4) | [#XXXNoWork](#XXXNoWork-1) | [#Uncategorized](#Uncategorized-4)
5### ALGORITHMS (*9*)
-
Copy Constructor :: #C++
Copy Constructor :: #C++ 1// Automatic Copy Constructor provides an automatic copy constructor for our class if we do not provide a custom one.
23// The automatic copy constructor will copy the contents of all member variables.
45/* Custom Copy Constructor must:
-
i/o files :: #Python Advanced
i/o files :: #Python Advanced 1my_file = open('test.txt')
23print(my_file.read()) #reads last line once
4my_file.seek(0) #puts the file cursor back to start (at last line)
5 -
Recursion II Arrays and Objects :: #...
Recursion II Arrays and Objects :: #Javascript 1// adding all the elements of a limitless nested array
2function arraySum(anArr) {
3let sum = 0;
4for (let i = 0; i < anArr.length; i++) {
5let element = anArr[i];
-
new rails 7 with bootstrap 5 :: #Rub...
new rails 7 with bootstrap 5 :: #Ruby / Rails 1rails new my_app_name -j esbuild -css bootstrap -d mysql #-O for no db/activerecord
2cd my_app_name
3rails javascript:install:webpack
4rails css:install:bootstrap
5rails assets:clobber
-
RUBY Example of using JSON response ...
RUBY Example of using JSON response :: #REST 1# put this in a ruby_file.rb
2#!/usr/bin/env ruby
3require 'rest-client'
4require 'awesome_print'
5require 'json'
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.