osx或windows系统下,用ftp上传文件到阿里云虚拟主机脚本
某天突然发现,一直在用的ftp工具并不好用,操作界面太过繁琐,而且不太稳定。于是自己找资料,整合了几句虽然简单,但是方便的代码。mac脚本#从本地向FTP批量上传文档 需要赋予该.shell文件权限才能成为可执行文件#!/bin/shftp -v -n 60.200.19.158<<EO...
在mac osx上使用latex(特别是pdflatex)生成时,pdf文档中的字体搞砸了
My colleague suggests that texniscope is somehow to blame and that I should try purging it from my system. I really hope not to have to resort to that...
OSX中使用Remote Desktop Connection时 终端服务器超出了最大允许连接数 mstsc /admin
转自:http://www.krenger.ch/blog/mac-os-x-remote-desktop-admin-switch/ 我们知道在windows中使用mstsc时如果服务器提示:终端服务器超出了最大允许连接数 的时候,我们可以使用mstsc /admin命令来强制踢掉超时的连...
osx下libcurl的使用
osx下已经预安装了curl,关于curl的使用方法可自行百度。本文主要说的是安装及使用libcurl库进行网页捕获程序的编写。 一、安装 1. 到官网(http://curl.haxx.se/download.html)下载最新版本的源码 2. 解压,在终端进入文件夹 3. 配置选项,编译安装...
How to install GTK+/PyGTK on OSX?
I'm trying to install PyGTK on OSX 10.6 (snow leopard). I have followed this topic Where is PyGTK for Mac OS X?. 我正在尝试在OSX 10.6(雪豹)上安装PyGTK。我已经按照这个主题在...
如何在OSX和Ubuntu中安装imagesft?
I'm using PIL 1.1.6 to render a truetype font on my local Windows machine. I'd like to be able to get the application running in OSX and Ubuntu (serve...
[OSX使用技巧] 【教学】Mac OS X下终端的基本命令 [
[OSX使用技巧] 【教学】Mac OS X下终端的基本命令 [复制链接] Mac OS X 启用超级用户的方法 Root user,又名超级用户,是一个权力最高的Unix 账户,Root 的账户能在整个系统里任何部份进行任何“操作”,包括:拷...
OSX启动-后台会话中的运行脚本忽略StartInterval
Community! 社区! I am trying to execute a simple script every 5 minutes on my OSX 10.7.4. It should run no matter a user is logged into the machine or n...
OSX/Swift:在建立/恢复互联网连接时调用一个函数
What I want to do is call some code when the internet connection is established or restored. 我想做的是在建立或恢复互联网连接时调用一些代码。 I know there are solutions out t...
使用Swift为OSX禁用睡眠/屏幕保护程序
I'm looking for a way to disable sleep mode and screensaver through my application using Swift. I know this question has been asked before, but none o...
拖放功能swift OSX
This is a bit complex but I hope that someone can help me. I am trying to build a drag and drop function for my OSX application. 这有点复杂,但我希望有人可以帮助我。我正...
XE6移动开发环境搭建之IOS篇(6):设置Mac OSX的网络。(有图有真相)
网上能找到的关于Delphi XE系列的移动开发环境的相关文章甚少,本文尽量以详细的图文内容、傻瓜式的表达来告诉你想要的答案。原创作品,请尊重作者劳动成果,转载请注明出处!!!我们配置一下MAC的IP,给定一个固定的内网IP,以便我们的XE6能更好地连接它!---------------------...
Getting cache info using C/C++ with inline assembly/intrinsics in osx
I wrote the following program using both gcc __get_cpuid and inline assembly to get the cache info of my laptop but fail to identify them on the table...
使用rvm & ruby 1.9.2-p0在osx10.6.5上,rails服务器无法启动mysql2。
I'm getting the following error when I start rails server: 我在启动rails服务器时出现以下错误: $ rails server/Users/ssmith/.rvm/gems/ruby-1.9.2-p0/gems/mysql2-0.2.6/...
TestFlight桌面应用程序v1.0无法在OSX Yosemite v10.10上运行?
I have just updated my OSX to Yosemite, then I ran into an error when submitting a new build to TestFlight with the TestFlight desktop app. 我刚刚将我的OSX更...
osx上使用'cd'命令跳转到别名(alias)目录
在mac上使用windows的共享目录时,在terminal中时法使用cd的,会提示"xxx 不是目录",经过一番的查找,发现了Mac Terminal 'cd' to folder alias, 经过本人验证时可以用的,具体步骤参考Make Terminal Follow Aliases Like...
安装python3在 hombrew遇到问题,osX系统
在home-brew出错了,如下:咋办? Last login: Tue Mar 6 23:12:14 on ttys001 CaodeMacBook:~ CissyCao$ brew python3 ==> Downloading https://homebrew.bintray.c...
如何使窗口(osx)始终悬停在屏幕顶部
i trying to make a osx application that just have one window and it will always on the top of screen. anyone knows how to achieve it? thanks. 我试图制作一个只...
在OSX Leopard上正确安装PHPUnit和Pear
I've installed pear using this guide http://t-machine.org/index.php/2008/12/28/how-to-install-pear-on-os-x-105/ 我使用本指南安装了梨子http://t-machine.org/index....
在OSX 10.10上安装GCC 4.4.7
I already have gcc version 6.1.0 installed on my computer thanks to XCode: 由于XCode,我已经在我的计算机上安装了gcc版本6.1.0: Configured with: --prefix=/Applications/Xc...