Create an account


Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,134
» Latest member: jax9090nnn
» Forum threads: 21,938
» Forum posts: 22,808

Full Statistics

Online Users
There are currently 3453 online users.
» 0 Member(s) | 3448 Guest(s)
Applebot, Baidu, Bing, Google, Yandex

 
  (Free Game Key) Immortal Redneck - Free GOG Game
Posted by: xSicKxBot - 09-03-2022, 02:42 PM - Forum: Deals or Specials - No Replies

Immortal Redneck - Free GOG Game

Immortal Redneck - Free GOG Game

This giveaway is on gog.com gog is a platform for games that is dedicated to drm-free games (those are games that do not require login or registration to play the game)

How to grab Immortal Redneck
- Go to the home page of https://gog.com
- Login and Register
- Go to the home page again
- Wait for 10 seconds then start searching for Dex
- on the home page look for "Now on sale" (above it there should be a banner)
- on the banner there is a button "Yes, and claim the game" click it
- Thats it


We are welcoming everyone to join our discord[discord.gg]. We are more active there on finding giveaways, small or large, and there are daily raffles you can participate.

?GrabFreeGames.com ?Twitter ?Steam Curator ?Facebook[fb.me]?Discord[discord.gg]
❤️Support us: HumbleBundle Partner[www.humblebundle.com] Fanatical Affiliate[www.fanatical.com]


https://steamcommunity.com/groups/GrabFr...5119158078

Print this item

  PC - F1 Manager 2022
Posted by: xSicKxBot - 09-03-2022, 02:42 PM - Forum: New Game Releases - No Replies

F1 Manager 2022



Make your mark on Formula 1 in the officially licensed F1 Manager 2022. Be the boss of your chosen constructor and pick from a roster of 2022 drivers and staff.

Publisher: Frontier Developments

Release Date: Aug 25, 2022




https://www.metacritic.com/game/pc/f1-manager-2022

Print this item

  [Tut] Python Convert Parquet to CSV
Posted by: xSicKxBot - 09-02-2022, 03:20 PM - Forum: Python - No Replies

Python Convert Parquet to CSV

5/5 – (1 vote)

Problem


? Challenge: How to convert a Parquet file 'my_file.parquet' to a CSV file 'my_file.csv' in Python?

In case you don’t know what a Parquet file is, here’s the definition:

? Info: Apache Parquet is an open-source, column-oriented data file format designed for efficient data storage and retrieval using data compression and encoding schemes to handle complex data in bulk. Parquet is available in multiple languages including Java, C++, and Python.

Here’s an example Parquet file format:

Solution


The most simple way to convert a Parquet to a CSV file in Python is to import the Pandas library, call the pandas.read_parquet() function passing the 'my_file.parquet' filename argument to load the file content into a DataFrame, and convert the DataFrame to a CSV using the DataFrame to_csv() method.

  • import pandas as pd
  • df = pd.read_parquet('my_file.parquet')
  • df.to_csv('my_file.csv')

Here’s a minimal example:

import pandas as pd
df = pd.read_parquet('my_file.parquet')
df.to_csv('my_file.csv')

For this to work, you may have to install pandas and pyarrow. But if I were you, I’d just try it because chances are you’ve already installed them or don’t explicitly need to install the PyArrow library.

Related


? Related Tutorial: Python Convert CSV to Parquet

I also found this video from a great YT channel that concerns this particular problem of converting a Parquet to a CSV:

YouTube Video



https://www.sickgaming.net/blog/2022/08/...et-to-csv/

Print this item

  (Indie Deal) Cashback, Capcom, Disney Deals & more ending soon
Posted by: xSicKxBot - 09-02-2022, 03:20 PM - Forum: Deals or Specials - No Replies

Cashback, Capcom, Disney Deals & more ending soon

Capcom Sale & more
[www.indiegala.com]
You know how the Cashback goes: for a limited time, any purchase made on IndieGala, be it store deals or bundles, will be rewarding you instantly and handsomely, directly into your IndieGala account, ready to be used!
[www.indiegala.com]
Disney Sale, ALL TITLES 75% OFF [www.indiegala.com]
CAPCOM Sale, UP TO 85% OFF [www.indiegala.com]
Siluman Soft Summer Sale, up to 90% OFF [www.indiegala.com]
Plug In Digital Summer Sale, up to 90% OFF [www.indiegala.com]
The Elder Scrolls® Online Franchise Sale, all titles 45% OFF [www.indiegala.com]
Team17 Sale, UP TO 90% OFF, [www.indiegala.com]
Slitherine Sale, UP TO 80% OFF [www.indiegala.com]
Annapurna Sale, UP TO 77% OFF [www.indiegala.com]
https://www.youtube.com/watch?v=F_XqdYRzG-A
Vorax Alpha Window Of Opportunity Closing
https://store.steampowered.com/app/1874190/Vorax/
Today is the final day you can grab the Vorax Alpha on Steam and tomorrow the final day to grab it from our site[freebies.indiegala.com], so don't miss out. 

https://youtu.be/Cc7-LiucpfA
Stay Inside, Stay Safe and Enjoy Good Games.
Check out IndieGala on Twitter, YouTube & Facebook[www.facebook.com]


https://steamcommunity.com/groups/indieg...7430411948

Print this item

  News - Amazon Prime Members Can Stream 6 Games For Free This Month
Posted by: xSicKxBot - 09-02-2022, 03:20 PM - Forum: Lounge - No Replies

Amazon Prime Members Can Stream 6 Games For Free This Month

The Prime Gaming Channel's September game-streaming lineup is live now. Amazon Prime subscribers can stream six games at no additional cost this month. This month’s lineup includes platformers new and old, a few racing games, and a massive action RPG for Prime members to check out on its cloud streaming service. You can stream these games on PC, Mac, iOS, Android, Amazon Fire devices, and even some Samsung TVs.

Amazon Luna Prime Gaming Channel games for September 2022

Available until September 30

  • Earthworm Jim
  • EVERSPACE
  • Hot Wheels Unleashed
  • Riptide GP: Renegade
  • Yooka-Laylee & The Impossible Lair
  • Ys IX: Monstrum Nox

Amazon Luna and the Prime Gaming channel are included with Amazon Prime memberships. You can sign up for a 30-day free trial of Amazon Prime and enjoy all these games, plus all the other perks the service includes.

Continue Reading at GameSpot

https://www.gamespot.com/articles/amazon...01-10abi2f

Print this item

  (Free Game Key) Mafia - Free Steam Game
Posted by: xSicKxBot - 09-02-2022, 03:20 PM - Forum: Deals or Specials - No Replies

Mafia - Free Steam Game

This giveaway is on steam

- Go to the store page of Mafia
- Mafia - Store Page
- Scroll down and click Add to Account, thats it

- Mobile: j‌avascript:AddFreeLicense(765160)
- ArchiSteamFarm (ASF): !addlicense asf s/765160

We are welcoming everyone to join our discord[discord.gg]. We are more active there on finding giveaways, small or large, and there are daily raffles you can participate.

?GrabFreeGames.com ?Twitter ?Steam Curator ?Facebook[fb.me]?Discord[discord.gg]
❤️Support us: HumbleBundle Partner[www.humblebundle.com] Fanatical Affiliate[www.fanatical.com]


https://steamcommunity.com/groups/GrabFr...5116000249

Print this item

  PC - I Was a Teenage Exocolonist
Posted by: xSicKxBot - 09-02-2022, 03:20 PM - Forum: New Game Releases - No Replies

I Was a Teenage Exocolonist



Spend your teenage years on an alien planet in this narrative RPG with card-based battles. Explore, grow up, and fall in love. The choices you make and skills you master over ten years will determine the course of your life and the survival of your colony.

Publisher: Northway Games

Release Date: Aug 25, 2022




https://www.metacritic.com/game/pc/i-was...xocolonist

Print this item

  [Tut] JavaScript Validate Email using Regular Expression (regex)
Posted by: xSicKxBot - 09-01-2022, 09:47 PM - Forum: PHP Development - No Replies

JavaScript Validate Email using Regular Expression (regex)

by Vincy. Last modified on September 1st, 2022.

This tutorial helps to learn how to validate email using regular expression (regex) in JavaScript. It has more than one example of how to do email validation.

Those examples differ in the regex patterns used and in the handling of input email.

The below quick example uses a regex pattern with a JavaScript match() function to validate email. Before finding the match, it converts the input email to lowercase.

Quick example


const validateEmail = (email) => { return String(email) .toLowerCase() .match( /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-z\-0-9]+\.)+[a-z]{2,}))$/ );
};

Test results


When receiving an invalid email format, it returns null. Otherwise, it returns an array of content matched with the regex.

Input: vincy#example
Output: null. Input: vincy@example.com
Output: vincy@example.co,vincy,vincy,,,example.co,,example.co,example.

Simple Email Validation in JavaScript using regex


This simple email validation script does a basic check with the input email string.

It validates the input email if it has the expected format regardless of the length and the data type.

I have added this example just to understand how to do pattern-based validation with regex in JavaScript.

I prefer to use the quick example and the strict validation example follows.

simple-validation.html

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JavaScript Simple Email Validation using Regular Expression (regex)</title>
<link rel='stylesheet' href='style.css' type='text/css' />
<link rel='stylesheet' href='form.css' type='text/css' />
</head>
<body> <div class="phppot-container"> <h1>JavaScript Simple Email Validation using Regular Expression (regex)</h1> <div class="tile-container"> <form name="form"> <div class="row"> <label for="email">Email address: </label> <input id="email" name="email" /> </div> <div class="row"> <input type="submit" name="submit" value="Submit" on‌click="validateEmail(document.form.email)" /> </div> </form> </div> </div> <script> function matchEmailRegex(emailStr) { var emailRegex = /\S+@\S+\.\S+/; return emailStr.match(emailRegex); }; // validates in the form anystring@anystring.anystring // no more fancy validations function validateEmail(emailField) { var emailStr = emailField.value; if (matchEmailRegex(emailStr)) { alert("Entered value is a valid email."); } else { alert("Entered value is not an email."); } return false; } </script>
</body>
</html>

Test results


Input: vincy
Output: Entered value is not an email. Input: vincy@example.c
Output: Entered value is a valid email.

How to do strict email validation in JavaScript


This example uses an almost similar regex pattern that is used in the quick example. But, it handles the return value of the JavaScript match to output the validation message.

It gives a code to directly include in an application validation script to validate a form email input.

The alert() can be replaced with any form of letting the end user know about the validation status.

strict-validation.html

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JavaScript Validate Email using Regular Expression (regex)</title>
<link rel='stylesheet' href='style.css' type='text/css' />
<link rel='stylesheet' href='form.css' type='text/css' />
</head>
<body> <div class="phppot-container"> <h1>JavaScript Validate Email using Regular Expression (regex)</h1> <div class="tile-container"> <form name="form"> <div class="row"> <label for="email">Email address: </label> <input id="email" name="email" /> </div> <div class="row"> <input type="submit" name="submit" value="Submit" on‌click="validateEmail(document.form.email)" /> </div> </form> </div> </div> <script> function matchEmailRegex(emailStr) { var emailRegex = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; return emailStr.match(emailRegex); }; function validateEmail(emailField) { var emailStr = emailField.value; if (matchEmailRegex(emailStr)) { alert("Entered value is a valid email."); } else { alert("Entered value is not an email."); } return false; } </script>
</body>
</html>

Test results


Unlike the simple example, it strictly validates the email prefix with the allowed special characters.

It also checks the domain name format to validate the email. The following results show the test cases and respective outputs of the JavaScript email validation.

Input: vincy
Output: Entered value is not an email. Input: vincy@example.c
Output: Entered value is not an email. Input: vincy@example.com
Output: Entered value is a valid email.

Download

↑ Back to Top



https://www.sickgaming.net/blog/2022/09/...ion-regex/

Print this item

  (Free Game Key) Shadow of the Tomb Raider Def. Ed. and Submerged: Hidden Depths
Posted by: xSicKxBot - 09-01-2022, 09:47 PM - Forum: Deals or Specials - No Replies

Shadow of the Tomb Raider Def. Ed. and Submerged: Hidden Depths

Grab these games on the Epic Games Store

❤️ Shadow of the Tomb Raider: Definitive Edition
https://store.epicgames.com/p/shadow-of-the-tomb-raider

❤️ Submerged: Hidden Depths
https://store.epicgames.com/p/submerged-hidden-depths-6065a1

Knockout city has some items that are free too

The games is free to keep until Thursday, September 8, 2022 5:00 PM.

Next week's freebies:
Hundred Days - Winemaking Simulator
Realm Royale Reforged Epic Launch Bundle

Store Page[www.gog.com]
Free to claim for less than 48 hours

We are welcoming everyone to join our discord[discord.gg]. We are more active there on finding giveaways, small or large, and there are daily raffles you can participate.

?GrabFreeGames.com ?Twitter ?Steam Curator ?Facebook[fb.me]?Discord[discord.gg]
❤️Support us: HumbleBundle Partner[www.humblebundle.com] Fanatical Affiliate[www.fanatical.com]


https://steamcommunity.com/groups/GrabFr...5115666075

Print this item

  (Indie Deal) Vorax on Steam, 30MTD Alpha, Sales ending soon
Posted by: xSicKxBot - 09-01-2022, 09:47 PM - Forum: Deals or Specials - No Replies

Vorax on Steam, 30MTD Alpha, Sales ending soon

30 Minutes to Die ALPHA FREEbie
[freebies.indiegala.com]
Grab the Alpha and try it for free. You may even wishlist on Steam too:
https://store.steampowered.com/app/2118580/30_minutes_to_die/
https://www.youtube.com/watch?v=284Qpkv5n3Y
Play the Vorax Alpha on Steam!
https://store.steampowered.com/app/1874190/Vorax/
Happy Hour: The GameCreators 2 Bundle
[www.indiegala.com]
https://www.youtube.com/watch?v=2L-1x9u4cTs
Stay Inside, Stay Safe and Enjoy Good Games.
Check out IndieGala on Twitter, YouTube & Facebook[www.facebook.com]


https://steamcommunity.com/groups/indieg...7425009139

Print this item

 
Latest Threads
(Indie Deal) FREE W.Mafia...
Last Post: xSicKxBot
1 hour ago
News - One Final Fantasy ...
Last Post: xSicKxBot
1 hour ago
௹©Ukraine Shein COUPON Co...
Last Post: udwivedi923
10 hours ago
௹©Morocco Shein COUPON Co...
Last Post: udwivedi923
10 hours ago
௹©USA Shein COUPON Code ...
Last Post: udwivedi923
10 hours ago
௹©Armenia Shein COUPON Co...
Last Post: udwivedi923
10 hours ago
௹©Brazil Shein COUPON Cod...
Last Post: udwivedi923
10 hours ago
௹©South Africa Shein COUP...
Last Post: udwivedi923
10 hours ago
௹©Moldova Shein COUPON Co...
Last Post: udwivedi923
10 hours ago
௹©Malta Shein COUPON Code...
Last Post: udwivedi923
10 hours ago

Forum software by © MyBB Theme © iAndrew 2016