Skip to content

Instantly share code, notes, and snippets.

View ans-ashkan's full-sized avatar

Ashkan Nourzadeh ans-ashkan

View GitHub Profile
@ans-ashkan
ans-ashkan / linkedin-skill-extraction-dev-console.js
Created October 20, 2023 06:41
Linkedin Skills Page, Skill extraction
[...new Set(Array.from(document.getElementsByClassName("optional-action-target-wrapper display-flex flex-column full-width")).map(x=>x.href).filter(h=>h.includes('keywords') && h.includes('PROFILE_PAGE_SKILL_NAVIGATION')).map(x=>new URL(x).searchParams.get('keywords')))].join(', ')

Keybase proof

I hereby claim:

  • I am ans-ashkan on github.
  • I am ans_ashkan (https://keybase.io/ans_ashkan) on keybase.
  • I have a public key whose fingerprint is 4C66 4E72 71B5 AD43 38C9 B9E0 4B34 A881 D9F5 2BDE

To claim this, I am signing this object:

@ans-ashkan
ans-ashkan / .gitconfig
Last active September 11, 2019 08:50
my .gitconfig
[filter "lfs"]
smudge = git-lfs smudge %f
required = true
clean = git-lfs clean %f
[user]
name = Ashkan Nourzadeh
email = a.nourzadeh@mabnadp.com
[push]
default = simple
@ans-ashkan
ans-ashkan / ExcelTools
Created November 10, 2014 10:46
ExcelTools
public class ExcelTools
{
public static DataSet ImportExcelXLS(string FileName, bool hasHeaders)
{
string HDR = hasHeaders ? "Yes" : "No";
string strConn;
// if (FileName.Substring(FileName.LastIndexOf('.')).ToLower() == ".xlsx")
strConn = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + FileName + ";Extended Properties=\"Excel 12.0;HDR=" + HDR + ";\"";
// else
// strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + FileName + ";Extended Properties=\"Excel 8.0;HDR=" + HDR + ";IMEX=0\"";
@ans-ashkan
ans-ashkan / ImageTools
Last active August 29, 2015 14:07
Open ImageFiles,GetResizedPng,ToBase64,FromBase64 and asyncs
using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Threading.Tasks;
namespace ImageBase64CoderDecoder
{
public static class ImageTools
{