Skip to content

Instantly share code, notes, and snippets.

View sjsakib's full-sized avatar
🦥

Sharfin Jahan Sakib sjsakib

🦥
View GitHub Profile
@sjsakib
sjsakib / main.go
Created December 8, 2023 14:49
TheAlgo.go
package main
import (
"fmt"
"time"
)
func main() {
instructions := "LRLRLRRLRRRLRRRLRRRLRLRRRLRRRLRRRLLRLRRRLRLRRRLLRRRLRRLRRRLRRLRLRRRLRRRLRLRRLRRRLRRLRRRLRRLRLRRLRRRLRLRRLRRRLLRRRLRLRRLLLRLLRLRRLLRRRLLRLLRRLRLRRRLLLRLRRLRLRRLRRRLRRLLRRLLRLRRRLRRRLRLLLLRLLRLRLRLRRRLRRLRRLRLRRRLLRRLRLLRRLRLRRLRLRLRRLRRLLRLRRLLRLLRRRLLLRRRLRRLRLRRRLRRLRRRLRRLLLRRRR"
Failed: Run test for: Show all session data Should show be able to select all sessions for screenshots - Error: waiting for XPath `//*[contains(text(), "TOOLBOX => SOURCE CODE")]` failed: timeout 30000ms exceeded
Failed: Run test for: Show all session data Should show two screenshots - Error: expected 17 to equal 2
Failed: Authentication Create New User Authentication Should Register As a New User - Error: expected 'connect ECONNREFUSED 127.0.0.1:1025' to equal 'Account created'
Failed: Authentication Create New User Authentication Should Receive a Confirmation Email - Error: net::ERR_CONNECTION_REFUSED at http://localhost:1080/#/
Failed: Authentication Create New User Authentication Should Send Email Confirmation Link - Error: Execution context was destroyed, most likely because of a navigation.
Failed: Authentication Create New User Authentication Should Show a Success Message For Email Confirmation - Error: Protocol error (Page.navigate): Cannot navigate to invalid URL
Failed: Authentication Create New U
Array.prototype.lastOrDefault = function(cond, defaultValue) {
if (!this.length)
return defaultValue;
if (!cond)
return this[this.length - 1];
for (var i = this.length - 1; i >= 0; --i) {
if (cond(this[i]))
return this[i];
}
@sjsakib
sjsakib / README.md
Last active February 6, 2020 21:59
This script gets a random featured image from unsplash.com and sets it as your desktop background. Works on `gsettings` supported linux distros. Tested on Ubuntu 19.10 (Gnome). Requires the `requests` module to be installed. It takes some time to download the photo. So, wait patiently after executing the script. You can use `anacrontab` to run i…

This script gets a random featured image from unsplash.com and sets it as your desktop background. Works on gsettings supported linux distros. Tested on Ubuntu 19.10 (Gnome). Requires the requests module to be installed.

It takes some time to download the photo. So, wait patiently after executing the script.

You can use anacrontab to run it daily or weekly. See http://bit.ly/371ybhq

Privacy Policy

Sharfin Jahan Sakib built the My Netis app as an Ad Supported app. This SERVICE is provided by Sharfin Jahan Sakib at no cost and is intended for use as is.

This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.

If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at My Netis unless otherwise defined in this Privacy Policy.

We don't use any of your data expcept to provide this service

We Do not collect, store or send any kind of data except to your google drive

We use your facebook data for these two purposes:

  1. To identify you, so we can save your games for you. It enables play across device.
  2. To show you which of your friends are playing this game and how much they are scoring.

We do not use or store any of your data for any other purposes.

import socket
port = 8000
# we'll send this message before closing connection
# so that other side can close connection as well
CLOSE = b'--close--'
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
import socket
port = 8000
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.bind(('', port))
sock.listen(1)
client_sock, addr = sock.accept()