with mysql pgsql intl support
$ brew install php --with-apache --with-mysql --with-pgsql --with-intl
date.timezone = Europe/Vienna
| 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++; | |
| }); | |
| }); |
| package main | |
| import ( | |
| "fmt" | |
| "time" | |
| ) | |
| // Suggestions from golang-nuts | |
| // http://play.golang.org/p/Ctg3_AQisl |
| cp -a /mnt/sda8/john/. /mnt/sdb2/JOHN103 |
| <?php | |
| // Grab an IP address | |
| $ip = readline("IP: "); | |
| require_once dirname(__FILE__) . '/SoftLayer/SoapClient.class.php'; | |
| $apiUsername = 'set me'; | |
| $apiKey = 'set me too'; |
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
ansible-playbook --connection=local 127.0.0.1 playbook.yml127.0.0.1 ansible_connection=local| 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 //****') | |
| } |
Minimalist installation of OpenBSD on the Apple M2 using QEMU