This file contains 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
namespace :experiment do | |
desc "This task will export Jobs into a csv file" | |
task export: :environment do | |
require 'csv' | |
number_of_rows = Job.last.id - Job.first.id | |
maximum_db_rows = 4000 | |
if number_of_rows > maximum_db_rows | |
posts = Job.all | |
CSV.open('jobs.csv', 'a+') do |csv_object| | |
posts.each_with_index do |post, i| |
This file contains 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
namespace :excel do | |
desc "This task will export posts to excel sheet" | |
task export: :environment do | |
book = Spreadsheet::Workbook.new | |
sheet = book.create_worksheet :name => 'Jobs' | |
posts = Job.all | |
posts.each_with_index do |post, i| | |
sheet.row(i).push post.id, post.title, post.location, post.description |
This file contains 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
import os | |
from TTS.config.shared_configs import BaseAudioConfig | |
from TTS.trainer import Trainer, TrainingArgs | |
from TTS.utils.audio import AudioProcessor | |
from TTS.vocoder.configs import HifiganConfig | |
from TTS.vocoder.datasets.preprocess import load_wav_data | |
from TTS.vocoder.models.gan import GAN | |
output_path = "/content/drive/MyDrive/Emergent/train/hifigan" |
This file contains 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
task greenhouse: :environment do | |
require 'open-uri' | |
require 'nokogiri' | |
pages = [ | |
"https://boards.greenhouse.io/remotecom", | |
"https://boards.greenhouse.io/alt", | |
"https://boards.greenhouse.io/gitlab", |
This file contains 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
# Technology Stack | |
newone = "" | |
grap = "" | |
yearshash = "" | |
newone = description.scan(/technologies(.*?)\./)[0] | |
if newone == nil | |
newone = description.scan(/skills(.*?)\./)[0] | |
if newone == nil | |
newone = description.scan(/technology\sframeworks(.*?)\./)[0] | |
if newone == nil |
This file contains 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
stack_tags = ["JamStack", "MERN", "LAMP", "ASP.NET", "MEAN", "MEVN", "Ruby on Rails"] | |
frameworks_tags = ["flask","React","Django","laravel","angularJS","Vue","expressJs","cakePHP","jQuery","Bootstrap","CodeIgnitor","Drupal","NextJS","FastAPI","node","npm","Revel"] | |
programming_lang = ["Python","Javascript","Typescript","PHP","Java","C#","C","C++","Go","R","Swift","Perl","MATLAB","Scala","Dart","Kotlin","Golang","Rust","Bash","VBA"] | |
database_tags = ["SQL","NoSQL","Oracle","Cassandra","RDBMs","MySQL","PostgreSQL","MongoDB","Mongoose","Vitess",] | |
design_tags = ["figma","InDesign","PhotoShop","illustrator","Adobe Creative Cloud Products","UI/UX","UI","UX","Sketch"] | |
data_analytics = ["apache spark","apache kafka","apache flink","Kafka", "Spark","Jupyter","Looker","Tableau","Metabase","BI","ClickHouse"] | |
deployment_tags = ["AWS","Google Cloud","S3","Kunernetes","Apache","Nginx","HAproxy","Ansible","Puppet","Chef","API","OpenAPI","GraphQL","Docker","K8S","Terraform","Hadoop"] | |
networking_tags = ["TCP/IP","DNS","HTTP","A |
This file contains 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
task salesforce_workday: :environment do | |
require 'watir' | |
browser = Watir::Browser.new :chrome , headless: true | |
browser.goto "https://salesforce.wd1.myworkdayjobs.com/External_Career_Site" | |
title = browser.div(:class =>'gwt-Label WMCP WFBP', :index => 3) | |
puts title | |
#puts "Length" + title.to_s | |
#divs = browser.divs(:xpath => '//div[contains(@class="gwt-Label WMCP WFBP")]') | |
#puts title.text |
This file contains 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
#!flask/bin/python | |
import argparse | |
import io | |
import json | |
import os | |
import sys | |
from pathlib import Path | |
from typing import Union | |
from waitress import serve |
This file contains 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
{ | |
"model": "Tacotron2", | |
"run_name": "DAY7", | |
"run_description": "tacotron2 with double decoder consistency.", | |
"epochs": 10000, | |
"batch_size": 32, | |
"eval_batch_size": 16, | |
"mixed_precision": false, | |
"scheduler_after_epoch": false, | |
"run_eval": true, |
This file contains 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
[ | |
"https://boards.greenhouse.io/remotecom", | |
"https://boards.greenhouse.io/alt", | |
"https://boards.greenhouse.io/gitlab", | |
"https://boards.greenhouse.io/github", | |
"https://boards.greenhouse.io/gocardless", | |
"https://boards.greenhouse.io/carta", | |
"https://boards.greenhouse.io/twilio", | |
"https://boards.greenhouse.io/tusimple", | |
"https://boards.greenhouse.io/sweeten", |
NewerOlder