This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This puppeteer script will automatically download all payslips for you, if your company uses Keka HR Software. | |
* I downloaded about 4 years of payslips in approximately 2 minutes! :P | |
* | |
* - Download this file and save it in some temporary directory. | |
* - Fill in the params wherever you see the ℹ️ in this file & save. | |
* - Install the dependency `puppeteer-core` (just run `npm init` and `npm install --save puppeteer-core@2` in your directory). | |
* - Requires NodeJS >= 12 (tested with v12.13.1), puppeteer-core@2 & Google Chrome browser. | |
* - Run: `node downloadPayslips.js` | |
* - The files are all saved to the browser's default download folder. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
A python script to change automatically desktop background | |
You must have install feh in system ("sudo apt-get install feh") | |
this script is just for fun . If anyone have issue ping me | |
last work is to set is a cron job | |
""" | |
import requests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#learned from online resource | |
import csv | |
import random,math,operator | |
def loadDataset(filename,split,trainingset=[],testset=[]): | |
with open(filename,"rt", encoding='utf8') as csvfile: | |
lines = csv.reader(csvfile) | |
#for row in lines: | |
# print(" ".join(row)) | |
dataset = list(lines) | |
for x in range(len(dataset)-1): |