This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "meta": { | |
| "theme": "professional", | |
| "lastModified": "2025-04-04T10:30:00.000Z" | |
| }, | |
| "basics": { | |
| "name": "Navneet Pandey", | |
| "label": "Lead Software Engineer", | |
| "email": "npandey057@gmail.com", | |
| "phone": "89476520", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # @param {Integer[]} start_time | |
| # @param {Integer[]} end_time | |
| # @param {Integer[]} profit | |
| # @return {Integer} | |
| def job_scheduling(start_time, end_time, profit) | |
| job_pool = [] | |
| (0..start_time.length-1).each do |i| | |
| job_pool << [start_time[i], end_time[i], profit[i]] | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class LychrelNumber | |
| def run(n) | |
| max_iteratoins = 10 | |
| value = n | |
| steps = 0 | |
| converge = false | |
| (1..max_iteratoins).each do |i| | |
| reverse = reverse(value) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var secret_key = postman.getEnvironmentVariable('secret_key'); | |
| var access_id = postman.getEnvironmentVariable('access_id'); | |
| var method = request.method; | |
| var content_type = 'application/json'; | |
| console.log(request.data); | |
| var md5 = CryptoJS.MD5(request.data); | |
| var content_md5 = md5.toString(CryptoJS.enc.Base64); | |
| var request_url = request.url; | |
| var request_uri = request_url.replace(/^.*\/\/[^\/]+/, ''); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Parent Component: | |
| ... | |
| provide () { | |
| return { parentValidator: this.$validator } | |
| }, | |
| ... | |
| Child Component: | |
| ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.time.*; | |
| import java.time.format.DateTimeFormatter; | |
| import java.time.format.FormatStyle; | |
| import java.time.temporal.ChronoUnit; | |
| import java.time.temporal.TemporalAdjusters; | |
| import java.util.*; | |
| import static java.time.temporal.TemporalAdjusters.*; | |
| public class Java8DateTimeExamples { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git branch --merged | grep -v "\*" | grep -v master | grep -v dev | xargs -n 1 git branch -d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| clearfunds.dashboard.autoInvestOrder = { | |
| init: function() { | |
| clearfunds.autoInvestOrderForm.init(); | |
| this.showDatePicker(); | |
| this.loseFocusFromDate(); | |
| }, | |
| disableInvestmentDates: function(date) { | |
| var string = jQuery.datepicker.formatDate('dd-mm-yy', date); | |
| var eventDates = clearfunds.dashboard.autoInvestOrder.getEventDates(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| group :development do | |
| gem 'quiet_assets' | |
| gem "better_errors" | |
| gem 'binding_of_caller' | |
| end | |
| group :development, :test do | |
| gem 'spring' | |
| gem "awesome_print", require:"ap" | |
| gem "pry-rails" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "keys": ["super+alt+left"], | |
| "command": "set_layout", | |
| "args": | |
| { | |
| "cols": [0.0, 0.33, 1.0], | |
| "rows": [0.0, 1.0], | |
| "cells": [[0, 0, 1, 1], [1, 0, 2, 1]] | |
| } |
NewerOlder