- Install
osxfuse
:
brew cask install osxfuse
-
Reboot your Mac.
-
Install
ntfs-3g
:
<?php | |
class HomeController extends BaseController { | |
protected $layout = 'main'; | |
/* | |
|-------------------------------------------------------------------------- | |
| Default Home Controller |
#!/bin/bash | |
OLDIP=54.251.37.114 | |
NEWIP=54.248.243.224 | |
virtualmin list-domains --with-feature dns --name-only | while read DOMAIN ; do | |
virtualmin get-dns --domain $DOMAIN | grep $OLDIP |grep -v SPF | while read DNSLINE ; do | |
REC=`echo $DNSLINE | awk '{print $1}'` | |
virtualmin modify-dns --domain $DOMAIN --remove-record "$REC A" | |
virtualmin modify-dns --domain $DOMAIN --add-record "$REC A $NEWIP" |
// | |
// Created by Eli Perkins on 3/18/14. | |
// Copyright (c) 2014 One Mighty Roar. All rights reserved. | |
// | |
#import <objc/runtime.h> | |
#import "UISearchBar+RACAdditions.h" | |
#import "NSObject+RACDescription.h" | |
#import "RACDelegateProxy.h" |
function SecToTime(Sec: Integer): string; | |
var | |
H, M, S: string; | |
ZH, ZM, ZS: Integer; | |
begin | |
ZH := Sec div 3600; | |
ZM := Sec div 60 - ZH * 60; | |
ZS := Sec - (ZH * 3600 + ZM * 60) ; | |
H := IntToStr(ZH) ; | |
M := IntToStr(ZM) ; |
#!/bin/bash | |
IFS=$'\n' | |
HISTFILE=~/.zsh_history | |
set -o history | |
declare -a H | |
HISTORY_CMD="" | |
var configuration = WebConfigurationManager.OpenWebConfiguration("~"); | |
var section = (ConnectionStringsSection)configuration.GetSection("connectionStrings"); | |
section.ConnectionStrings["MyConnectionString"].ConnectionString = "Data Source=..."; | |
configuration.Save(); |
<?xml version='1.0' encoding='utf-8'?> | |
<configuration> | |
<connectionStrings configSource="connections.config"/> | |
</configuration> |
aws elasticbeanstalk update-environment | |
--application-name ps-blog-main | |
--environment-name blog-main-staging | |
--option-settings Namespace=aws:rds:dbinstance,OptionName=DBInstanceClass,Value=t1.micro |
first name | last name | age | |
---|---|---|---|
Stephen | Sugden | 31 | |
Tom | Reznik | 29 | |
Justin | Thomas | 30 |
osxfuse
:brew cask install osxfuse
Reboot your Mac.
Install ntfs-3g
: