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 sys | |
from youtube_transcript_api import YouTubeTranscriptApi, TranscriptsDisabled, NoTranscriptFound | |
import time | |
import requests | |
class Summarizer: | |
def prompt(self, text): | |
model_url="http://localhost:11434/api/generate" | |
payload = { |
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
Economy 2.0: Ep 7, A Conversation w/Cameron Sajedi | |
https://www.youtube.com/watch?v=a-N_YXzp-q8 | |
A recorded session titled "Economy 2.0", hosted by Josh Sidman and featuring guest Cameron Stiteler. It is part of a series exploring alternative economic models inspired by heterodox economists Silvio Gesell and Henry George. The session centers on reconceptualizing capitalism, free markets, land ownership, and monetary systems through both historical insights and modern technological frameworks. | |
🔍 Main Themes and Ideas: | |
1. Economy 2.0 Series | |
Originated from a course taught at the Henry George School. | |
Aims to distinguish free markets from capitalism, arguing they are not synonymous. |
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 * as XLSX from 'xlsx'; | |
function generateExcelTemplate() { | |
// Create a new workbook | |
const workbook = XLSX.utils.book_new(); | |
// Define your data | |
const data = [ | |
['Name', 'Email', 'Age'], | |
['John Doe', '[email protected]', 30], |
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
var allValues = <%== @summary.data.dig('gender_representation', 'chart_data').values.map(&:values) %> | |
var maleFemaleColors = ['rgb(142, 1, 53)', 'rgb(0, 137, 140)']; | |
var data = [ | |
{ | |
values: allValues[0], | |
type: 'pie', | |
name: 'Operactional Functions', | |
marker: { | |
colors: maleFemaleColors | |
}, |
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
{ | |
"version": "Versão", | |
"about": "Sobre", | |
"ok": "OK", | |
"account": "Conta", | |
"notes": "Notas", | |
"history": "Histórico", | |
"budget": "Orçamento", | |
"tradingPl": "Negociação", | |
"contacts": "Contactos", |
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
#!/usr/bin/ruby | |
# extrapolo.com | |
require 'selenium-webdriver' | |
require "nokogiri" | |
def driver | |
Selenium::WebDriver.for :firefox, options: Selenium::WebDriver::Firefox::Options.new( | |
args: ['-headless'] | |
) |
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
#! /bin/ruby | |
# author: extrapolo.com | |
# scraps all min,max temperature from Nova Friburgo, Rj, Brazil from accuweather.com since 1992 | |
require "selenium-webdriver" | |
require "byebug" | |
profile['browser.frames.enabled'] = false | |
profile['plugin.state.flash'] = 0 | |
profile['network.http.prompt-temp-redirect'] = false |
This file has been truncated, but you can view the full file.
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
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
#!/usr/bin/ruby | |
#require 'mysql2' | |
require 'mechanize' | |
require 'parallel' | |
require 'byebug' | |
require 'awesome_print' | |
require 'colorize' | |
require 'csv' | |
require 'json' |
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
convert -density 220 in.pdf to_img_.jpg | |
mogrify -trim to_img_*.jpg | |
convert -append to_img_*.jpg out.jpg | |
rm to_img_* |
NewerOlder