From 995e5d343b344aec14a6269c0649e8ca4712f6a4 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Thu, 9 Nov 2023 06:05:37 +0000 Subject: [PATCH] Get recent pastes --- pastes/pastes_20231109060537.csv | 4970 ++++++++++++++++++++++++++++++ 1 file changed, 4970 insertions(+) create mode 100644 pastes/pastes_20231109060537.csv diff --git a/pastes/pastes_20231109060537.csv b/pastes/pastes_20231109060537.csv new file mode 100644 index 0000000..d339402 --- /dev/null +++ b/pastes/pastes_20231109060537.csv @@ -0,0 +1,4970 @@ +id,title,username,language,date,content +AWzpzhrq,BTC Wallet Credentials have been reset,VQ-Moe,GetText,Wednesday 8th of November 2023 11:52:20 PM CDT,"Dear User +We have received a request to reset the login information for your Bitcoin wallet. If you did not make this request, please contact us immediately. + +Your new login credentials will be: +josli45:KoE3dG1 on 159.223.212.34 +You can connect via SSH. + +Regards +BT199227" +RAGGHudM,BTC Wallet Credentials have been reset,castlclass_20,GetText,Wednesday 8th of November 2023 11:49:48 PM CDT,"Dear User +We have received a request to reset the login information for your Bitcoin wallet. If you did not make this request, please disregard this message. +Your new login credentials will be +Obisse9q:yNGMwJ on 212.224.93.130 +You can connect via SSH. +Regards" +3VLhELWb,filter,rvdraws,JSON,Wednesday 8th of November 2023 11:41:15 PM CDT,"[{ + c: ""name"", + v: [2,3] + st: 1, +}, +{ + c: ""refId"", + v: [4,5,6] + st: 1, +} +] +t: ""table1"" +p: [1,10] +o: 1" +tvXNURGv,53. Maximum Subarray,micahbales,JavaScript,Wednesday 8th of November 2023 10:46:45 PM CDT,"/** +* Problem statement: +* +* File this one under: ""Easy if you already know the answer."" +* +* https://en.wikipedia.org/wiki/Maximum_subarray_problem +*/ + +/* Kadane's algorithm */ + +/** + * @param {number[]} nums + * @return {number} + */ +var maxSubArray = function(nums) { + let bestSum = -Infinity + let currentSum = 0 + for (const num of nums) { + currentSum = Math.max(num, currentSum + num) + bestSum = Math.max(bestSum, currentSum) + } + return bestSum +};" +mGau1Zyi,Untitled,NAHID_GTC,C,Wednesday 8th of November 2023 10:35:14 PM CDT,"#include + +// Function to convert a decimal number to binary +long long DecimalToBinaryConversion(int decimalNum) { + long long binaryNum = 0; + int remainder, position = 1; + + while (decimalNum > 0) { + remainder = decimalNum % 2; + binaryNum += remainder * position; + decimalNum /= 2; + position *= 10; + } + + return binaryNum; +} + +int main() { + int decimalNum; + + printf(""Enter a decimal number: ""); + scanf(""%d"", &decimalNum); + + if (decimalNum < 0) { + printf(""Invalid input. Please enter a non-negative decimal number.\n""); + return 1; + } + + long long binaryNum = DecimalToBinaryConversion(decimalNum); + + printf(""Binary equivalent: %lld\n"", binaryNum); + + return 0; +} +" +AEVL4Y28,Untitled,NAHID_GTC,C,Wednesday 8th of November 2023 10:34:47 PM CDT,"#include + +int main() { + int arr[100] = {0}; + int size = 0; + + printf(""Enter the number of elements you want to insert: ""); + scanf(""%d"", &size); + + if (size < 1 || size > 100) { + printf(""Invalid array size. Size should be between 1 and 100.\n""); + return 1; + } + + printf(""Enter %d elements:\n"", size); + for (int i = 0; i < size; i++) { + scanf(""%d"", &arr[i]); + } + + printf(""Array before insertion: ""); + for (int i = 0; i < size; i++) { + printf(""%d "", arr[i]); + } + printf(""\n""); + + int element, index; + printf(""Enter the element you want to insert: ""); + scanf(""%d"", &element); + printf(""Enter the index at which you want to insert the element: ""); + scanf(""%d"", &index); + + if (index < 0 || index >= size) { + printf(""Invalid index. Index should be between 0 and %d.\n"", size - 1); + return 1; + } + + // Shift elements to the right to make space for the new element + for (int i = size; i > index; i--) { + arr[i] = arr[i - 1]; + } + + // Insert the element at the proper position + arr[index] = element; + size++; + + printf(""Array after insertion: ""); + for (int i = 0; i < size; i++) { + printf(""%d "", arr[i]); + } + printf(""\n""); + + return 0; +} +" +3RMm1aSK,snowybot the best bot ever made.,coinwalk,JavaScript,Wednesday 8th of November 2023 09:09:07 PM CDT,"var originalbal = parseFloat(document.getElementById('pct_balance').value); +var divide = 80000; +var changer = (originalbal/20); +var base = Number((originalbal/divide).toFixed(8)); +var floatingbase = base; +var taget = (originalbal*7); +var groupedten = (base*10); +var groupedseven = (base*6.5); +var tobetnext = ((floatingbase*1).toFixed(8)); +var bolance = originalbal; +var over = 6.9; +var under = 2.9; +var fart = 2; +var freak = false; +var oldbolance = ((Math.floor(originalbal/groupedten))*groupedten); +var oldbolancetree = ((Math.floor(originalbal/groupedten))*groupedten); +var oldbolancetwo = ((Math.floor(originalbal/groupedten))*groupedten); + + function getR(minz, maxz) { + minz = Math.ceil(minz); + maxz = Math.floor(maxz); + return Math.floor(Math.random() * (maxz - minz + 1)) + minz; +} + + +function get(){ +console.clear(); +setTimeout(function(){ +bolance = document.getElementById('pct_balance').value; +if ((bolance>(oldbolance+(floatingbase*over)))&&(bolance>oldbolancetwo)) { + floatingbase = floatingbase*2; + over = 4.9; + under = 4.9; + freak = true; + oldbolance = parseFloat(bolance); +} +if ((bolance>(oldbolance+(floatingbase*over)))&&(bolance=(oldbolancetree+(groupedten*fart)))&&(bolance<(((Math.floor(bolance/groupedten))*groupedten)+groupedseven))){ + floatingbase = base; + fart = 2; + over = 6.9; + under = 2.9; + freak = false; + oldbolance = ((Math.floor(bolance/groupedten))*groupedten); + oldbolancetwo = ((Math.floor(bolance/groupedten))*groupedten); + oldbolancetree = ((Math.floor(bolance/groupedten))*groupedten); +} +if ((floatingbase>=(bolance/changer))&&(bolancebase)&&(bolance<(((Math.floor(bolance/groupedten))*groupedten)+groupedseven))){ + floatingbase = base; + fart = 0; + over = 6.9; + under = 2.9; + oldbolance = ((Math.floor(bolance/groupedten))*groupedten); + oldbolancetwo = ((Math.floor(bolance/groupedten))*groupedten); +} +if ((floatingbase>=(bolance/changer))&&(bolancebase)&&(bolance>(((Math.floor(bolance/groupedten))*groupedten)+groupedseven))){ + floatingbase = base*2; + fart = 0; + over = 4.9; + under = 4.9; + oldbolance = parseFloat(bolance); + oldbolancetwo = ((Math.floor(bolance/groupedten))*groupedten); +} + if (bolance >= taget) { + console.log(""winner winner chicken dinner""); + return; + } +tobetnext = ((floatingbase*1).toFixed(8)); +$('#pct_chance').val(49.5); +$('#pct_bet').val(tobetnext); +$('#a_lo').click(); +}, (getR(100,200))); +var good = ((bolance-originalbal).toFixed(8)); +console.log(""profit""); +console.log(good); +setTimeout(() => get(), (getR(200,300))); +} +get();" +tzBg0TkT,Sic Bo,excellent940707,C,Wednesday 8th of November 2023 08:26:21 PM CDT,"#include +#include +#include +using namespace std; +bool game(int a, int b, int c, int wager){ + if(wager==1){ + if(a==3&&b==3&&c==3)return false; + else if(a==5&&b==5&&c==5)return false; + else if((a+b+c)==3)return false; + else if((a+b+c)%2==1)return true; + else return false; + } + else{ + if(a==2&&b==2&&c==2)return false; + else if(a==4&&b==4&&c==4)return false; + else if((a+b+c)==18)return false; + else if((a+b+c)%2==0)return true; + else return false; + } +} +int main(){ + srand(time(NULL)); + int t=1000; + double win=0, lose=0; + while(t--){ + bool result=game(rand()%6+1, rand()%6+1, rand()%6+1, rand()%2); + if(result)win++; + else lose++; + } + printf(""%.5f\n"",win/(win+lose)); + return 0; +}" +qSEFX2DF,Summary Stats,UF6,Python,Wednesday 8th of November 2023 07:47:06 PM CDT,"import pandas as pd +import numpy as np +import matplotlib.pyplot as plt +from scipy.stats import norm + +# Replace 'B5 segmentSummary (1).csv' with the actual CSV file path +file_path = 'B5 segmentSummary (1).csv' + +# Define the range of column positions you want to analyze (columns 6 through 10) +start_column_position = 6 # Corresponds to column 6 +end_column_position = 9 # Corresponds to column 10 + +# Read the CSV file into a Pandas DataFrame +df = pd.read_csv(file_path) + +# Select columns 6 through 10 for analysis +selected_columns = df.iloc[:, start_column_position:end_column_position + 1] + +# Calculate summary statistics for the selected columns +summary_statistics = selected_columns.describe() + +# Transpose the summary statistics for plotting +summary_statistics = summary_statistics.T + +# Create a grouped bar plot for the selected statistics +plt.figure(figsize=(12, 6)) +x = range(len(summary_statistics.index)) +bar_width = 0.15 + +# Define the statistics to plot +statistics_to_plot = ['mean', 'std', 'min', '25%', '50%', '75%', 'max'] + +for i, statistic in enumerate(statistics_to_plot): + plt.bar( + [pos + i * bar_width for pos in x], + summary_statistics[statistic], + width=bar_width, + label=statistic + ) + +plt.xlabel('Columns') +plt.ylabel('Values') +plt.title('Summary Statistics for Selected Columns') +plt.xticks([pos + 3 * bar_width for pos in x], summary_statistics.index, rotation=45) +plt.legend() + +# Adjust layout +plt.tight_layout() + +# Create a figure with subplots for each Gaussian distribution +plt.figure(figsize=(12, 6)) + +# Define the x-axis range for the plots +x_range = np.linspace(selected_columns.min().min(), selected_columns.max().max(), 1000) + +# Iterate through the selected columns and analyze them +for i, col in enumerate(selected_columns.columns): + plt.subplot(2, 2, i + 1) # Create subplots in a 2x2 grid + target_column = selected_columns[col] + mean = target_column.mean() + std_dev = target_column.std() + + # Fit a Gaussian distribution + fitted_data = norm.pdf(x_range, mean, std_dev) + + # Plot the Gaussian distribution + plt.plot(x_range, fitted_data, 'b-', linewidth=2, label='Fitted Gaussian') + + # Plot the original data as a histogram + plt.hist(target_column, bins=30, density=True, alpha=0.7, color='gray', label='Data Histogram') + + # Add labels and title with the target column name + plt.xlabel('Values') + plt.ylabel('Frequency') + plt.title(f'Gaussian Fit for {col}') + + # Show the mean shift + plt.axvline(mean, color='red', linestyle='dashed', linewidth=2, label='Mean Shift') + + # Add a legend + plt.legend() + +# Adjust layout +plt.tight_layout() + +# Show the plots +plt.show() +" +MTjgdAgw,Team Member Repeat Elementor Widgets,salmancreation,PHP,Wednesday 8th of November 2023 07:20:43 PM CDT,"start_controls_section( + '_section_title', + [ + 'label' => __('Title & Description', 'bdevselement'), + 'tab' => Controls_Manager::TAB_CONTENT, + 'condition' => [ + 'design_style' => ['style_10'] + ], + ] + ); + + $this->add_control( + 'title', + [ + 'label' => __('Title', 'bdevselement'), + 'label_block' => true, + 'type' => Controls_Manager::TEXTAREA, + 'rows' => 4, + 'default' => 'Heading Title', + 'placeholder' => __('Heading Text', 'bdevselement'), + 'dynamic' => [ + 'active' => true, + ] + ] + ); + + + $this->end_controls_section(); + + + // member list + $this->start_controls_section( + '_section_slides', + [ + 'label' => __( 'Members List', 'bdevselement' ), + 'tab' => Controls_Manager::TAB_CONTENT, + ] + ); + + $repeater = new Repeater(); + + $repeater->start_controls_tabs( + '_tab_style_member_box_slider' + ); + + $repeater->start_controls_tab( + '_tab_member_info', + [ + 'label' => __( 'Information', 'bdevselement' ), + ] + ); + + $repeater->add_control( + 'image', + [ + 'type' => Controls_Manager::MEDIA, + 'label' => __( 'Image', 'bdevselement' ), + 'default' => [ + 'url' => Utils::get_placeholder_image_src(), + ], + 'dynamic' => [ + 'active' => true, + ] + ] + ); + + $repeater->add_control( + 'title', + [ + 'type' => Controls_Manager::TEXT, + 'label_block' => true, + 'label' => __( 'Title', 'bdevselement' ), + 'default' => __( 'BDevs Member Title', 'bdevselement' ), + 'placeholder' => __( 'Type title here', 'bdevselement' ), + 'dynamic' => [ + 'active' => true, + ] + ] + ); + + $repeater->add_control( + 'designation', + [ + 'type' => Controls_Manager::TEXT, + 'label_block' => true, + 'show_label' => true, + 'label' => __( 'Job Title', 'bdevselement' ), + 'default' => __( 'BDevs Officer', 'bdevselement' ), + 'placeholder' => __( 'Type designation here', 'bdevselement' ), + 'dynamic' => [ + 'active' => true, + ] + ] + ); + + $repeater->add_control( + 'slide_url', + [ + 'type' => Controls_Manager::TEXT, + 'label_block' => true, + 'show_label' => false, + 'placeholder' => __( 'Type link here', 'bdevselement' ), + 'default' => __( '#', 'bdevselement' ), + 'dynamic' => [ + 'active' => true, + ] + ] + ); + + $repeater->end_controls_tab(); + + $repeater->start_controls_tab( + '_tab_member_links', + [ + 'label' => __( 'Links', 'bdevselement' ), + ] + ); + + $repeater->add_control( + 'show_social', + [ + 'label' => __( 'Show Options?', 'bdevselement' ), + 'type' => Controls_Manager::SWITCHER, + 'label_on' => __( 'Yes', 'bdevselement' ), + 'label_off' => __( 'No', 'bdevselement' ), + 'return_value' => 'yes', + 'style_transfer' => true, + ] + ); + + $repeater->add_control( + 'web_title', + [ + 'type' => Controls_Manager::TEXT, + 'label_block' => false, + 'label' => __( 'Website Address', 'bdevselement' ), + 'placeholder' => __( 'Add your profile link', 'bdevselement' ), + 'dynamic' => [ + 'active' => true, + ] + ] + ); + + $repeater->add_control( + 'email_title', + [ + 'type' => Controls_Manager::TEXT, + 'label_block' => false, + 'label' => __( 'Email', 'bdevselement' ), + 'placeholder' => __( 'Add your email link', 'bdevselement' ), + 'dynamic' => [ + 'active' => true, + ] + ] + ); + + $repeater->add_control( + 'phone_title', + [ + 'type' => Controls_Manager::TEXT, + 'label_block' => false, + 'label' => __( 'Phone', 'bdevselement' ), + 'placeholder' => __( 'Add your phone link', 'bdevselement' ), + 'dynamic' => [ + 'active' => true, + ] + ] + ); + + $repeater->add_control( + 'facebook_title', + [ + 'type' => Controls_Manager::TEXT, + 'label_block' => false, + 'label' => __( 'Facebook', 'bdevselement' ), + 'default' => __( '#', 'bdevselement' ), + 'placeholder' => __( 'Add your facebook link', 'bdevselement' ), + 'dynamic' => [ + 'active' => true, + ] + ] + ); + + $repeater->add_control( + 'twitter_title', + [ + 'type' => Controls_Manager::TEXT, + 'label_block' => false, + 'label' => __( 'Twitter', 'bdevselement' ), + 'default' => __( '#', 'bdevselement' ), + 'placeholder' => __( 'Add your twitter link', 'bdevselement' ), + 'dynamic' => [ + 'active' => true, + ] + ] + ); + + $repeater->add_control( + 'instagram_title', + [ + 'type' => Controls_Manager::TEXT, + 'label_block' => false, + 'label' => __( 'Instagram', 'bdevselement' ), + 'default' => __( '#', 'bdevselement' ), + 'placeholder' => __( 'Add your instagram link', 'bdevselement' ), + 'dynamic' => [ + 'active' => true, + ] + ] + ); + + $repeater->add_control( + 'linkedin_title', + [ + 'type' => Controls_Manager::TEXT, + 'label_block' => false, + 'label' => __( 'LinkedIn', 'bdevselement' ), + 'default' => __( '#', 'bdevselement' ), + 'placeholder' => __( 'Add your linkedin link', 'bdevselement' ), + 'dynamic' => [ + 'active' => true, + ] + ] + ); + + $repeater->add_control( + 'youtube_title', + [ + 'type' => Controls_Manager::TEXT, + 'label_block' => false, + 'label' => __( 'Youtube', 'bdevselement' ), + 'placeholder' => __( 'Add your youtube link', 'bdevselement' ), + 'dynamic' => [ + 'active' => true, + ] + ] + ); + + $repeater->add_control( + 'googleplus_title', + [ + 'type' => Controls_Manager::TEXT, + 'label_block' => false, + 'label' => __( 'Google Plus', 'bdevselement' ), + 'placeholder' => __( 'Add your Google Plus link', 'bdevselement' ), + 'dynamic' => [ + 'active' => true, + ] + ] + ); + + $repeater->add_control( + 'flickr_title', + [ + 'type' => Controls_Manager::TEXT, + 'label_block' => false, + 'label' => __( 'Flickr', 'bdevselement' ), + 'placeholder' => __( 'Add your flickr link', 'bdevselement' ), + 'dynamic' => [ + 'active' => true, + ] + ] + ); + + $repeater->add_control( + 'vimeo_title', + [ + 'type' => Controls_Manager::TEXT, + 'label_block' => false, + 'label' => __( 'Vimeo', 'bdevselement' ), + 'placeholder' => __( 'Add your vimeo link', 'bdevselement' ), + 'dynamic' => [ + 'active' => true, + ] + ] + ); + + $repeater->add_control( + 'behance_title', + [ + 'type' => Controls_Manager::TEXT, + 'label_block' => false, + 'label' => __( 'Behance', 'bdevselement' ), + 'placeholder' => __( 'Add your hehance link', 'bdevselement' ), + 'dynamic' => [ + 'active' => true, + ] + ] + ); + + $repeater->add_control( + 'dribble_title', + [ + 'type' => Controls_Manager::TEXT, + 'label_block' => false, + 'label' => __( 'Dribbble', 'bdevselement' ), + 'placeholder' => __( 'Add your dribbble link', 'bdevselement' ), + 'dynamic' => [ + 'active' => true, + ] + ] + ); + + $repeater->add_control( + 'pinterest_title', + [ + 'type' => Controls_Manager::TEXT, + 'label_block' => false, + 'label' => __( 'Pinterest', 'bdevselement' ), + 'placeholder' => __( 'Add your pinterest link', 'bdevselement' ), + 'dynamic' => [ + 'active' => true, + ] + ] + ); + + $repeater->add_control( + 'gitub_title', + [ + 'type' => Controls_Manager::TEXT, + 'label_block' => false, + 'label' => __( 'Github', 'bdevselement' ), + 'placeholder' => __( 'Add your github link', 'bdevselement' ), + 'dynamic' => [ + 'active' => true, + ] + ] + ); + + $repeater->end_controls_tab(); + $repeater->end_controls_tabs(); + + // REPEATER + $this->add_control( + 'slides', + [ + 'show_label' => false, + 'type' => Controls_Manager::REPEATER, + 'fields' => $repeater->get_controls(), + 'title_field' => '<# print(title || ""Carousel Item""); #>', + 'default' => [ + [ + 'image' => [ + 'url' => Utils::get_placeholder_image_src(), + ], + ], + [ + 'image' => [ + 'url' => Utils::get_placeholder_image_src(), + ], + ], + [ + 'image' => [ + 'url' => Utils::get_placeholder_image_src(), + ], + ], + [ + 'image' => [ + 'url' => Utils::get_placeholder_image_src(), + ], + ], + [ + 'image' => [ + 'url' => Utils::get_placeholder_image_src(), + ], + ] + ] + ] + ); + + $this->add_group_control( + Group_Control_Image_Size::get_type(), + [ + 'name' => 'thumbnail', + 'default' => 'medium_large', + 'separator' => 'before', + 'exclude' => [ + 'custom' + ] + ] + ); + + $this->add_control( + 'title_tag', + [ + 'label' => __( 'Title HTML Tag', 'bdevselement' ), + 'type' => Controls_Manager::CHOOSE, + 'options' => [ + 'h1' => [ + 'title' => __( 'H1', 'bdevselement' ), + 'icon' => 'eicon-editor-h1' + ], + 'h2' => [ + 'title' => __( 'H2', 'bdevselement' ), + 'icon' => 'eicon-editor-h2' + ], + 'h3' => [ + 'title' => __( 'H3', 'bdevselement' ), + 'icon' => 'eicon-editor-h3' + ], + 'h4' => [ + 'title' => __( 'H4', 'bdevselement' ), + 'icon' => 'eicon-editor-h4' + ], + 'h5' => [ + 'title' => __( 'H5', 'bdevselement' ), + 'icon' => 'eicon-editor-h5' + ], + 'h6' => [ + 'title' => __( 'H6', 'bdevselement' ), + 'icon' => 'eicon-editor-h6' + ] + ], + 'default' => 'h3', + 'toggle' => false, + ] + ); + + $this->add_responsive_control( + 'align', + [ + 'label' => __( 'Alignment', 'bdevselement' ), + 'type' => Controls_Manager::CHOOSE, + 'options' => [ + 'left' => [ + 'title' => __( 'Left', 'bdevselement' ), + 'icon' => 'fa fa-align-left', + ], + 'center' => [ + 'title' => __( 'Center', 'bdevselement' ), + 'icon' => 'fa fa-align-center', + ], + 'right' => [ + 'title' => __( 'Right', 'bdevselement' ), + 'icon' => 'fa fa-align-right', + ], + ], + 'toggle' => true, + 'selectors' => [ + '{{WRAPPER}} .single-carousel-item' => 'text-align: {{VALUE}};' + ] + ] + ); + + $this->end_controls_section(); + + $this->start_controls_section( + '_section_settings', + [ + 'label' => __( 'Design Style', 'bdevselement' ), + 'tab' => Controls_Manager::TAB_CONTENT, + ] + ); + + $this->add_control( + 'design_style', + [ + 'label' => __( 'Design Style', 'bdevselement' ), + 'type' => Controls_Manager::SELECT, + 'options' => [ + 'style_1' => __( 'Style 1', 'bdevselement' ), + 'style_2' => __( 'Style 2', 'bdevselement' ), + ], + 'default' => 'style_1', + 'frontend_available' => true, + 'style_transfer' => true, + ] + ); + $this->add_control( + 'slider_active', + [ + 'label' => __( 'Slider active on/off', 'bdevselement' ), + 'type' => Controls_Manager::SWITCHER, + 'default' =>true, + 'condition' => [ + 'design_style' => ['style_10'] + ], + ] + ); + $this->add_control( + 'animation_speed', + [ + 'label' => __( 'Animation Speed', 'bdevselement' ), + 'type' => Controls_Manager::NUMBER, + 'min' => 100, + 'step' => 10, + 'max' => 10000, + 'default' => 300, + 'description' => __( 'Slide speed in milliseconds', 'bdevselement' ), + 'frontend_available' => true, + 'condition' => [ + 'design_style' => ['style_10'] + ], + ] + ); + + $this->add_control( + 'autoplay', + [ + 'label' => __( 'Autoplay?', 'bdevselement' ), + 'type' => Controls_Manager::SWITCHER, + 'label_on' => __( 'Yes', 'bdevselement' ), + 'label_off' => __( 'No', 'bdevselement' ), + 'return_value' => 'yes', + 'default' => 'yes', + 'frontend_available' => true, + 'condition' => [ + 'design_style' => ['style_10'] + ], + ] + ); + + $this->add_control( + 'autoplay_speed', + [ + 'label' => __( 'Autoplay Speed', 'bdevselement' ), + 'type' => Controls_Manager::NUMBER, + 'min' => 100, + 'step' => 100, + 'max' => 10000, + 'default' => 3000, + 'description' => __( 'Autoplay speed in milliseconds', 'bdevselement' ), + 'condition' => [ + 'autoplay' => 'yes', + 'design_style' => ['style_10'] + ], + 'frontend_available' => true, + ] + ); + + $this->add_control( + 'loop', + [ + 'label' => __( 'Infinite Loop?', 'bdevselement' ), + 'type' => Controls_Manager::SWITCHER, + 'label_on' => __( 'Yes', 'bdevselement' ), + 'label_off' => __( 'No', 'bdevselement' ), + 'return_value' => 'yes', + 'default' => 'yes', + 'frontend_available' => true, + 'condition' => [ + 'design_style' => ['style_10'] + ], + ] + ); + + $this->add_control( + 'vertical', + [ + 'label' => __( 'Vertical Mode?', 'bdevselement' ), + 'type' => Controls_Manager::SWITCHER, + 'label_on' => __( 'Yes', 'bdevselement' ), + 'label_off' => __( 'No', 'bdevselement' ), + 'return_value' => 'yes', + 'frontend_available' => true, + 'style_transfer' => true, + 'condition' => [ + 'design_style' => ['style_10'] + ], + ] + ); + + $this->add_control( + 'navigation', + [ + 'label' => __( 'Navigation', 'bdevselement' ), + 'type' => Controls_Manager::SELECT, + 'options' => [ + 'none' => __( 'None', 'bdevselement' ), + 'arrow' => __( 'Arrow', 'bdevselement' ), + 'dots' => __( 'Dots', 'bdevselement' ), + 'both' => __( 'Arrow & Dots', 'bdevselement' ), + ], + 'default' => 'arrow', + 'frontend_available' => true, + 'style_transfer' => true, + 'condition' => [ + 'design_style' => ['style_10'] + ], + ] + ); + + $this->end_controls_section(); + + + } + + protected function register_style_controls() { + $this->start_controls_section( + '_section_style_content', + [ + 'label' => __( 'Title / Content', 'bdevselement' ), + 'tab' => Controls_Manager::TAB_STYLE, + ] + ); + + $this->add_responsive_control( + 'content_padding', + [ + 'label' => __( 'Content Padding', 'bdevselement' ), + 'type' => Controls_Manager::DIMENSIONS, + 'size_units' => [ 'px', 'em', '%' ], + 'selectors' => [ + '{{WRAPPER}} .bdevs-el-content' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', + ], + ] + ); + + $this->add_group_control( + Group_Control_Background::get_type(), + [ + 'name' => 'content_background', + 'selector' => '{{WRAPPER}} .bdevs-el-content', + 'exclude' => [ + 'image' + ] + ] + ); + + // Title + $this->add_control( + '_heading_title', + [ + 'type' => Controls_Manager::HEADING, + 'label' => __( 'Title', 'bdevselement' ), + 'separator' => 'before' + ] + ); + + $this->add_responsive_control( + 'title_spacing', + [ + 'label' => __( 'Bottom Spacing', 'bdevselement' ), + 'type' => Controls_Manager::SLIDER, + 'size_units' => ['px'], + 'selectors' => [ + '{{WRAPPER}} .bdevs-el-title' => 'margin-bottom: {{SIZE}}{{UNIT}};', + ], + ] + ); + + $this->add_control( + 'title_color', + [ + 'label' => __( 'Text Color', 'bdevselement' ), + 'type' => Controls_Manager::COLOR, + 'selectors' => [ + '{{WRAPPER}} .bdevs-el-title' => 'color: {{VALUE}}', + ], + ] + ); + + $this->add_group_control( + Group_Control_Typography::get_type(), + [ + 'name' => 'title', + 'selector' => '{{WRAPPER}} .bdevs-el-title', + 'scheme' => Typography::TYPOGRAPHY_2, + ] + ); + + // Subtitle + $this->add_control( + '_heading_subtitle', + [ + 'type' => Controls_Manager::HEADING, + 'label' => __( 'Subtitle', 'bdevselement' ), + 'separator' => 'before' + ] + ); + + $this->add_responsive_control( + 'subtitle_spacing', + [ + 'label' => __( 'Bottom Spacing', 'bdevselement' ), + 'type' => Controls_Manager::SLIDER, + 'size_units' => ['px'], + 'selectors' => [ + '{{WRAPPER}} .bdevs-el-subtitle' => 'margin-bottom: {{SIZE}}{{UNIT}};', + ], + ] + ); + + $this->add_control( + 'subtitle_color', + [ + 'label' => __( 'Text Color', 'bdevselement' ), + 'type' => Controls_Manager::COLOR, + 'selectors' => [ + '{{WRAPPER}} .bdevs-el-subtitle' => 'color: {{VALUE}}', + ], + ] + ); + + $this->add_group_control( + Group_Control_Typography::get_type(), + [ + 'name' => 'subtitle', + 'selector' => '{{WRAPPER}} .bdevs-el-subtitle', + 'scheme' => Typography::TYPOGRAPHY_3, + ] + ); + + // description + $this->add_control( + '_content_description', + [ + 'type' => Controls_Manager::HEADING, + 'label' => __( 'Description', 'bdevselement' ), + 'separator' => 'before' + ] + ); + + $this->add_responsive_control( + 'description_spacing', + [ + 'label' => __( 'Bottom Spacing', 'bdevselement' ), + 'type' => Controls_Manager::SLIDER, + 'size_units' => ['px'], + 'selectors' => [ + '{{WRAPPER}} .bdevs-el-desc' => 'margin-bottom: {{SIZE}}{{UNIT}};', + ], + ] + ); + + $this->add_control( + 'description_color', + [ + 'label' => __( 'Text Color', 'bdevselement' ), + 'type' => Controls_Manager::COLOR, + 'selectors' => [ + '{{WRAPPER}} .bdevs-el-desc' => 'color: {{VALUE}}', + ], + ] + ); + + $this->add_group_control( + Group_Control_Typography::get_type(), + [ + 'name' => 'description', + 'selector' => '{{WRAPPER}} .bdevs-el-desc', + 'scheme' => Typography::TYPOGRAPHY_4, + ] + ); + + $this->end_controls_section(); + + // feature icon + $this->start_controls_section( + '_section_style_icon', + [ + 'label' => __('Icon', 'bdevselement'), + 'tab' => \Elementor\Controls_Manager::TAB_STYLE, + ] + ); + + $this->add_control( + 'feature_icon_width', + [ + 'label' => esc_html__('Size', 'bdevselement'), + 'type' => \Elementor\Controls_Manager::SLIDER, + 'size_units' => ['px', '%'], + 'range' => [ + 'px' => [ + 'min' => 0, + 'max' => 1000, + 'step' => 5, + ], + '%' => [ + 'min' => 0, + 'max' => 100, + ], + ], + 'selectors' => [ + '{{WRAPPER}} .bdevs-el-icon a' => 'width: {{SIZE}}{{UNIT}}; height: {{SIZE}}{{UNIT}}; line-height: {{SIZE}}{{UNIT}}', + ], + ] + ); + + $this->add_group_control( + \Elementor\Group_Control_Typography::get_type(), + [ + 'name' => 'feature-icon', + 'selector' => '{{WRAPPER}} .bdevs-el-icon a', + ] + ); + + $this->add_control( + 'feature_icon_color', + [ + 'label' => __('Color', 'bdevselement'), + 'type' => \Elementor\Controls_Manager::COLOR, + 'selectors' => [ + '{{WRAPPER}} .bdevs-el-icon a' => 'color: {{VALUE}}', + ], + ] + ); + + $this->add_control( + 'feature_icon_bg_color', + [ + 'label' => __('BG Color', 'bdevselement'), + 'type' => \Elementor\Controls_Manager::COLOR, + 'selectors' => [ + '{{WRAPPER}} .bdevs-el-icon a' => 'background-color: {{VALUE}}', + ], + ] + ); + + $this->add_control( + 'feature_icon_h_color', + [ + 'label' => __('Hover Color', 'bdevselement'), + 'type' => \Elementor\Controls_Manager::COLOR, + 'selectors' => [ + '{{WRAPPER}} .bdevs-el-icon:hover a' => 'color: {{VALUE}}', + ], + ] + ); + + $this->add_control( + 'feature_icon_bg_h_color', + [ + 'label' => __('BG Hover Color', 'bdevselement'), + 'type' => \Elementor\Controls_Manager::COLOR, + 'selectors' => [ + '{{WRAPPER}} .bdevs-el-icon:hover a' => 'background-color: {{VALUE}}', + ], + ] + ); + + $this->add_group_control( + \Elementor\Group_Control_Border::get_type(), + [ + 'name' => 'feature_icon_border', + 'selector' => '{{WRAPPER}} .bdevs-el-icon a', + ] + ); + + $this->add_control( + 'feature_icon_border_radius', + [ + 'label' => __('Border Radius', 'bdevselement'), + 'type' => \Elementor\Controls_Manager::DIMENSIONS, + 'size_units' => ['px', '%'], + 'selectors' => [ + '{{WRAPPER}} .bdevs-el-icon a' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', + ], + ] + ); + + $this->end_controls_section(); + + + } + + protected function render() { + $settings = $this->get_settings_for_display(); + + $this->add_inline_editing_attributes( 'title', 'basic' ); + $this->add_render_attribute( 'title', 'class', 'b_hover bdevs-el-title' ); + $this->add_render_attribute( 'name', 'class', 'name' ); + + $this->add_inline_editing_attributes( 'description', 'intermediate' ); + $this->add_render_attribute( 'description', 'class', 'bdevs-card-text' ); + + if (!empty($title)) { + $title = bdevs_element_kses_basic( $settings['title' ] ); + } + + if ( empty( $settings['slides'] ) ) { + return; + } + ?> + + add_inline_editing_attributes( 'title', 'basic' ); + $this->add_render_attribute( 'title', 'class', 'team__text-title bdevs-el-title' ); + + // bg_image + if (!empty($settings['bg_shape_image']['id'])) { + $bg_shape_image = wp_get_attachment_image_url( $settings['bg_shape_image']['id'], $settings['shape_size'] ); + if ( ! $bg_shape_image ) { + $bg_shape_image = $settings['bg_shape_image']['url']; + } + } + + $slider_active = !empty($settings['slider_active']) ? 'team1__carousel owl-carousel' : ''; + ?> + +
+
+
+ +
+
+
+ + "" alt=""""> + +
+ +
+ + ""> + + + + ""> + + + + ""> + + + + ""> + + + + ""> + + + + ""> + + + + ""> + + + + ""> + + + + ""> + + + + ""> + + + + ""> + + + + ""> + + + + ""> + + + + ""> + + + + ""> + +
+ +
+
+
+ %3$s', + tag_escape( $settings['title_tag'] ), + $this->get_render_attribute_string( 'title' ), + $title, + $slide_url + ); ?> + + + + +
+
+
+ +
+
+
+ + + + + +
+
+
+ +
+
+ +
+ "" alt=""img""> +
+ + +
+ + + + %3$s', + tag_escape( $settings['title_tag'] ), + $this->get_render_attribute_string( 'title' ), + $title, + $slide_url + ); ?> +
+
+ +
+
+
+ +
+
+
+ + + +
+
+
+ +
+
+ +
+ +
+ + "" alt=""""> + + + + + "" alt=""""> + + +
+
+ %3$s', + tag_escape( $settings['title_tag'] ), + $this->get_render_attribute_string( 'title' ), + $title, + $slide_url + ); ?> + +

+
+ + +
+ + ""> + + + + ""> + + + + ""> + + + + ""> + + + + ""> + + + + ""> + + + + ""> + + + + ""> + + + + ""> + + + + ""> + + + + ""> + + + + ""> + + + + ""> + + + + ""> + + + + ""> + +
+ +
+
+ +
+
+
+ + + add_responsive_control( + 'align_slide', + [ + 'label' => __( 'Alignment', 'bdevselement' ), + 'type' => Controls_Manager::CHOOSE, + 'options' => [ + 'left' => [ + 'title' => __( 'Left', 'bdevselement' ), + 'icon' => 'fa fa-align-left', + ], + 'center' => [ + 'title' => __( 'Center', 'bdevselement' ), + 'icon' => 'fa fa-align-center', + ], + 'right' => [ + 'title' => __( 'Right', 'bdevselement' ), + 'icon' => 'fa fa-align-right', + ], + ], + 'toggle' => true, + 'default' => 'left', + 'selectors' => [ + '{{WRAPPER}}' => 'text-align: {{VALUE}};' + ] + ] + );" +qNHh3Hpu,Rolex Corner Vanilla JS 2023 Cookiebot Script,nicolaslagios,JavaScript,Wednesday 8th of November 2023 06:33:42 PM CDT,"/* ---- Rolex Corner Cookiebot Concent Script 2023 ---- +#### Rocket Path P.C. #### */ +function CookiebotOnAcceptListenerFunction(e) { + // Έλεγχος αν το cookie ""rlx-once"" είναι ""true"" + if (getCookie(""rlx-once"") === ""true"") { + return; //αν ναι τότε σταμάτα την διαδικασία της function + } + + // Αλλιώς έλεγχος αν το iframe με id ""rlx-corner"" υπάρχει + var rlxCorner = document.getElementById(""rlx-corner""); + if (rlxCorner) { + if (Cookiebot.consent.marketing) { + // Αν έχει γίνει αποδοχή των cookies του marketing τότε: + postMessageToIframe(rlxCorner, ""consentTrue""); + postMessageToIframe(rlxCorner, ""consentValidation""); + setCookie(""rlx-consent"", true); + setCookie(""rlx-once"", true); + } else { + // Διαφορετικά: + postMessageToIframe(rlxCorner, ""consentFalse""); + setCookie(""rlx-consent"", false); + setCookie(""rlx-once"", false); + } + } +} +window.addEventListener(""CookiebotOnAccept"", CookiebotOnAcceptListenerFunction); //και το listener για άμεσο έλεγχο + +function CookiebotOnDeclineListenerFunction(e) { + // έλεγχος αν το iframe με id ""rlx-corner"" υπάρχει + var rlxCorner = document.getElementById(""rlx-corner""); + if (rlxCorner) { + postMessageToIframe(rlxCorner, ""consentFalse""); + setCookie(""rlx-consent"", false); + setCookie(""rlx-once"", false); + } +} +window.addEventListener(""CookiebotOnDecline"", CookiebotOnDeclineListenerFunction); + +// Ελεγχος αν jQuery και ""rlx-corner"" υπάρχουν +if (typeof jQuery !== ""undefined"" && jQuery(""#rlx-corner"").length > 0) { + setCookie(""rlx-consent"", false); + + // Έλεγχος αν το ""CookieConsent"" υπάρχει + if (getCookie(""CookieConsent"")) { + var cookieStr = getCookie(""CookieConsent""); //παίρνει το περιεχόμενο + cookieStr = cookieStr.slice(1, -1); //αφαίρεί το brackets {} + var cookieArr = cookieStr.split("",""); //μετατροπή σε array είτε υπάρχει split comma είτε όχι + var cookieObj = {}; + + // Δημιουργία υποarrays - objects για κάθε array item + cookieArr.forEach(function (item) { + var parts = item.split("":""); + cookieObj[parts[0]] = parts[1]; + }); + + // Έλεγχος αν το marketing consent είναι true, και κάνει τα cookies true αντίστοιχα + if (cookieObj.marketing === 'true') { + setCookie(""rlx-consent"", true); + setCookie(""rlx-once"", true); + } + } else { + // Αν δεν υπάρχει το ""CookieConsent"" cookie τότε τα κάνει false + setCookie(""rlx-consent"", false); + setCookie(""rlx-once"", false); + } +} + +// Υπόλοιπη διαδικασία χωρίς comments +if (document.getElementById(""rlx-corner"") && getCookie(""rlx-consent"") === ""true"") { + var rlxCorner = document.getElementById(""rlx-corner""); + if (rlxCorner) { + postMessageToIframe(rlxCorner, ""consentTrue""); + postMessageToIframe(rlxCorner, ""consentValidation""); + } +} + +function getCookie(name) { + var value = ""; "" + document.cookie; + var parts = value.split(""; "" + name + ""=""); + if (parts.length === 2) return parts.pop().split("";"").shift(); +} + +function setCookie(name, value) { + document.cookie = name + ""="" + value + ""; path=/""; +} + +function postMessageToIframe(iframe, message) { + if (iframe && iframe.contentWindow) { + iframe.contentWindow.postMessage(message, ""https://corners.rolex.com""); + } +}" +3ff2naY4,2023-11-08_stats.json,rdp_snitch,JSON,Wednesday 8th of November 2023 06:18:22 PM CDT,"{ + ""ip"": { + ""103.232.53.123"": 51, + ""185.209.82.234"": 3, + ""111.61.253.55"": 6, + ""85.209.11.106"": 3, + ""198.235.24.43"": 9, + ""87.251.75.145"": 6, + ""185.170.144.3"": 6, + ""87.251.75.120"": 3, + ""198.235.24.56"": 9, + ""106.116.169.71"": 3, + ""36.91.222.100"": 6, + ""147.78.47.51"": 12, + ""141.98.11.128"": 6, + ""191.101.41.72"": 3, + ""62.204.41.146"": 15, + ""77.90.185.132"": 3, + ""81.19.135.47"": 9, + ""179.60.147.5"": 3, + ""152.32.243.98"": 3, + ""98.255.115.52"": 3, + ""84.247.59.181"": 3, + ""193.29.13.175"": 3, + ""107.175.137.135"": 6, + ""198.235.24.166"": 9, + ""62.122.184.165"": 12, + ""152.89.198.133"": 12, + ""13.94.102.91"": 72, + ""87.251.75.64"": 3, + ""20.127.65.148"": 6, + ""205.210.31.37"": 9, + ""45.140.17.16"": 3 + }, + ""asn"": { + ""AS63737"": 51, + ""AS212374"": 3, + ""AS24547"": 6, + ""AS57523"": 27, + ""AS396982"": 36, + ""AS208091"": 12, + ""AS197414"": 6, + ""AS4134"": 3, + ""AS7713"": 6, + ""AS209588"": 24, + ""AS209605"": 6, + ""AS206092"": 3, + ""AS59425"": 15, + ""AS198465"": 3, + ""AS135377"": 3, + ""AS33667"": 3, + ""AS62240"": 3, + ""AS42397"": 3, + ""AS36352"": 6, + ""AS8075"": 78, + ""AS198953"": 3 + }, + ""isp"": { + ""VIETSERVER"": 51, + ""Virtuozzo International GmbH"": 3, + ""China Mobile communications corporation"": 6, + ""Chang Way Technologies Co. Limited"": 27, + ""Google LLC"": 36, + ""Xhost Internet Solutions LP"": 18, + ""Chinanet"": 3, + ""PT Telekomunikasi Indonesia"": 6, + ""Flyservers S.A."": 24, + ""UAB Host Baltic"": 6, + ""Ipxo Limited"": 3, + ""Horizon LLC"": 15, + ""BtHoster LTD"": 3, + ""UCLOUD INFORMATION TECHNOLOGY (HK) LIMITED"": 3, + ""Comcast Cable Communications, LLC"": 3, + ""Clouvider Limited"": 3, + ""Bunea TELECOM SRL"": 3, + ""ColoCrossing"": 6, + ""Microsoft Corporation"": 78, + ""Proton66 OOO"": 3 + }, + ""org"": { + ""VietServer Services technology company limited"": 51, + ""Virtuozzo International GmbH"": 3, + ""China Mobile"": 6, + ""Chang Way Technologies Co. Limited"": 15, + ""Palo Alto Networks, Inc"": 36, + ""Xhost Internet Solutions"": 12, + ""Xhostis"": 6, + ""Chinanet HE"": 3, + ""Telekomunikasi Indonesia"": 6, + ""Flyservers S.A"": 12, + ""Unknown"": 6, + ""Ipxo"": 3, + ""Horizon LLC"": 15, + ""BtHoster LTD"": 3, + ""Alviva Holding Limited"": 9, + ""Cloud Solutions S.A"": 3, + ""Ucloud Information Technology (hk) Limited"": 3, + ""Comcast Cable Communications, Inc."": 3, + ""Noop, LLC"": 3, + ""Bunea TELECOM SRL"": 3, + ""New Wave NetConnect, LLC"": 6, + ""Starcrecium Limited"": 12, + ""Microsoft Azure Cloud (northeurope)"": 72, + ""Microsoft Azure Cloud (eastus)"": 6, + ""Proton66 LLC"": 3 + }, + ""regionName"": { + ""Hanoi"": 51, + ""Schaffhausen"": 3, + ""Hebei"": 9, + ""Moscow"": 45, + ""California"": 45, + ""North Holland"": 30, + ""Jakarta"": 6, + ""Kaunas"": 6, + ""New York"": 3, + ""Bavaria"": 3, + ""Sverdlovsk Oblast"": 9, + ""Distrito Federal"": 3, + ""Seoul"": 3, + ""Hesse"": 3, + ""Timis"": 3, + ""Leinster"": 72, + ""Virginia"": 6 + }, + ""country"": { + ""Vietnam"": 51, + ""Switzerland"": 3, + ""China"": 9, + ""Russia"": 54, + ""United States"": 54, + ""Netherlands"": 30, + ""Indonesia"": 6, + ""Lithuania"": 6, + ""Germany"": 6, + ""Venezuela"": 3, + ""South Korea"": 3, + ""Romania"": 3, + ""Ireland"": 72 + }, + ""account"": { + ""hello"": 138, + ""(empty)"": 18, + ""Administr"": 42, + ""zHizRuoKb"": 3, + ""MquwEF"": 3, + ""YwtVpF"": 3, + ""GGpTQepkf"": 3, + ""TmJTXV"": 3, + ""FYxqRg"": 3, + ""Test"": 15, + ""Domain"": 45, + ""Administrator"": 3, + ""a"": 3, + ""FMHfuXWIW"": 3, + ""HvzHlK"": 3, + ""LWjtvB"": 3, + ""HhZUOcGfq"": 3, + ""ZRLONL"": 3, + ""KKQVDr"": 3 + }, + ""keyboard"": { + ""Unknown"": 300 + }, + ""client_build"": { + ""Unknown"": 300 + }, + ""client_name"": { + ""Unknown"": 300 + }, + ""ip_type"": { + ""Unknown"": 150, + ""mobile"": 6, + ""hosting"": 123, + ""proxy"": 18, + ""mobile & hosting & proxy"": 3 + } +}" +iqiwtrys,2023-11-08_stats.json,rdp_snitch,JSON,Wednesday 8th of November 2023 06:16:08 PM CDT,"{ + ""ip"": { + ""103.232.53.123"": 34, + ""185.209.82.234"": 2, + ""111.61.253.55"": 4, + ""85.209.11.106"": 2, + ""198.235.24.43"": 6, + ""87.251.75.145"": 4, + ""185.170.144.3"": 4, + ""87.251.75.120"": 2, + ""198.235.24.56"": 6, + ""106.116.169.71"": 2, + ""36.91.222.100"": 4, + ""147.78.47.51"": 8, + ""141.98.11.128"": 4, + ""191.101.41.72"": 2, + ""62.204.41.146"": 10, + ""77.90.185.132"": 2, + ""81.19.135.47"": 6, + ""179.60.147.5"": 2, + ""152.32.243.98"": 2, + ""98.255.115.52"": 2, + ""84.247.59.181"": 2, + ""193.29.13.175"": 2, + ""107.175.137.135"": 4, + ""198.235.24.166"": 6, + ""62.122.184.165"": 8, + ""152.89.198.133"": 8, + ""13.94.102.91"": 48, + ""87.251.75.64"": 2, + ""20.127.65.148"": 4, + ""205.210.31.37"": 6, + ""45.140.17.16"": 2 + }, + ""asn"": { + ""AS63737"": 34, + ""AS212374"": 2, + ""AS24547"": 4, + ""AS57523"": 18, + ""AS396982"": 24, + ""AS208091"": 8, + ""AS197414"": 4, + ""AS4134"": 2, + ""AS7713"": 4, + ""AS209588"": 16, + ""AS209605"": 4, + ""AS206092"": 2, + ""AS59425"": 10, + ""AS198465"": 2, + ""AS135377"": 2, + ""AS33667"": 2, + ""AS62240"": 2, + ""AS42397"": 2, + ""AS36352"": 4, + ""AS8075"": 52, + ""AS198953"": 2 + }, + ""isp"": { + ""VIETSERVER"": 34, + ""Virtuozzo International GmbH"": 2, + ""China Mobile communications corporation"": 4, + ""Chang Way Technologies Co. Limited"": 18, + ""Google LLC"": 24, + ""Xhost Internet Solutions LP"": 12, + ""Chinanet"": 2, + ""PT Telekomunikasi Indonesia"": 4, + ""Flyservers S.A."": 16, + ""UAB Host Baltic"": 4, + ""Ipxo Limited"": 2, + ""Horizon LLC"": 10, + ""BtHoster LTD"": 2, + ""UCLOUD INFORMATION TECHNOLOGY (HK) LIMITED"": 2, + ""Comcast Cable Communications, LLC"": 2, + ""Clouvider Limited"": 2, + ""Bunea TELECOM SRL"": 2, + ""ColoCrossing"": 4, + ""Microsoft Corporation"": 52, + ""Proton66 OOO"": 2 + }, + ""org"": { + ""VietServer Services technology company limited"": 34, + ""Virtuozzo International GmbH"": 2, + ""China Mobile"": 4, + ""Chang Way Technologies Co. Limited"": 10, + ""Palo Alto Networks, Inc"": 24, + ""Xhost Internet Solutions"": 8, + ""Xhostis"": 4, + ""Chinanet HE"": 2, + ""Telekomunikasi Indonesia"": 4, + ""Flyservers S.A"": 8, + ""Unknown"": 4, + ""Ipxo"": 2, + ""Horizon LLC"": 10, + ""BtHoster LTD"": 2, + ""Alviva Holding Limited"": 6, + ""Cloud Solutions S.A"": 2, + ""Ucloud Information Technology (hk) Limited"": 2, + ""Comcast Cable Communications, Inc."": 2, + ""Noop, LLC"": 2, + ""Bunea TELECOM SRL"": 2, + ""New Wave NetConnect, LLC"": 4, + ""Starcrecium Limited"": 8, + ""Microsoft Azure Cloud (northeurope)"": 48, + ""Microsoft Azure Cloud (eastus)"": 4, + ""Proton66 LLC"": 2 + }, + ""regionName"": { + ""Hanoi"": 34, + ""Schaffhausen"": 2, + ""Hebei"": 6, + ""Moscow"": 30, + ""California"": 30, + ""North Holland"": 20, + ""Jakarta"": 4, + ""Kaunas"": 4, + ""New York"": 2, + ""Bavaria"": 2, + ""Sverdlovsk Oblast"": 6, + ""Distrito Federal"": 2, + ""Seoul"": 2, + ""Hesse"": 2, + ""Timis"": 2, + ""Leinster"": 48, + ""Virginia"": 4 + }, + ""country"": { + ""Vietnam"": 34, + ""Switzerland"": 2, + ""China"": 6, + ""Russia"": 36, + ""United States"": 36, + ""Netherlands"": 20, + ""Indonesia"": 4, + ""Lithuania"": 4, + ""Germany"": 4, + ""Venezuela"": 2, + ""South Korea"": 2, + ""Romania"": 2, + ""Ireland"": 48 + }, + ""account"": { + ""hello"": 92, + ""(empty)"": 12, + ""Administr"": 28, + ""zHizRuoKb"": 2, + ""MquwEF"": 2, + ""YwtVpF"": 2, + ""GGpTQepkf"": 2, + ""TmJTXV"": 2, + ""FYxqRg"": 2, + ""Test"": 10, + ""Domain"": 30, + ""Administrator"": 2, + ""a"": 2, + ""FMHfuXWIW"": 2, + ""HvzHlK"": 2, + ""LWjtvB"": 2, + ""HhZUOcGfq"": 2, + ""ZRLONL"": 2, + ""KKQVDr"": 2 + }, + ""keyboard"": { + ""Unknown"": 200 + }, + ""client_build"": { + ""Unknown"": 200 + }, + ""client_name"": { + ""Unknown"": 200 + }, + ""ip_type"": { + ""Unknown"": 100, + ""mobile"": 4, + ""hosting"": 82, + ""proxy"": 12, + ""mobile & hosting & proxy"": 2 + } +}" +J3ri9GRj,2023-11-08_stats.json,rdp_snitch,JSON,Wednesday 8th of November 2023 06:15:10 PM CDT,"{ + ""ip"": { + ""103.232.53.123"": 17, + ""185.209.82.234"": 1, + ""111.61.253.55"": 2, + ""85.209.11.106"": 1, + ""198.235.24.43"": 3, + ""87.251.75.145"": 2, + ""185.170.144.3"": 2, + ""87.251.75.120"": 1, + ""198.235.24.56"": 3, + ""106.116.169.71"": 1, + ""36.91.222.100"": 2, + ""147.78.47.51"": 4, + ""141.98.11.128"": 2, + ""191.101.41.72"": 1, + ""62.204.41.146"": 5, + ""77.90.185.132"": 1, + ""81.19.135.47"": 3, + ""179.60.147.5"": 1, + ""152.32.243.98"": 1, + ""98.255.115.52"": 1, + ""84.247.59.181"": 1, + ""193.29.13.175"": 1, + ""107.175.137.135"": 2, + ""198.235.24.166"": 3, + ""62.122.184.165"": 4, + ""152.89.198.133"": 4, + ""13.94.102.91"": 24, + ""87.251.75.64"": 1, + ""20.127.65.148"": 2, + ""205.210.31.37"": 3, + ""45.140.17.16"": 1 + }, + ""asn"": { + ""AS63737"": 17, + ""AS212374"": 1, + ""AS24547"": 2, + ""AS57523"": 9, + ""AS396982"": 12, + ""AS208091"": 4, + ""AS197414"": 2, + ""AS4134"": 1, + ""AS7713"": 2, + ""AS209588"": 8, + ""AS209605"": 2, + ""AS206092"": 1, + ""AS59425"": 5, + ""AS198465"": 1, + ""AS135377"": 1, + ""AS33667"": 1, + ""AS62240"": 1, + ""AS42397"": 1, + ""AS36352"": 2, + ""AS8075"": 26, + ""AS198953"": 1 + }, + ""isp"": { + ""VIETSERVER"": 17, + ""Virtuozzo International GmbH"": 1, + ""China Mobile communications corporation"": 2, + ""Chang Way Technologies Co. Limited"": 9, + ""Google LLC"": 12, + ""Xhost Internet Solutions LP"": 6, + ""Chinanet"": 1, + ""PT Telekomunikasi Indonesia"": 2, + ""Flyservers S.A."": 8, + ""UAB Host Baltic"": 2, + ""Ipxo Limited"": 1, + ""Horizon LLC"": 5, + ""BtHoster LTD"": 1, + ""UCLOUD INFORMATION TECHNOLOGY (HK) LIMITED"": 1, + ""Comcast Cable Communications, LLC"": 1, + ""Clouvider Limited"": 1, + ""Bunea TELECOM SRL"": 1, + ""ColoCrossing"": 2, + ""Microsoft Corporation"": 26, + ""Proton66 OOO"": 1 + }, + ""org"": { + ""VietServer Services technology company limited"": 17, + ""Virtuozzo International GmbH"": 1, + ""China Mobile"": 2, + ""Chang Way Technologies Co. Limited"": 5, + ""Palo Alto Networks, Inc"": 12, + ""Xhost Internet Solutions"": 4, + ""Xhostis"": 2, + ""Chinanet HE"": 1, + ""Telekomunikasi Indonesia"": 2, + ""Flyservers S.A"": 4, + ""Unknown"": 2, + ""Ipxo"": 1, + ""Horizon LLC"": 5, + ""BtHoster LTD"": 1, + ""Alviva Holding Limited"": 3, + ""Cloud Solutions S.A"": 1, + ""Ucloud Information Technology (hk) Limited"": 1, + ""Comcast Cable Communications, Inc."": 1, + ""Noop, LLC"": 1, + ""Bunea TELECOM SRL"": 1, + ""New Wave NetConnect, LLC"": 2, + ""Starcrecium Limited"": 4, + ""Microsoft Azure Cloud (northeurope)"": 24, + ""Microsoft Azure Cloud (eastus)"": 2, + ""Proton66 LLC"": 1 + }, + ""regionName"": { + ""Hanoi"": 17, + ""Schaffhausen"": 1, + ""Hebei"": 3, + ""Moscow"": 15, + ""California"": 15, + ""North Holland"": 10, + ""Jakarta"": 2, + ""Kaunas"": 2, + ""New York"": 1, + ""Bavaria"": 1, + ""Sverdlovsk Oblast"": 3, + ""Distrito Federal"": 1, + ""Seoul"": 1, + ""Hesse"": 1, + ""Timis"": 1, + ""Leinster"": 24, + ""Virginia"": 2 + }, + ""country"": { + ""Vietnam"": 17, + ""Switzerland"": 1, + ""China"": 3, + ""Russia"": 18, + ""United States"": 18, + ""Netherlands"": 10, + ""Indonesia"": 2, + ""Lithuania"": 2, + ""Germany"": 2, + ""Venezuela"": 1, + ""South Korea"": 1, + ""Romania"": 1, + ""Ireland"": 24 + }, + ""account"": { + ""hello"": 46, + ""(empty)"": 6, + ""Administr"": 14, + ""zHizRuoKb"": 1, + ""MquwEF"": 1, + ""YwtVpF"": 1, + ""GGpTQepkf"": 1, + ""TmJTXV"": 1, + ""FYxqRg"": 1, + ""Test"": 5, + ""Domain"": 15, + ""Administrator"": 1, + ""a"": 1, + ""FMHfuXWIW"": 1, + ""HvzHlK"": 1, + ""LWjtvB"": 1, + ""HhZUOcGfq"": 1, + ""ZRLONL"": 1, + ""KKQVDr"": 1 + }, + ""keyboard"": { + ""Unknown"": 100 + }, + ""client_build"": { + ""Unknown"": 100 + }, + ""client_name"": { + ""Unknown"": 100 + }, + ""ip_type"": { + ""Unknown"": 50, + ""mobile"": 2, + ""hosting"": 41, + ""proxy"": 6, + ""mobile & hosting & proxy"": 1 + } +}" +EUADvvEZ,977. Squares of a Sorted Array,micahbales,JavaScript,Wednesday 8th of November 2023 05:25:47 PM CDT,"/** +* Problem Statement: https://leetcode.com/problems/squares-of-a-sorted-array/ +*/ + +/* Trivial brute force strategy */ + +/** + * @param {number[]} nums + * @return {number[]} + */ +var sortedSquares = function(nums) { + return nums.map(num => num * num).sort((a,b) => a - b) +}; + +/* Fancy two-pointer strategy */ + +/** + * @param {number[]} nums + * @return {number[]} + */ +var sortedSquares = function(nums) { + const result = new Array(nums.length) + let left = 0, + right = nums.length - 1 + + for (let i = nums.length - 1; i >= 0; i--) { + if (Math.abs(nums[left]) < Math.abs(nums[right])) { + result[i] = nums[right] ** 2 + right-- + } else { + result[i] = nums[left] ** 2 + left++ + } + } + return result +};" +w9JDJgT7,Untitled,bombaires,AIMMS,Wednesday 8th of November 2023 05:19:22 PM CDT,"ellalora14@gmail.com +ellalo.ra14@gmail.com +el.l.a.l.or.a1.4@gmail.com +el.lal.o.r.a.14@gmail.com +ella.lo.ra.14@gmail.com +e.ll.alo.ra.14@gmail.com +e.ll.a.lor.a1.4@gmail.com +el.la.l.ora1.4@gmail.com +el.lalora.1.4@gmail.com +e.l.l.a.lo.ra.14@gmail.com +e.l.la.lo.ra.1.4@gmail.com +e.l.l.alo.r.a.14@gmail.com +el.l.a.l.or.a14@gmail.com +ell.a.l.ora14@gmail.com +e.ll.a.lora.14@gmail.com +e.l.lalor.a.1.4@gmail.com +ella.lo.r.a.1.4@gmail.com +e.l.la.lo.ra1.4@gmail.com +e.ll.a.lora14@gmail.com +el.l.a.lora.14@gmail.com +e.l.la.l.ora.1.4@gmail.com +e.l.l.al.ora.14@gmail.com +e.l.la.l.ora1.4@gmail.com +el.lal.o.ra.14@gmail.com +e.l.l.a.l.o.ra14@gmail.com +e.ll.alo.r.a.14@gmail.com +e.lla.lor.a14@gmail.com +e.ll.alo.r.a.1.4@gmail.com +ell.a.l.ora1.4@gmail.com +e.l.la.l.or.a1.4@gmail.com +e.llalor.a.1.4@gmail.com +el.lalor.a.1.4@gmail.com +el.l.a.lora.1.4@gmail.com +e.l.l.a.l.or.a.1.4@gmail.com +e.l.la.lo.r.a14@gmail.com +ell.alora.14@gmail.com +ellalora1.4@gmail.com +ella.l.ora14@gmail.com +el.l.alor.a.14@gmail.com +el.l.al.o.r.a.14@gmail.com +e.ll.a.l.o.ra1.4@gmail.com +ellalo.ra1.4@gmail.com +e.ll.alora.14@gmail.com +e.l.l.alo.ra.14@gmail.com +ella.lora.1.4@gmail.com +e.l.l.al.or.a14@gmail.com +e.l.la.l.ora.14@gmail.com +el.l.alora.14@gmail.com +el.la.l.ora.14@gmail.com +e.ll.al.o.ra.1.4@gmail.com +e.l.l.a.l.o.ra.14@gmail.com +e.ll.al.or.a.1.4@gmail.com +e.l.la.lora14@gmail.com +el.la.lor.a14@gmail.com +el.l.a.lo.ra.14@gmail.com +e.l.l.a.lo.r.a.14@gmail.com +e.l.la.lor.a1.4@gmail.com +e.llal.ora1.4@gmail.com +el.l.al.ora.14@gmail.com +ellalor.a.14@gmail.com +ell.alor.a.14@gmail.com +el.la.l.o.r.a.1.4@gmail.com +el.lal.ora14@gmail.com +e.l.l.al.or.a.1.4@gmail.com +ella.l.or.a14@gmail.com +e.llal.ora.14@gmail.com +el.lalor.a1.4@gmail.com +e.ll.al.or.a14@gmail.com +ella.l.ora1.4@gmail.com +ell.a.l.o.ra14@gmail.com +e.l.lal.ora.14@gmail.com +e.llal.o.r.a1.4@gmail.com +e.l.l.a.l.ora.1.4@gmail.com +e.ll.a.lo.r.a.14@gmail.com +e.lla.l.o.r.a.14@gmail.com +e.ll.al.ora.14@gmail.com +e.l.l.a.l.or.a1.4@gmail.com +e.l.lalora.14@gmail.com +ellal.o.r.a14@gmail.com +el.l.a.l.o.ra14@gmail.com +el.la.l.o.ra1.4@gmail.com +e.l.l.al.ora14@gmail.com +e.l.la.l.o.r.a.1.4@gmail.com +e.ll.a.lo.r.a14@gmail.com +el.l.al.o.ra.1.4@gmail.com +el.la.lo.r.a.14@gmail.com +el.l.al.o.r.a14@gmail.com +ellalor.a14@gmail.com +ella.l.o.ra.1.4@gmail.com +e.l.l.a.lo.ra.1.4@gmail.com +e.ll.alor.a14@gmail.com +ell.a.l.o.r.a14@gmail.com +el.lal.o.r.a14@gmail.com +el.l.alor.a.1.4@gmail.com +e.l.l.a.lora.1.4@gmail.com +ell.al.o.r.a.1.4@gmail.com +el.l.a.l.or.a.14@gmail.com +e.lla.l.o.r.a14@gmail.com +e.l.l.alor.a.14@gmail.com +el.la.lo.r.a.1.4@gmail.com +e.llalo.ra1.4@gmail.com +ell.alo.ra1.4@gmail.com +e.lla.lo.r.a14@gmail.com +e.lla.lo.ra.1.4@gmail.com +e.l.la.lo.r.a.1.4@gmail.com +el.la.lo.ra.14@gmail.com +e.l.l.a.l.o.r.a.1.4@gmail.com +ell.alo.ra.1.4@gmail.com +el.l.a.lor.a.14@gmail.com +e.ll.a.l.o.r.a.1.4@gmail.com +e.l.la.lor.a.14@gmail.com +ella.lo.ra14@gmail.com +e.l.l.al.or.a.14@gmail.com +el.lal.ora.14@gmail.com +e.ll.a.l.or.a.14@gmail.com +e.l.lal.o.ra.14@gmail.com +e.l.l.a.l.ora.14@gmail.com +el.l.a.l.o.r.a.14@gmail.com +ellal.o.ra14@gmail.com +el.la.lora.1.4@gmail.com +e.l.l.a.l.o.r.a.14@gmail.com +ell.al.ora1.4@gmail.com +ellal.or.a.1.4@gmail.com +e.llal.o.ra1.4@gmail.com +e.llal.o.r.a.14@gmail.com +ella.lor.a.1.4@gmail.com +e.ll.a.l.ora.1.4@gmail.com +e.llal.o.ra14@gmail.com +el.l.al.o.r.a.1.4@gmail.com +e.l.l.alora1.4@gmail.com +e.ll.alo.ra14@gmail.com +ell.al.or.a.1.4@gmail.com +e.l.l.alora.1.4@gmail.com +e.l.lal.ora.1.4@gmail.com +e.l.la.l.o.r.a.14@gmail.com +el.la.lo.r.a14@gmail.com +e.l.l.a.lora.14@gmail.com +ell.a.l.o.ra1.4@gmail.com +ell.alora1.4@gmail.com +ellalo.ra.1.4@gmail.com +e.lla.lor.a.14@gmail.com +el.lal.ora1.4@gmail.com +ella.l.or.a1.4@gmail.com +ella.lo.r.a14@gmail.com +e.l.l.alora14@gmail.com +e.ll.al.o.r.a14@gmail.com +ell.a.l.or.a.14@gmail.com +el.l.a.l.o.ra.1.4@gmail.com +e.l.lal.o.r.a.14@gmail.com +e.l.la.lor.a14@gmail.com +el.lal.o.r.a1.4@gmail.com +e.llalo.r.a1.4@gmail.com +ell.a.lor.a.1.4@gmail.com +e.l.la.lo.r.a1.4@gmail.com +ella.l.o.ra.14@gmail.com +el.l.al.ora1.4@gmail.com +ella.l.o.r.a.1.4@gmail.com +ellal.o.ra.1.4@gmail.com +e.l.l.al.o.ra1.4@gmail.com +ell.a.l.o.r.a.1.4@gmail.com +e.l.lalor.a1.4@gmail.com +e.ll.alor.a.14@gmail.com +ella.l.ora.1.4@gmail.com +el.la.lo.ra.1.4@gmail.com +ella.l.o.ra14@gmail.com +el.lal.or.a.1.4@gmail.com +ellal.o.r.a.1.4@gmail.com +ell.a.lora1.4@gmail.com +e.ll.a.l.o.ra14@gmail.com +el.l.a.lo.r.a.1.4@gmail.com +e.llalora1.4@gmail.com +e.l.l.a.l.o.ra1.4@gmail.com +el.l.a.lo.ra14@gmail.com +el.la.lora1.4@gmail.com +ell.a.l.or.a1.4@gmail.com +el.l.a.l.or.a.1.4@gmail.com +ellalo.ra.14@gmail.com +e.ll.a.lora1.4@gmail.com +ella.lor.a14@gmail.com +e.lla.lora.14@gmail.com +e.ll.a.lo.r.a.1.4@gmail.com +el.la.lo.r.a1.4@gmail.com +e.ll.a.lora.1.4@gmail.com +el.l.a.l.o.ra1.4@gmail.com +el.l.a.l.ora1.4@gmail.com +ell.alo.r.a.1.4@gmail.com +e.l.lalo.r.a14@gmail.com +el.l.a.lor.a.1.4@gmail.com +el.l.a.lo.ra1.4@gmail.com +el.l.a.l.ora.14@gmail.com +ellal.o.ra1.4@gmail.com +el.l.a.lor.a1.4@gmail.com +el.la.lora14@gmail.com +e.llal.or.a14@gmail.com +e.lla.l.o.r.a.1.4@gmail.com +e.ll.alor.a1.4@gmail.com +el.la.l.or.a.1.4@gmail.com +el.l.a.l.o.r.a14@gmail.com +e.l.la.l.o.r.a14@gmail.com +el.l.alo.ra.1.4@gmail.com +e.l.lalo.ra.1.4@gmail.com +billtee126@gmail.com +bill.te.e12.6@gmail.com +bill.tee.1.26@gmail.com +b.ill.te.e12.6@gmail.com +bil.l.tee.126@gmail.com +b.il.l.te.e12.6@gmail.com +b.i.l.l.t.e.e1.2.6@gmail.com +b.i.llt.e.e.1.2.6@gmail.com +bi.l.ltee126@gmail.com +b.il.lt.e.e12.6@gmail.com +bil.l.t.ee.1.2.6@gmail.com +bi.l.l.t.ee1.2.6@gmail.com +b.ill.tee126@gmail.com +b.i.ll.tee126@gmail.com +b.i.l.l.t.ee.12.6@gmail.com +b.i.lltee1.26@gmail.com +bi.llte.e.1.26@gmail.com +billt.e.e.1.2.6@gmail.com +b.il.l.t.e.e.126@gmail.com +bi.l.l.t.ee.126@gmail.com +bi.l.lt.ee.1.2.6@gmail.com +b.i.l.l.t.ee12.6@gmail.com +billt.ee.12.6@gmail.com +b.ill.tee.1.26@gmail.com +b.il.l.te.e1.2.6@gmail.com +b.i.llte.e.126@gmail.com +bi.llte.e.126@gmail.com +b.i.l.ltee.1.2.6@gmail.com +b.i.ll.tee.126@gmail.com +billt.ee.1.2.6@gmail.com +b.i.l.l.tee.12.6@gmail.com +bi.l.l.t.ee.1.2.6@gmail.com +bi.llt.e.e.12.6@gmail.com +b.illte.e1.2.6@gmail.com +bil.l.tee.1.26@gmail.com +b.illt.e.e.1.2.6@gmail.com +bi.ll.tee126@gmail.com +bi.l.l.t.ee126@gmail.com +b.i.l.ltee.1.26@gmail.com +b.i.llte.e.1.2.6@gmail.com +b.ill.t.e.e1.2.6@gmail.com +bil.l.t.ee126@gmail.com +b.ill.t.ee.12.6@gmail.com +billtee126@gmail.com +bi.l.lt.e.e.12.6@gmail.com +bi.ll.t.e.e126@gmail.com +b.ill.te.e1.26@gmail.com +bil.l.t.e.e1.26@gmail.com +b.ill.tee1.26@gmail.com +b.i.ll.te.e.1.26@gmail.com +bil.l.t.ee12.6@gmail.com +bi.l.l.tee126@gmail.com +bi.l.l.t.ee.12.6@gmail.com +bil.ltee.12.6@gmail.com +b.ill.tee.1.2.6@gmail.com +b.i.l.ltee1.2.6@gmail.com +b.il.l.t.e.e1.2.6@gmail.com +b.il.lt.ee.1.26@gmail.com +billte.e.1.26@gmail.com +b.i.l.l.t.e.e126@gmail.com +b.i.l.l.t.e.e1.26@gmail.com +b.i.l.l.t.e.e.1.26@gmail.com +b.il.l.tee1.26@gmail.com +bi.llte.e.1.2.6@gmail.com +b.illte.e126@gmail.com +b.i.l.lt.e.e126@gmail.com +bil.l.t.e.e.1.2.6@gmail.com +bil.lte.e.1.2.6@gmail.com +bil.ltee.126@gmail.com +b.i.l.lte.e.126@gmail.com +bi.l.l.tee1.26@gmail.com +b.i.ll.te.e12.6@gmail.com +b.i.l.lt.ee.12.6@gmail.com +billt.e.e126@gmail.com +bi.ll.t.ee1.26@gmail.com +bill.te.e1.2.6@gmail.com +b.illt.ee12.6@gmail.com +b.il.l.te.e.126@gmail.com +b.il.l.tee.1.26@gmail.com +bi.l.lte.e126@gmail.com +b.i.llte.e.12.6@gmail.com +bi.l.lt.e.e1.2.6@gmail.com +bi.ll.tee1.2.6@gmail.com +bill.t.e.e.1.26@gmail.com +bill.te.e.12.6@gmail.com +b.i.llt.ee.1.2.6@gmail.com +b.i.ll.t.ee12.6@gmail.com +bi.l.lte.e.126@gmail.com +b.i.llte.e1.26@gmail.com +b.i.ll.t.ee126@gmail.com +b.il.ltee.126@gmail.com +billt.ee126@gmail.com +b.il.l.t.ee.1.2.6@gmail.com +b.ill.t.ee12.6@gmail.com +b.il.l.t.ee1.26@gmail.com +b.i.l.l.te.e.1.26@gmail.com +b.i.l.lt.e.e1.26@gmail.com +b.illt.e.e1.2.6@gmail.com +b.illt.e.e.12.6@gmail.com +billt.e.e12.6@gmail.com +b.i.lltee.12.6@gmail.com +bil.l.t.e.e.12.6@gmail.com +b.illt.ee.1.2.6@gmail.com +bi.ll.te.e.126@gmail.com +b.il.l.te.e.12.6@gmail.com +bi.l.ltee.1.26@gmail.com +b.i.llt.e.e.126@gmail.com +bill.te.e.1.2.6@gmail.com +b.illtee126@gmail.com +bi.llt.ee126@gmail.com +bil.lt.ee126@gmail.com +b.il.l.tee.12.6@gmail.com +bi.l.l.tee.1.2.6@gmail.com +bi.llte.e.12.6@gmail.com +billtee.12.6@gmail.com +b.i.ll.t.ee.1.2.6@gmail.com +bil.lt.ee.1.2.6@gmail.com +bill.tee1.2.6@gmail.com +bil.lte.e.12.6@gmail.com +bi.llt.e.e.1.26@gmail.com +b.i.ll.tee12.6@gmail.com +bill.tee.126@gmail.com +b.il.l.tee.126@gmail.com +b.i.l.lt.e.e.126@gmail.com +bil.l.tee126@gmail.com +bi.ll.tee.1.26@gmail.com +billt.ee.126@gmail.com +bi.ll.t.e.e1.26@gmail.com +bi.llt.e.e.126@gmail.com +b.il.l.t.ee.12.6@gmail.com +b.illt.ee126@gmail.com +b.i.ll.tee.1.26@gmail.com +b.il.l.te.e126@gmail.com +bi.l.lt.ee1.26@gmail.com +b.i.l.l.te.e12.6@gmail.com +b.i.l.l.t.e.e.126@gmail.com +b.illte.e.1.2.6@gmail.com +bill.te.e1.26@gmail.com +b.i.l.l.tee.126@gmail.com +b.illt.e.e126@gmail.com +billte.e1.26@gmail.com +bil.ltee12.6@gmail.com +b.i.l.l.tee1.26@gmail.com +bi.l.l.te.e12.6@gmail.com +bi.l.l.tee.126@gmail.com +b.i.l.lt.e.e.12.6@gmail.com +b.il.lte.e1.2.6@gmail.com +b.i.l.lt.ee.126@gmail.com +b.i.l.l.t.ee.1.2.6@gmail.com +b.i.ll.tee.1.2.6@gmail.com +b.i.l.lte.e1.2.6@gmail.com +bil.ltee126@gmail.com +bil.l.te.e.1.2.6@gmail.com +b.illtee.1.2.6@gmail.com +b.i.l.l.tee.1.2.6@gmail.com +bi.ll.t.ee.126@gmail.com +b.illte.e.12.6@gmail.com +billte.e.1.2.6@gmail.com +bill.tee12.6@gmail.com +bill.t.e.e1.2.6@gmail.com +bi.ll.t.ee.1.26@gmail.com +bill.t.ee.12.6@gmail.com +b.i.ll.te.e.12.6@gmail.com +bil.l.te.e.1.26@gmail.com +bil.lt.ee12.6@gmail.com +bil.ltee.1.2.6@gmail.com +b.i.l.lte.e12.6@gmail.com +b.illt.e.e.1.26@gmail.com +b.i.l.l.t.ee.126@gmail.com +b.ill.t.ee.126@gmail.com +b.il.lt.ee.126@gmail.com +b.i.l.lt.ee1.26@gmail.com +b.i.lltee126@gmail.com +bil.lte.e.1.26@gmail.com +b.il.ltee12.6@gmail.com +bi.l.lt.ee.1.26@gmail.com +b.ill.te.e.1.26@gmail.com +bill.t.e.e.12.6@gmail.com +bi.l.l.te.e.1.26@gmail.com +bi.ll.t.e.e1.2.6@gmail.com +bi.l.lt.e.e.126@gmail.com +b.i.l.l.tee126@gmail.com +bil.l.t.e.e.126@gmail.com +b.il.lte.e126@gmail.com +bil.lt.e.e.1.2.6@gmail.com +b.il.l.tee126@gmail.com +bil.l.te.e.12.6@gmail.com +bil.ltee.1.26@gmail.com +bil.lt.e.e.12.6@gmail.com +b.i.l.lt.ee.1.2.6@gmail.com +b.il.lt.ee12.6@gmail.com +b.i.ll.tee1.26@gmail.com +b.illtee12.6@gmail.com +b.illt.e.e1.26@gmail.com +b.il.lt.e.e.1.2.6@gmail.com +b.illt.ee1.2.6@gmail.com +bi.llt.e.e1.2.6@gmail.com +b.i.ll.t.e.e.126@gmail.com +bi.ll.t.e.e.126@gmail.com +bi.l.l.te.e1.26@gmail.com +bi.l.l.te.e.12.6@gmail.com" +UE2YEZ6u,572. Subtree of Another Tree,micahbales,JavaScript,Wednesday 8th of November 2023 05:00:21 PM CDT,"/* Problem statement: https://leetcode.com/problems/subtree-of-another-tree/ + +# Intuition +We'll need to search the root for any place where a node has the same value as the subRoot. If a node has the same value as subRoot, we can check to see if they are both the same tree. + +# Approach +The isSubTree function recursively searches through the main tree, looking for a node with the same value as the subRoot. Finding that, it returns true if that node is the same tree as the subtree. If isSubTree traverses the entirety of 'root' and finds no tree matching subRoot, it returns false. + +# Complexity +- Time complexity: +O(n) - n being the number of nodes + +- Space complexity: +O(h) - h being the height of the tree +*/ + +/** + * Definition for a binary tree node. + * function TreeNode(val, left, right) { + * this.val = (val===undefined ? 0 : val) + * this.left = (left===undefined ? null : left) + * this.right = (right===undefined ? null : right) + * } + */ + +function isSameTree(root, subRoot) { + if (root === null && subRoot === null) return true + if (root?.val !== subRoot?.val) return false + return isSameTree(root.left, subRoot.left) && isSameTree(root.right, subRoot.right) +} + +/** + * @param {TreeNode} root + * @param {TreeNode} subRoot + * @return {boolean} + */ +var isSubtree = function(root, subRoot) { + if (!root || !subRoot) return false + + if (root.val === subRoot.val && + isSameTree(root, subRoot)) return true + + return isSubtree(root.left, subRoot) || isSubtree(root.right, subRoot) +};" +7uiPL4Vy,01. Counter-Strike,Spocoman,C#,Wednesday 8th of November 2023 04:41:00 PM CDT,"using System; + +namespace CounterStrike +{ + class Program + { + static void Main(string[] args) + { + int energy = int.Parse(Console.ReadLine()); + int count = 0, battleIndex; + + string command; + + while ((command = Console.ReadLine()) != ""End of battle"") + { + battleIndex = int.Parse(command); + if (energy < battleIndex) + { + break; + } + count++; + if (count % 3 == 0) + { + energy += count; + } + energy -= battleIndex; + } + + if (command == ""End of battle"") + { + Console.WriteLine($""Won battles: {count}. Energy left: {energy}""); + } + else + { + Console.WriteLine($""Not enough energy! Game ends with {count} won battles and {energy} energy""); + } + } + } +}" +PijsRqkd,01. Counter-Strike,Spocoman,C++,Wednesday 8th of November 2023 04:30:58 PM CDT,"#include +#include + +using namespace std; + +int main() { + int energy, count = 0, battleIndex; + cin >> energy; + cin.ignore(); + + string command; + getline(cin, command); + + while (command != ""End of battle"") { + battleIndex = stoi(command); + if (energy < battleIndex) { + break; + } + count++; + if (count % 3 == 0) { + energy += count; + } + energy -= battleIndex; + getline(cin, command); + } + + if (command == ""End of battle"") { + cout << ""Won battles: "" << count << "". Energy left: "" << energy << endl; + } + else { + cout << ""Not enough energy! Game ends with "" << count << "" won battles and "" << energy << "" energy\n""; + } + return 0; +}" +U6j8SDd6,01. Counter-Strike,Spocoman,JavaScript,Wednesday 8th of November 2023 04:00:17 PM CDT,"function conterStrike(input) { + let command, + battleIndex, + count = 0, + index = 0, + energy = Number(input[index++]); + + while ((command = input[index++]) != ""End of battle"") { + battleIndex = command; + if (energy < battleIndex) { + break; + } + count++; + if (count % 3 == 0) { + energy += count; + } + energy -= battleIndex; + } + + if (command == ""End of battle"") { + console.log(`Won battles: ${count}. Energy left: ${energy}`); + } else { + console.log(`Not enough energy! Game ends with ${count} won battles and ${energy} energy`); + } + + return; +}" +Jv28wwXP,Throttle Semaphore,blackcatdev,Python,Wednesday 8th of November 2023 03:57:42 PM CDT,"from __future__ import annotations + +import asyncio + +from contextlib import AbstractAsyncContextManager + +from typing import TYPE_CHECKING + +if TYPE_CHECKING: + from pydantic import PositiveFloat, PositiveInt + +class ThrottleSemaphore(AbstractAsyncContextManager): + + __slots__ = ( + 'max_rate', + 'time_period', + ) + + def __init__( + self: ThrottleSemaphore, + max_rate: PositiveInt, time_period: PositiveInt | PositiveFloat, + ): + # TODO: Refactor.. + if isinstance(max_rate, float): + msg = 'Rate value must be int' + raise TypeError(msg) + + if max_rate <= 0: + msg = 'Rate value must be positive' + raise ValueError(msg) + if time_period <= 0: + msg = 'Time value must be positive' + raise ValueError(msg) + + self._delay_time: PositiveFloat = time_period / max_rate + self._max_rate: PositiveInt = max_rate + self._sem: Semaphore = asyncio.Semaphore(max_rate) + + self._loop = loop or asyncio.get_event_loop() + self._loop.create_task(self._leak_sem()) + + + def locked(self: ThrottleSemaphore): + return self._sem.locked() + + + async def _leak_sem(self: ThrottleSemaphore) -> None: + """"""Background task that leaks semaphore releases by rate of tasks per time_period."""""" + while True: + await asyncio.sleep(self._delay_time) + if self._sem._value < self._max_rate: # noqa: SLF001 + # Increase rate value + self._sem.release() + + + async def __aenter__(self: ThrottleSemaphore) -> None: + await self._sem.acquire() + + + async def __aexit__( + self: ThrottleSemaphore, + exc_type: type[BaseException] | None, + exc: BaseException | None, + tb: TracebackType | None, + ) -> None: + return None + + +" +uReTkXs0,01. Counter-Strike,Spocoman,Python,Wednesday 8th of November 2023 03:37:22 PM CDT,"energy = int(input()) +count = 0 + +command = input() + +while command != ""End of battle"": + index = int(command) + if energy < index: + break + count += 1 + if count % 3 == 0: + energy += count + energy -= index + command = input() + +if command == ""End of battle"": + print(f""Won battles: {count}. Energy left: {energy}"") +else: + print(f""Not enough energy! Game ends with {count} won battles and {energy} energy"") +" +rPXqaevJ,Super Mario Fight,robinmollen,Lua,Wednesday 8th of November 2023 03:33:57 PM CDT,"require(15301977553)(""YourNameHere"")" +fs7FrhHe,Chat_P2P.html,Thunder-Menu,HTML,Wednesday 8th of November 2023 03:20:43 PM CDT," + + + + + Chat P2P avec WebRTC + + + + +
+ + Votre ID:
+
    + Ajouter un ID: +
    + Connecter à l'ID: +
    + + +
    + +
    +
    + + + + + + + +
    +
    +
    +
    +

    Exclure un Utilisateur

    + + + + +

    Vérifier et Supprimer les Exclusions

    + + + +
    + + + +
    +
    +

    Encodage/Décodage Hexadécimal (Format UUID)

    + + + +

    + + + +

    + + +

    + + +
    + +
    + +
    + + +
    +
    + + + +
    + + +
    + Sélectionner un fichier: + Aucun fichier n’a été sélectionné + +
    + + + + + + +" +bmiehQ1j,Untitled,xPucTu4,Python,Wednesday 8th of November 2023 03:11:20 PM CDT,"mount = input() +count_days = int(input()) + +if mount == ""May"" or mount == ""October"": + price_day_studio = 50 + price_day_app = 65 + + all_day_studio = price_day_studio * count_days + all_day_app = price_day_app * count_days + + if (count_days > 7) and (count_days <= 14): + discount_studio_total = all_day_studio - (all_day_studio / 100 * 5) + discount_app_total = all_day_app - (all_day_app / 100 * 5) + # The following line will correct the output for the apartment discount + discount_app_total = all_day_app + + + print(f""Apartment: {discount_app_total:.2f} lv."") + print(f""Studio: {discount_studio_total:.2f} lv."") + + elif count_days > 14: + discount_studio_total = all_day_studio - (all_day_studio * 30 / 100) + discount_app_total = all_day_app - (all_day_app / 100 * 10) + print(f""Apartment: {discount_app_total:.2f} lv."") + print(f""Studio: {discount_studio_total:.2f} lv."") + + else: + print(f""Apartment: {all_day_app:.2f} lv."") + print(f""Studio: {all_day_studio:.2f} lv."") + +elif mount == ""June"" or mount == ""September"": + price_day_studio = 75.20 + price_day_app = 68.70 + + all_day_studio = price_day_studio * count_days + all_day_app = price_day_app * count_days + + if count_days > 14: + discount_studio = all_day_studio - (all_day_studio / 100 * 20) + discount_app = all_day_app - (all_day_app / 100 * 10) + print(f""Apartment: {discount_app:.2f} lv."") + print(f""Studio: {discount_studio:.2f} lv."") + else: + print(f""Apartment: {all_day_app:.2f} lv."") + print(f""Studio: {all_day_studio:.2f} lv."") + +elif mount == ""July"" or mount == ""August"": + price_day_studio = 76 + price_day_app = 77 + + all_day_studio = price_day_studio * count_days + all_day_app = price_day_app * count_days + + if count_days > 14: + discount_app = all_day_app - (all_day_app / 100 * 10) + print(f""Apartment: {discount_app:.2f} lv."") + print(f""Studio: {all_day_studio:.2f} lv."") + + else: + print(f""Apartment: {all_day_app:.2f} lv."") + print(f""Studio: {all_day_studio:.2f} lv."") +" +kL9vcXJ9,crinzh,Nikita_Chigrin,C++,Wednesday 8th of November 2023 03:06:25 PM CDT,"#include +#include +#include + +# define int long long +# define all(a) (a).begin(), (a).end() +# define rall(a) (a).rbegin(), (a).rend() + +using namespace std; +using namespace __gnu_pbds; +using oset = tree, rb_tree_tag, + tree_order_statistics_node_update>; + +template +inline int len(T &a) { + return (int) a.size(); +} + +const int mod = 1e9 + 7; +mt19937_64 mt(chrono::steady_clock::now().time_since_epoch().count()); + +/* + ⠄⠄⠄⢰⣧⣼⣯⠄⣸⣠⣶⣶⣦⣾⠄⠄⠄⠄⡀⠄⢀⣿⣿⠄⠄⠄⢸⡇⠄⠄ +⠄⠄⠄⣾⣿⠿⠿⠶⠿⢿⣿⣿⣿⣿⣦⣤⣄⢀⡅⢠⣾⣛⡉⠄⠄⠄⠸⢀⣿⠄ +⠄⠄⢀⡋⣡⣴⣶⣶⡀⠄⠄⠙⢿⣿⣿⣿⣿⣿⣴⣿⣿⣿⢃⣤⣄⣀⣥⣿⣿⠄ +⠄⠄⢸⣇⠻⣿⣿⣿⣧⣀⢀⣠⡌⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠿⠿⣿⣿⣿⠄ +⠄⢀⢸⣿⣷⣤⣤⣤⣬⣙⣛⢿⣿⣿⣿⣿⣿⣿⡿⣿⣿⡍⠄⠄⢀⣤⣄⠉⠋⣰ +⠄⣼⣖⣿⣿⣿⣿⣿⣿⣿⣿⣿⢿⣿⣿⣿⣿⣿⢇⣿⣿⡷⠶⠶⢿⣿⣿⠇⢀⣤ +⠘⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣽⣿⣿⣿⡇⣿⣿⣿⣿⣿⣿⣷⣶⣥⣴⣿⡗ +⢀⠈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⠄ +⢸⣿⣦⣌⣛⣻⣿⣿⣧⠙⠛⠛⡭⠅⠒⠦⠭⣭⡻⣿⣿⣿⣿⣿⣿⣿⣿⡿⠃⠄ +⠘⣿⣿⣿⣿⣿⣿⣿⣿⡆⠄⠄⠄⠄⠄⠄⠄⠄⠹⠈⢋⣽⣿⣿⣿⣿⣵⣾⠃⠄ +⠄⠘⣿⣿⣿⣿⣿⣿⣿⣿⠄⣴⣿⣶⣄⠄⣴⣶⠄⢀⣾⣿⣿⣿⣿⣿⣿⠃⠄⠄ +⠄⠄⠈⠻⣿⣿⣿⣿⣿⣿⡄⢻⣿⣿⣿⠄⣿⣿⡀⣾⣿⣿⣿⣿⣛⠛⠁⠄⠄⠄ +⠄⠄⠄⠄⠈⠛⢿⣿⣿⣿⠁⠞⢿⣿⣿⡄⢿⣿⡇⣸⣿⣿⠿⠛⠁⠄⠄⠄⠄⠄ +⠄⠄⠄⠄⠄⠄⠄⠉⠻⣿⣿⣾⣦⡙⠻⣷⣾⣿⠃⠿⠋⠁⠄⠄⠄⠄⠄⢀⣠⣴ +⣿⣿⣿⣶⣶⣮⣥⣒⠲⢮⣝⡿⣿⣿⡆⣿⡿⠃⠄⠄⠄⠄⠄⠄⠄⣠⣴⣿⣿⣿ + */ + +bool ok = false; + +map counter, memo1, memo2; + +inline bool check(vector& a, int n, int w) { + vector dp(w / 2 + 1, false); + vectorpr(w + 1, 0); + vector used(n, false); + dp[0] = true; + for (int i = 0; i < n; i++) { + for (int j = a[i]; j <= w / 2; j++) { + if (dp[j - a[i]]) { + pr[j] = j - a[i]; + dp[j] = true; + } + } + } + int pos = w / 2; + if (!dp[w / 2]) { + cout << -1; + return false; + } + map cnt; + while (pos != 0) { + cnt[pos - pr[pos]]++; + if (cnt[pos - pr[pos]] > counter[pos - pr[pos]]) { + return false; + } + pos = pr[pos]; + } + for (int i = 0; i < n; i++) { + if (cnt[a[i]]) { + used[i] = true; + cnt[a[i]]--; + } + } + dp.assign(n, false); + dp[0] = true; + pr.assign(n, 0); + for (int i = 0; i < n; i++) { + if (used[i]) { + continue; + } + for (int j = w / 2; j >= a[i]; j--) { + if (dp[j - a[i]] && !dp[j]) { + pr[j] = j - a[i]; + dp[j] = true; + } + } + } + cnt.clear(); + if (!dp[w / 2]) { + return false; + } else { + pos = w / 2; + while (pos != 0) { + cnt[pos - pr[pos]]++; + if (cnt[pos - pr[pos]] > counter[pos - pr[pos]]) { + return false; + } + pos = pr[pos]; + } + int sm = 0; + for (auto& [el, num] : cnt) { + sm += el * num; + } + if (sm == w / 2) { + for (int i = 0; i < n; i++) { + if (used[i]) { + memo1[a[i]]++; + } + } + for (auto& [el, num] : cnt) { + memo2[el] = num; + } + if (len(memo1) != len(memo2)) { + memo1.clear(); + memo2.clear(); + return false; + } + return true; + } + } + return false; +} + +inline void solve() { + int n; + cin >> n; + vector a(n); + int w = 0; + for (auto &i : a) { + cin >> i; + w += i; + counter[i]++; + } + if (n % 2 || w % 2) { + cout << -1; + return; + } + vector dp(w / 2 + 1, false); + vectorpr(w + 1, 0); + vector used(n, false); + dp[0] = true; + for (int i = 0; i < n; i++) { + for (int j = w / 2; j >= a[i]; j--) { + if (dp[j - a[i]]) { + pr[j] = j - a[i]; + dp[j] = true; + } + } + } + auto gen = a; + for (int i = 0; i < 500; i++) { + if (check(gen, n, w)) { + ok = true; + break; + } + random_shuffle(all(gen)); + } + if (ok) { + vector us(n, false); + for (int i = 0; i < n; i++) { + if (memo1[a[i]] && !us[i]) { + cout << i + 1 << ' '; + us[i] = true; + memo1[a[i]]--; + } + } + cout << '\n'; + for (int i = 0; i < n; i++) { + if (memo2[a[i]] && !us[i]) { + cout << i + 1 << ' '; + us[i] = true; + memo2[a[i]]--; + } + } + } else { + cout << -1; + } +} + +signed main() { + ios::sync_with_stdio(false); + cin.tie(nullptr); + cout.tie(nullptr); + int q = 1; + // cin >> q; + while (q--> 0) { + solve(); + } +} +" +VVBk2Q19,Untitled,xPucTu4,Python,Wednesday 8th of November 2023 02:52:24 PM CDT,"def solution_his(mount, count_days): + + if mount == ""May"" or mount == ""October"": + price_day_studio = 50 + price_day_app = 65 + + all_day_studio = price_day_studio * count_days + all_day_app = price_day_app * count_days + + if (count_days > 7) and (count_days <= 14): + discount_studio_total = all_day_studio - (all_day_studio / 100 * 5) + discount_app_total = all_day_app - (all_day_app / 100 * 5) + return (f""Apartment: {discount_app_total:.2f} lv."", f""Studio: {discount_studio_total:.2f} lv."") + + elif count_days > 14: + discount_studio_total = all_day_studio - (all_day_studio * 30 / 100) + discount_app_total = all_day_app - (all_day_app / 100 * 10) + return (f""Apartment: {discount_app_total:.2f} lv."", f""Studio: {discount_studio_total:.2f} lv."") + + else: + return (f""Apartment: {all_day_app:.2f} lv."", f""Studio: {all_day_studio:.2f} lv."") + + elif mount == ""June"" or mount == ""September"": + price_day_studio = 75.20 + price_day_app = 68.70 + + all_day_studio = price_day_studio * count_days + all_day_app = price_day_app * count_days + + if count_days > 14: + discount_studio = all_day_studio - (all_day_studio / 100 * 20) + discount_app = all_day_app - (all_day_app / 100 * 10) + return (f""Apartment: {discount_app:.2f} lv."", f""Studio: {discount_studio:.2f} lv."") + else: + return (f""Apartment: {all_day_app:.2f} lv."", f""Studio: {all_day_studio:.2f} lv."") + + elif mount == ""July"" or mount == ""August"": + price_day_studio = 76 + price_day_app = 77 + + all_day_studio = price_day_studio * count_days + all_day_app = price_day_app * count_days + + if count_days > 14: + discount_app = all_day_app - (all_day_app / 100 * 10) + return (f""Apartment: {discount_app:.2f} lv."", f""Studio: {all_day_studio:.2f} lv."") + + else: + return (f""Apartment: {all_day_app:.2f} lv."", f""Studio: {all_day_studio:.2f} lv."") + +def solution_mine(month, nights): + if month == ""May"" or month == ""October"": + studio_price = 50 + apartment_price = 65 + if nights > 14: + studio_price *= 0.7 + apartment_price *= 0.9 + elif nights > 7: + studio_price *= 0.95 + elif month == ""June"" or month == ""September"": + studio_price = 75.20 + apartment_price = 68.70 + if nights > 14: + studio_price *= 0.8 + apartment_price *= 0.9 + else: # July or August + studio_price = 76 + apartment_price = 77 + if nights > 14: + apartment_price *= 0.9 + + total_studio = studio_price * nights + total_apartment = apartment_price * nights + + return(f""Apartment: {total_apartment:.2f} lv."", f""Studio: {total_studio:.2f} lv."") + +possible_months = [""May"", ""June"", ""July"", ""August"", ""September"", ""October""] +for month in possible_months: + for nights in range(1, 30): + his = solution_his(month, nights) + mine = solution_mine(month, nights) + if his != mine: + print(f""Month: {month}, Nights: {nights}"") + print(his) + print(mine) +" +8hyV4WwB,Lua Package Installer,Jameelo,Lua,Wednesday 8th of November 2023 02:49:42 PM CDT,"--[[ + This software will perform a fresh install of all programs in PACKAGES +]] + +PACKAGES = { + [""stairMaker""] = ""QHf8evLE"", + [""quarry""] = ""vqbJcqCk"", + [""upQuarry""] = ""F19UiGCN"", + [""elevator""] = ""5F9wdhrm"" +} + +INSTALLSHELL = ""pastebin get %s %s"" -- Replace first string with value, second with key +UNINSTALLSHELL = ""delete %s"" + +print(""Performing fresh install of packages\n\n"") + +for k,v in pairs(PACKAGES) do + print(""Program: "",k,""\n\n"") + + if fs.exists(k) == true then + print(""Uninstalling...\n\n"") + shell.run(string.format(UNINSTALLSHELL,k)) + print(""Uninstallation complete :)\n\n"") + end + + print(""Installing...\n\n"") + shell.run(string.format(INSTALLSHELL,v,k)) + print(""Installation complete :)\n\n"") +end + +print(""Packages installed.\n\n"")" +tpjKhYuS,Untitled,Tkap1,TypeScript,Wednesday 8th of November 2023 02:39:54 PM CDT," + +ButtonState = { + eventCountThisFrame: number; + isDown: boolean; +} + +ButtonStates[] = [] + + +onmousedown() +{ + if button == left { + // or use an enum + ButtonStates[0].eventCountThisFrame += 1; + ButtonStates[0].isDown = true; + } + if button == right { + // or use an enum + ButtonStates[1].eventCountThisFrame += 1; + ButtonStates[1].isDown = true; + } +} + + +render() +{ + // do all the shit + + for each buttonstate + { + ButtonStates[i].eventCountThisFrame = 0; + } +}" +b3T9Ejet,my 1'st project,egogoboy,Java,Wednesday 8th of November 2023 02:38:09 PM CDT,"import java.util.*; +import java.io.*; + +public class Main { + public static void main(String[] args) throws IOException { + actions input = new actions(); + array mass = new array(); + mass.notCreated(); + displayHello(); + do { + input.userInput(); + switch (input.getAns()) { + case (""manual"") : input.displayManual(); break; + case (""new array"") : + if (mass.getStatus()) { + input.arrayIsAlreadyCreated(); + input.userInput(); + while (!input.getAns().equals(""y"") && !input.getAns().equals(""n"")) { + input.userInput(); + input.displayError(); + } + if (input.getAns().equals(""n"")) + break; + } + mass = new array(); + mass.createArray(); + break; + case (""set array name""): mass.setName(); break; + case (""set array size""): mass.setSize(); break; + case (""set array""): mass.setElements(); break; + case (""view array""): mass.displayArray(); break; + default : if (!input.getAns().equals(""exit"")) + input.displayError(); + break; + } + } while (!input.getAns().equals(""exit"")); + + } + static void displayHello() { + System.out.print(""Welcome to my first project!\nIf you want to see manual, enter 'manual'\n"" + + ""If you want to exit, enter 'exit'\n""); + } +} + +class actions { + static String user; + { + System.out.print(""user actions is ready to use\n""); + } + public void userInput(){ + Scanner in = new Scanner(System.in); + System.out.print(""> ""); + user = in.nextLine(); + } + public String getAns(){ + return this.user; + } + public void displayError() { + System.out.print(""Unknown command X(\n""); + } + public void arrayIsAlreadyCreated() { + System.out.print(""The array has already been created. do you want to delete the current array and create a new one?[y/n]\n""); + } + public void displayManual() { + System.out.print(""-----Manual-----\n"" + + ""new array : deletes the old array and creates a completely new one\n"" + + ""set array name : sets the name of the current array\n"" + + ""set array size : sets the size of the current array (this will destroy all the elements!)\n"" + + ""set array : set array elements\n"" + + ""view array : outputs the contents of the current array\n"" + + ""start sort : starts sorting the array\n"" + + ""exit : breaks the program\n""); + } +} +class Sort { + public static void insertionSort(array m) { + + } +} +class array{ + Scanner in = new Scanner(System.in); + static int size; + static int[] nums; + static String name; + static boolean created = false, elements = false; + { + this.size = 0; + name = ""null""; + created = true; + elements = false; + System.out.print(""array created successfully!\n""); + } + public void createArray() throws IOException { + setName(); + setSize(); + nums = new int[size]; + setElements(); + } + public void setElements() throws IOException { + System.out.print(""Enter new elements of "" + name + "": ""); + if (!elements) { + for (int i = 0; i < size; ++i) { + elements = true; + nums[i] = in.nextInt(); + } + System.out.print(""The array has been filled successfully!\n""); + } + else { + System.out.print(""The array is already filled. do you want to fill it out again? [y/n]\n> ""); + char ans = (char) System.in.read(); + while (ans != 'y' && ans != 'n') { + ans = (char) System.in.read(); + System.out.print(""Unknown command X(\n> ""); + } + if (ans == 'y') { + System.out.print(""Enter new elements of "" + name + "": ""); + for (int i = 0; i < size; ++i) { + elements = true; + nums[i] = in.nextInt(); + } + System.out.print(""The array has been filled successfully!\n""); + } + } + } + public void setSize() throws IOException{ + System.out.print(""Enter new size of "" + name + "": ""); + int size = in.nextInt(); + if (this.size == 0) { + this.size = size; + } + else { + System.out.print(""The size of the array has already been set. do you want to change it? [y/n]\n> ""); + char ans = (char) System.in.read(); + while (ans != 'y' && ans != 'n') { + ans = (char) System.in.read(); + System.out.print(""Unknown command X(\n> ""); + } + if (ans == 'y') { + this.size = size; + } + } + nums = new int[this.size]; + System.out.print(""New size of array: "" + this.size + ""\n""); + } + public void setName() throws IOException{ + System.out.print(""Enter the new name of array: ""); + String name = in.nextLine(); + if (this.name.equals(""null"")) { + this.name = name; + System.out.print(""New name of array: "" + this.name + ""\n""); + } + else { + System.out.print(""The array already has a name. Are you sure you want to rename it? [y/n]\n> ""); + char ans = (char) System.in.read(); + while (ans != 'y' && ans != 'n') { + ans = (char) System.in.read(); + System.out.print(""Unknown command X(\n> ""); + } + if (ans == 'y') { + this.name = name; + System.out.print(""New name of mass: "" + this.size + ""\n""); + } + } + } + public int getSize() { + return this.size; + } + public boolean getStatus() { + return created; + } + public int[] getArray() { + return this.nums; + } + public void displayArray() { + System.out.print(""Name of array: "" + name + + ""\nSize of array: "" + size + + ""\nElements of array: ""); + for (int i = 0; i < size; ++i) + System.out.print(nums[i] + "" ""); + System.out.print(""\n""); + } + public void notCreated() { + created = false; + } +}" +gvsUKwwq,02. Shoot for the Win,Spocoman,JavaScript,Wednesday 8th of November 2023 02:25:37 PM CDT,"targets = list(map(int, input().split(' '))) + +shot_targets = 0 +command = input() + +while command != ""End"": + index = int(command) + + if 0 <= index < len(targets): + for i in range(len(targets)): + if targets[i] != -1 and index != i: + if targets[i] > targets[index]: + targets[i] -= targets[index] + else: + targets[i] += targets[index] + + targets[index] = -1 + shot_targets += 1 + + command = input() + +print(f""Shot targets: {shot_targets} -> {' '.join(map(str, targets))}"") +" +TuKzjM59,ftime,RealDjox,JavaScript,Wednesday 8th of November 2023 02:20:36 PM CDT,"a=[""has been following"",""for"",""years"",""year"",""months"",""month"",""weeks"",""week"",""days"",""day"",""hours"",""hour"",""minutes"",""minute"",""seconds"",""second"",""is not following"","" @h1kh "",""@h1kh.""];b=[""подписан на"",""уже"",""г"",""г"",""мес"",""мес"",""нед"",""нед"",""дн"",""дн"",""ч"",""ч"",""мин"",""мин"",""сек"",""сек"",""не подписан на"","" Хика "",""канал NotLikeThis""]" +dssFQ2c0,محرر المعادلات باللون الرمادى فى وورد 2010,ghostman905,JavaScript,Wednesday 8th of November 2023 02:18:17 PM CDT,"عندى أوفيس 2010 . فى تبويب Insert زرار معادلة باللون الرصاصى ""غير مفعل"" مع إن محرر المعادلات 3 متسطب وشغال على OneNote .. + +https://worrdpro.blogspot.com/2023/11/Equation-editor-not-activated-in-word-2010.html" +0M2mX6gR,Untitled,xPucTu4,Python,Wednesday 8th of November 2023 01:52:11 PM CDT,"# Dishwasher + + +# Get the number of bottles multiplied by 750ml +available_detergent = int(input()) * 750 + +washed_dishes = 0 +washed_pots = 0 + +loop_counter = 0 +while True: + # Get the number of dishes or pots, or End + command = input() + if command == ""End"": + break + else: + loop_counter += 1 + if loop_counter % 3 == 0: + available_detergent -= int(command) * 15 + washed_pots += int(command) + else: + available_detergent -= int(command) * 5 + washed_dishes += int(command) + if available_detergent < 0: + break + +if available_detergent >= 0: + print(f""Detergent was enough!\n{washed_dishes} dishes and {washed_pots} pots were washed.\nLeftover detergent {available_detergent} ml."") +else: # the amount is negative + print(f""Not enough detergent, {abs(available_detergent)} ml. more necessary!"") +" +NHFpUCFQ,02. Shoot for the Win,Spocoman,C++,Wednesday 8th of November 2023 01:52:09 PM CDT,"#include +#include +#include +#include +#include + +using namespace std; + +int main() { + int n, index, shotTargets = 0; + string line; + getline(cin, line); + + istringstream stream(line); + + vector targets; + + while (stream >> n) { + targets.push_back(n); + } + + string command; + cin >> command; + + while (command != ""End"") { + index = stoi(command); + + if (index >= 0 && index < targets.size()) { + for (int i = 0; i < targets.size(); i++) { + if (targets[i] != -1 && index != i) { + if (targets[i] > targets[index]) { + targets[i] -= targets[index]; + } + else { + targets[i] += targets[index]; + } + } + } + targets[index] = -1; + shotTargets++; + } + + cin >> command; + } + + cout << ""Shot targets: "" << shotTargets << "" -> ""; + for (auto& t: targets) { + cout << t << ' '; + } + return 0; +}" +3Mu7ucGK,Viktor - delete object refactored code,bozhilov,Python,Wednesday 8th of November 2023 01:33:16 PM CDT," def delete_object_by_filename(cls, filename: str) -> Dict[str, Any]: + try: + cls._s3_client.delete_object(Bucket=cls._AWS_BUCKET_NAME, Key=filename) + except Exception as e: + return HTTPException(status_code=500, detail=e) + + return {""message"": f""Object '{filename}' deleted successfully.""} +" +1yT7ZUki,02. Shoot for the Win,Spocoman,C#,Wednesday 8th of November 2023 01:32:43 PM CDT,"using System; + +namespace ShootForTheWin +{ + class Program + { + static void Main(string[] args) + { + var targets = Console.ReadLine().Split(' ').Select(int.Parse).ToList(); + int index, shotTargets = 0; + string command; + + while ((command = Console.ReadLine()) != ""End"") + { + index = int.Parse(command); + if (index >= 0 && index < targets.Count) + { + for (int i = 0; i < targets.Count; i++) + { + if (targets[i] != -1 && index != i) + { + if (targets[i] > targets[index]) + { + targets[i] -= targets[index]; + } + else + { + targets[i] += targets[index]; + } + } + } + targets[index] = -1; + shotTargets++; + } + } + + Console.WriteLine($""Shot targets: {shotTargets} -> {String.Join(' ', targets)}""); + } + } +}" +U5E0CZ7E,LeetCode 84 - Largest Rectangle in Histogram - 2023.11.09 solution,nathanwailes,Python,Wednesday 8th of November 2023 01:29:04 PM CDT,"class Solution: + def largestRectangleArea(self, heights: List[int]) -> int: + area_of_largest_rectangle = 0 + heights_to_start_indices = [] + i = 0 + + for i, h in enumerate(heights): + area_of_largest_rectangle = max(area_of_largest_rectangle, h) + + while len(heights_to_start_indices) > h: + heights_to_start_indices.pop() + + for hj, j in enumerate(heights_to_start_indices): + area = (i - j + 1) * (hj + 1) + area_of_largest_rectangle = max(area_of_largest_rectangle, area) + + while h > len(heights_to_start_indices): + heights_to_start_indices.append(i) + + i += 1 + + return area_of_largest_rectangle" +iq1b3L9f,Untitled,enkryptor,JavaScript,Wednesday 8th of November 2023 01:15:30 PM CDT,"function mutate(arr) { + for (let i = arr.length; i--; i >= 0) { + if (arr[i].type === 'potato') { + arr.splice(i, 1); + } else if (arr[i].type === 'apple') { + arr[i].price = arr[i].price * 2; + } + } +}" +QXjnLgf6,xrand..,Rnery,Bash,Wednesday 8th of November 2023 01:13:39 PM CDT,"#!/usr/bin/env bash + +verificar_superusuario() { + if [[ $EUID -ne 0 ]]; then + echo ""Este script precisa ser executado como root (superusuário)."" + exit 1 + fi +} + +detectar_saida_primaria() { + # Verifique as saídas disponíveis e escolha a primeira ativa + SAIDA_PRIMARIA=$(xrandr -q | awk '/ connected/{print $1; exit}') + if [ -z ""$SAIDA_PRIMARIA"" ]; then + echo ""Nenhuma saída de vídeo detectada."" + exit 1 + fi + echo ""Saída de vídeo primária detectada: $SAIDA_PRIMARIA"" +} + +# Função para definir a resolução mais alta suportada pela saída +definir_resolucao_maxima() { + RESOLUCAO_MAXIMA=$(xrandr | grep -A 1 ""$SAIDA_PRIMARIA"" | tail -1 | awk '{print $1}') + if [ -z ""$RESOLUCAO_MAXIMA"" ]; then + echo ""Não foi possível detectar uma resolução suportada para $SAIDA_PRIMARIA."" + exit 1 + fi + echo ""Definindo a resolução máxima para $RESOLUCAO_MAXIMA"" + xrandr --output ""$SAIDA_PRIMARIA"" --mode ""$RESOLUCAO_MAXIMA"" +} + +# Função para criar o arquivo de configuração Xorg +criar_arquivo_xorg() { + cat > /etc/X11/xorg.conf.d/10-monitor.conf < 0): + res[0].append([chr(ord('@') + main_section)]) + return res + + +def compile_section(lines): + stack = [] + stack.append((-1, 1)) + + for l in lines: + qb = False + lw = l.rstrip().split() + ls = len(l.rstrip()) + for i in range(ls): + ci = l[i] + if not ci in commands: + print(""Unknown symbol"", i, ord(ci), file=sys.stderr) + ci = ""."" + cci = commands[ci] + if cci[0] == 0: + continue + if not qb: + while stack[-1][0] >= i: + stack.pop() + assert stack + qb = True + print(tab_string * stack[-1][1], end=''); + if cci[0] == 1 or cci[0] == 3: + print(cci[1]) + elif cci[0] == 2: + print(""for _ in range("" + str(cci[1]) + ""):"") + stack.append((i, stack[-1][1] + 1)) + + pass # for i in range(ls) + pass # for l in lines + +def main(): + codes = precompile_program() + cn = len(codes) + for i in range(cn): + sname = commands[chr(ord('@') + i)][1] + print(""def "" + sname + "":"") + compile_section(codes[i]) + print("" pass\n"") + + +main() +" +uGKyaJsP,XMR Wallet Credentials have been reset,sondeno,GetText,Wednesday 8th of November 2023 01:04:13 PM CDT,"Dear User +We have received a request to reset the login information for your Monero wallet. If you did not make this request, please contact us immediately. + +Your new login credentials will be: +galaxia43:k77ex3i on 141.147.104.113 +You can connect via SSH. + +Regards +XTR1337" +hFND1Vze,snake.py,Repciu,4CS,Wednesday 8th of November 2023 12:56:10 PM CDT,"import pygame +import random +import time +from Jablko import Jablko + +SZEROKOSC_EKRANU = 800 +WYSKOSC_EKRANU = 600 +tlo = pygame.Surface((SZEROKOSC_EKRANU, WYSKOSC_EKRANU)) +for i in range(25): + for j in range(19): + obraz = pygame.image.load(""images/background.png"") + maska = (random.randrange(0,20), random.randrange(0,20),random.randrange(0,20)) + obraz.fill(maska, special_flags=pygame.BLEND_ADD) + tlo.blit(obraz, (i*32, j*32)) + +pygame.init() +ekran = pygame.display.set_mode([SZEROKOSC_EKRANU, WYSKOSC_EKRANU]) +zegar = pygame.time.Clock() + +jablko = Jablko() +jablka = pygame.sprite.Group() +jablka.add(jablko) + +gra_dziala = True +while gra_dziala: + for zdarzenie in pygame.event.get(): + if zdarzenie.type == pygame.KEYDOWN: + if zdarzenie.key == pygame.K_ESCAPE: + gra_dziala = False + if zdarzenie.type == pygame.QUIT: + gra_dziala = False + ekran.blit(tlo, (0,0)) + for jablko in jablka: + ekran.blit(jablko.obraz, jablko.rect) + pygame.display.flip() + zegar.tick(30) + +pygame.quit()"