Skip to content

Instantly share code, notes, and snippets.

@divol
divol / main.js
Created September 29, 2025 16:29 — forked from phil294/main.js
Migrate MongoDB collection to SQLite DB table using Javascript/Deno
import { DB as SqliteDB } from "https://deno.land/x/sqlite/mod.ts"
import { MongoClient } from "https://deno.land/x/mongo@v0.22.0/mod.ts"
const sqlite_db = new SqliteDB("out.db")
sqlite_db.query('drop table if exists posts')
sqlite_db.query("CREATE TABLE posts (id INTEGER PRIMARY KEY AUTOINCREMENT, message TEXT)")
const client = new MongoClient()
await client.connect("mongodb://localhost:27017")
const mongo_db = client.database("my-db")
#!/usr/bin/php
<?php
declare(strict_types = 1);
// require_once ('hhb_.inc.php');
hhb_init ();
if ($argc !== 3) {
fprintf ( STDERR, "usage: %s timestamp url\n", $argv [0] );
fprintf ( STDERR, "example: %s 20091012061648 http://www.p4w.se\n", $argv [0] );
die ( 1 );
}

Apple's Swift team has an opening for a DevOps engineer! If you are interested, please email: swift-job-apply@group.apple.com

Job Summary

Are you excited about Swift? Imagine what you could do for software development as a member of the Swift team at Apple, where you will have an opportunity to make an impact on both the Swift open source community and on Apple's developer tools products!

As a DevOps quality engineer on the Swift team, you will help engineer solutions to enable better development processes and raise the bar on the quality of the Swift compiler, both as a component of Xcode, and as an open source project. This team architects and maintains a large continuous integration (Jenkins) and automation system, so experience with scaling an infrastructure and automation is highly desired. This role also requires stellar communication, collaboration, and organization skills. The successful candidate is also highly motivated and proactive, detail-oriented, and has a passion for seeking ever hig