This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo rm -rf /Applications/Tuxera\ Disk\ Manager.app | |
| sudo rm -rf /Library/Application\ Support/Tuxera\ NTFS | |
| sudo rm -rf /Library/Filesystems/fusefs_txantfs.fs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "context" | |
| "errors" | |
| "fmt" | |
| "os/signal" | |
| "syscall" | |
| "time" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| type Thing struct { | |
| Text string | |
| Things []Thing | |
| } | |
| func RootHandler(rw http.ResponseWriter, req *http.Request) { | |
| tmpl, err := template.New("root").Parse(` | |
| <html> | |
| {{ define "message" }} | |
| <li>{{ .Text }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| Log::info("something really interesting happened", ['extra' => 'information', 'about' => 'anything' ]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //file: /.env.local.php | |
| // return the configuration for the 'local' environment | |
| return array( | |
| 'db_host' => '127.0.0.1', | |
| 'db_name' => 'DB_NAME', // specify database name | |
| 'db_user' => 'DB_USER', // specify database username | |
| 'db_pass' => 'DB_PASS', // specify database password | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //php自帶的basename函數不支持中文,下面這個方法是最簡單的實現。 | |
| function get_basename($filename){ | |
| return preg_replace('/^.+[\\\\\\/]/', '', $filename); | |
| } |