brew install imapsync
Run (without ssl)
imapsync --host1 imap.from.server --user1 foo --password1 secret1 --host2 imap.dest.server --user2 bar --password2 secret2
Run (with ssl)
#!/usr/bin/env bash | |
# Released into the Public Domain. | |
# | |
# Original implementation in C by Brad Conte ([email protected]) <https://github.com/B-Con/crypto-algorithms> | |
# Ported to Bash (lol) by Josh Junon ([email protected]) <https://github.com/qix-> | |
# | |
# Yes, it's absolutely as slow as it looks. | |
# | |
# The only external dependency it has is on a utility called `od`, |
const linkList = ["https://cdn.shopify.com/s/files/1/0201/8578/files/242-white_5120x2880.jpg?1742060675370373277","https://cdn.shopify.com/s/files/1/0201/8578/files/242-red_5120x2880.jpg?1742060675370373277","https://cdn.shopify.com/s/files/1/0201/8578/files/242-black_5120x2880.jpg?1742060675370373277","https://cdn.shopify.com/s/files/1/0201/8578/files/242-bob_5120x2880.jpg?1742060675370373277","https://cdn.shopify.com/s/files/1/0201/8578/files/189-white_5120x2880.jpg?1742060675370373277","https://cdn.shopify.com/s/files/1/0201/8578/files/189-red_5120x2880.jpg?1742060675370373277","https://cdn.shopify.com/s/files/1/0201/8578/files/189-black_5120x2880.jpg?1742060675370373277","https://cdn.shopify.com/s/files/1/0201/8578/files/189-bob_5120x2880.jpg?1742060675370373277","https://cdn.shopify.com/s/files/1/0201/8578/files/172-white_5120x2880.jpg?1742060675370373277","https://cdn.shopify.com/s/files/1/0201/8578/files/172-red_5120x2880.jpg?1742060675370373277","https://cdn.shopify.com/s/files/1/0201/8578/files/172-b |
#!/bin/bash | |
# Wifi | |
alias wstat="networksetup -getairportpower en0" | |
alias won="networksetup -setairportpower en0 on" | |
alias woff="networksetup -setairportpower en0 off" | |
# Darkmode | |
alias darkon='osascript -e "tell application \"System Events\" to tell appearance preferences to set dark mode to true"' | |
alias darkoff='osascript -e "tell application \"System Events\" to tell appearance preferences to set dark mode to false"' |
import React from 'react' | |
import axios, { post } from 'axios'; | |
class SimpleReactFileUpload extends React.Component { | |
constructor(props) { | |
super(props); | |
this.state ={ | |
file:null | |
} |
# Install mutt using brew | |
$ brew install mutt | |
# Configure mutt | |
$ vim ~/.muttrc | |
# Put the following on the mutt config file (.muttrc) | |
set imap_user = “YOUR_USERNAME@GMAIL_OR_YOUR_DOMAIN.com” | |
set imap_pass = “YOUR_PASSWORD” | |
set smtp_url = “smtp://YOUR_USERNAME@[email protected]:587/” |
The tool can be found here.
https://github.com/bozaro/git-lfs-migrate/releases
I recommend to migrate an existing repo to a new repo with lfs support activated and delte the old one afterwards.
*.3ds filter=lfs diff=lfs merge=lfs -text | |
*.3g2 filter=lfs diff=lfs merge=lfs -text | |
*.3gp filter=lfs diff=lfs merge=lfs -text | |
*.7z filter=lfs diff=lfs merge=lfs -text | |
*.a filter=lfs diff=lfs merge=lfs -text | |
*.aac filter=lfs diff=lfs merge=lfs -text | |
*.adp filter=lfs diff=lfs merge=lfs -text | |
*.ai filter=lfs diff=lfs merge=lfs -text | |
*.aif filter=lfs diff=lfs merge=lfs -text | |
*.aiff filter=lfs diff=lfs merge=lfs -text |
Updating to macOS Sierra is causing trouble with React Native due to some of the Node.js and system utilities it uses. Specifically the watch utility fails due to a limit on the number of files which can be opened at a time.
The following command shows the current limit.
launchctl limit maxfiles