Minimalist installation of OpenBSD on the Apple M2 using QEMU
- Apple M2 running macOS Sonoma 14.4.1
- QEMU version 8.2.1
- OpenBSD 7.5 arm64
Minimalist installation of OpenBSD on the Apple M2 using QEMU
const timer = ms => new Promise(res => setTimeout(res, ms)); | |
// Unretweet normally | |
const unretweetTweet = async (tweet) => { | |
await tweet.querySelector('[data-testid="unretweet"]').click(); | |
await timer(250); | |
await document.querySelector('[data-testid="unretweetConfirm"]').click(); | |
console.log('****// Unretweeted Successfully //****') | |
} |
ansible-playbook --connection=local 127.0.0.1 playbook.yml
127.0.0.1 ansible_connection=local
I have spent quite a bit of time figuring out automounts of NFS shares in OS X...
Somewhere along the line, Apple decided allowing mounts directly into /Volumes should not be possible:
/etc/auto_master (see last line):
#
# Automounter master map
#
+auto_master # Use directory service
<?php | |
// Grab an IP address | |
$ip = readline("IP: "); | |
require_once dirname(__FILE__) . '/SoftLayer/SoapClient.class.php'; | |
$apiUsername = 'set me'; | |
$apiKey = 'set me too'; |
package main | |
import ( | |
"fmt" | |
"time" | |
) | |
// Suggestions from golang-nuts | |
// http://play.golang.org/p/Ctg3_AQisl |
console.log($('.filelist .file-name .ftype:contains(video)').length + ' files to convert'); | |
var cpt=0; | |
$('.filelist .file-name .ftype:contains(video)').each(function(){ | |
var row = $(this).prev(); | |
var id = row.attr('href').substring(row.attr('href').lastIndexOf('/')+1); | |
$.post('/v2/files/'+id+'/mp4',function(data){ | |
console.log(data.status); | |
if(data.status=="OK") cpt++; | |
}); | |
}); |