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
class TrackingService | |
def self.track(*args, &block) | |
new(*args, &block).execute | |
end | |
def initialize(no_resi, expedition_type) | |
@no_resi = no_resi | |
@expedition_type = expedition_type | |
end |
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
require 'json' | |
require 'net/http' | |
require 'uri' | |
require 'fileutils' | |
puts "============= Instagram Scraper =============" | |
puts "================== v1.0 ===================" | |
puts "============== Megumi Aliya ===============" | |
3.times do | |
puts "" |
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
require 'json' | |
require 'csv' | |
puts "======= JSON Parser for Instagram =========" | |
puts "================== v1.0 ===================" | |
puts "============== Megumi Aliya ===============" | |
def parse_posts(account_name) | |
pages = Dir.glob("#{account_name.chomp}/#{account_name.chomp}_posts_page_*.json") | |
total_pages = pages.sort_by { |s| s.scan(/\d+/).first.to_i }.last.split("_").last.delete(".json").to_i |
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
Show hidden characters
{ | |
"name": "Devcontainer app", | |
"dockerFile": "Dockerfile", | |
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}", | |
// Configure tool-specific properties. | |
"customizations": { | |
"vscode": { | |
"extensions": [ | |
"exodiusstudios.comment-anchors", | |
"esbenp.prettier-vscode", |
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
Sets the project name. | |
name: docker-reverse-proxy | |
# The Docker services. | |
services: | |
# The Caddy server container. | |
caddy: | |
# https://hub.docker.com/_/caddy | |
image: caddy:alpine | |
container_name: caddy_reverse_proxy |
My laptop specs: MSI Bravo 15 B7E
- CPU: AMD Ryzen™ 5 7535HS Processor with AMD XDNA™ architecture 6 cores, Max Boost Clock 4.55 GHz
- GPU: AMD Radeon™ RX 6550M 4GB GDDR6
- RAM: 32GB DDR5-4800
- Clone ollama
git clone --recursive https://github.com/ollama/ollama.git
- go to directory
cd ollama