After installing Autodesk Smoke, I have two httpd processes running all the time, and I'd like to stop them. When I use sudo killall httpd, they stop and are restarted right away. Activity Monitor
seen from Italy
seen from United States
seen from China

seen from United States
seen from United States

seen from United States
seen from Maldives
seen from United States
seen from China
seen from Slovakia
seen from South Korea

seen from United States

seen from Sweden

seen from Georgia

seen from Australia
seen from China
seen from Germany
seen from Spain

seen from United States
seen from United States
After installing Autodesk Smoke, I have two httpd processes running all the time, and I'd like to stop them. When I use sudo killall httpd, they stop and are restarted right away. Activity Monitor

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
Solution for the error below when connecting to MySQL daemon
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Please note that:
This operation will delete all data in MySQL.
Root password will be cahnged and be shown on console
rm -rf /usr/local/var/mysql mysqld --initialize mysql_secure_installation
LaunchDaemons & LaunchAgents
a short note on handling LaunchDaemons and LaunchAgents on your Mac environment.
What do they do: It’s a service/program/script running in the background based on specific parameters it may restart automatically, do things on a regular basis or simply start and stop servers, databases and the likes. Where are they: /Library/LaunchDaemons /Library/LaunchAgents /Systems/Library/LaunchDaemons /System/Library/LaunchAgents
What’s the difference: A LaunchDaemon is run by the root user or the user specified in UserName. A LaunchAgent is run by the currently logged in user.
System Integrity Protection: With El Capitan, Apple introduced System Integrity Protection, as a security measure to protect files and folders on your Mac - specifically those in the root directory.
This means that when working with LaunchDaemons or LaunchAgents you will need to keep them under /Library/LaunchDaemons or /Library/LaunchAgents
How to use LaunchAgents to monitor folder contents in OS X
How to use LaunchAgents to monitor folder contents in OS X
Watching folders for various changes in OS X can be exceptionally useful for automating tasks to handle any files added to the folder. This can be especially useful as a security measure for determining unwanted changes to key system folders. One robust solution for this is to use Apple’s Folder Actions feature for monitoring folders, and while still one I prefer and recommend, another approach…
View On WordPress
How to: What do the numbers in launchctl list's status column mean? #computers #programming #answer
How to: What do the numbers in launchctl list's status column mean? #computers #programming #answer
What do the numbers in launchctl list’s status column mean?
launchctl has a “Status” column in the launchctl list output. The manpage or any of the related launchd manpages do not mention this column or what it means.
Answer [by Sven]: What do the numbers in launchctl list’s status column mean?
It is the last exit code of that service.
The launchctl man page describes it.
list [-x] [label] With…
View On WordPress

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
Answer: How do I start nginx on port 80 at OS X login? #programming #computers #dev
Answer: How do I start nginx on port 80 at OS X login? #programming #computers #dev
How do I start nginx on port 80 at OS X login?
I installed Nginx using homebrew and after completing the installation the following message was displayed:
In the interest of allowing you to run `nginx` without `sudo`, the default port is set to localhost:8080. If you want to host pages on your local machine to the public, you should change that to localhost:80, and run `sudo nginx`. You'll need…
View On WordPress
MAGNET HEATER
休日でも書いてくスタイル. 朝(10時から,1歩たりとも外へ出ていないのだから,これぐらいはしないと.
今日したこと
PS3のsystem updateをした.
torneでアニメを見た
居間にあるテレビでエロゲのOPを見た
冴えカノと艦これ,シンデレラガールズのアニメをみた
城プロ と聖剣伝説 をやった.
お昼ごはんを作った(うどん)
feedlyで記事消費
ホットケーキやいた
butterflyをinstall
f.luxをinstall
Lingonをinstallして,3分でuninstallした
cmd.fmで遊んだ
Chromeのbookmark barの整理
これらの行動は,すべてリビングで完結しました. 自堕落です. 便利になりそうなコトを残しておきます.
ps3でyoutubeを見る
これができれば,32型のテレビでエロゲのOPが見れる!!!とか思ってやってみました. 事の発端はこれ.
PRプランナー・ライターの砂流恵介が 1台あるとなにかと便利!3台のデバイスをダイヤルで瞬時に切り替えられるキーボード K480を使ってみた!
この記事はその名の通り,keyboardのレビューなんですけど,一番下の方に
"あまり知られていませんが、PS3のYouTubeはスマホやタブレットと連携がとれます。"
Σ(゚◇゚;)マジデッ!?
ということでやってみました.
テレビでYouTube見るためにPS3をiPhoneで操作したら検索とか快適すぎて便利この上ない
しかし,残念ながらフレームレートを変えるオプションがない!!!!これではヌルヌルさが体験できない!!!1 悲しみ....お手元にフレッシュレートが60fpsで古くないマシンでアレばこの60fpsで女の子が動く様を体験できるでしょう.
【フレーム補間】 花咲ワークスプリング! OP 【60fps】 - YouTube
Lingonをinstallしたが,3分でやめた
butterfly(あとで書く)をinstallしてbrowserからterminalを起動できた.ありがフゥーー!!.しかし,起動時にプログラムが動いてくれたら, 更に美味しい.「systemctl使えばこうできるよ」と製作者さんが書いてくれてたのですが,macにはlaunchdがあります.XMLで色々と書きます.vimで書きたいと思いましたが, 如何せん, 定義しなければならないことが多すぎて,本質的なコトを見失いそう,と思い
Lingon - Peter Borg Apps
をinstall.有料と書いてあったので,「まぁ,1周間はお試し期間だな」と甘い考えをしていたら,
やられました...$10払うなら,vimで書くぜ
cmd.fm
すごく良い.マリオもできる.BGMを流すのにモッテコイ.
CUIでさまざまな音声を再生できるサイト「cmd.fm」 | ライフハッカー[日本版]
音楽を再生するにはplay <genre>.genresでカテゴリの一覧を表示.pauseで一時停止,resumeで一時停止を解除.marioでマリオができる.comment <comment>と入力すればコメントできるがこれにはsignupが必要.
Only Favicon on Chrom BookMarkBar
私はChromeのブックマークバーを表示させて使っています.ですが,ブックマークバーは狭いので,表示できる内容は限られています.なので,以前から favicon だけ表示させていました. これには, bookmarkが持つtitle属性を空にしないとダメです. ださいです.ですから,いい方法ないかなーと思ったのですが,ありませんでした. (探索時間30分)
知っている方がいれば教えて下さい.
butterfly.server.py
さて,本日のメインディッシュです. 以前から気になっていた butterfly を導入.
ブラウザからshellを動かすというユニークなものです.
sudo pip install butterfly # Install butterfly butterfly.server.py --unsecure # Launch the web server unsecure
とterminal上で入力し localhost:57575 にアクセスすると,蝶が見えるはず!!!!
次は自動起動です. 先程,少しお話したようにmacには launchd があります.詳しいことはわかりませんが,私はinit.dの代替ツールぐらいの認識しかありません.
launchdを使うにはlaunchctlから操作します.
参考文献
Mac OSにおける、initや/etc/rcやcronの代わりであるlaunchdの使い方 - kanonjiの日記
Mac の launchctl ってなんだ? - IT戦記
<launchd.plist>という設定ファイルを書いていくのですが,実行レベルを決める必要があります.これはどの権限で実行するかを決めます
~/Library/LaunchAgents Per-user agents provided by the user. /Library/LaunchAgents Per-user agents provided by the administrator. /Library/LaunchDaemons System-wide daemons provided by the administrator. /System/Library/LaunchAgents Per-user agents provided by OS X. /System/Library/LaunchDaemons System-wide daemons provided by OS X.
man launchd.plistの抜粋です.ファイルの保存場所によって変わってきます. まぁ,NotePCレベルなんでhome dirに書きました. 実際に書いたのがこちら
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>private.butterfly.server.py</string> <key>ProgramArguments</key> <array> <string>/usr/local/bin/butterfly.server.py</string> <string>--unsecure</string> </array> <key>KeepAlive</key> <true/> </dict> </plist>
Label
daemon(agent?)の固有の名前
ProgramArguments
実行するcmd.要素ごとにstringで区切る.
KeepAlive
原文を持ってきた.
KeepAlive <boolean or dictionary of stuff> This optional key is used to control whether your job is to be kept continuously running or to let demand and conditions control the invocation. The default is false and therefore only demand will start the job. The value may be set to true to unconditionally keep the job alive. Alternatively, a dictionary of conditions may be specified to selectively control whether launchd keeps a job alive or not. If multiple keys are provided, launchd ORs them, thus provid- ing maximum flexibility to the job to refine the logic and stall if necessary. If launchd finds no reason to restart the job, it falls back on demand based invocation. Jobs that exit quickly and frequently when configured to be kept alive will be throttled to conserve system resources.
私が理解したのは,backgroundでずっと動いて欲しかったら設定してね★ ということだけである.
書き方のサンプルはman launchd.plistに書いてありますでの,足りない場合や分からない場合はそちらで.
書き終えたら
launchctrl load <launchd.plist>
と入力して,実行. localhost:57575 にアクセスできれば,完了.
あと,いちいちuserを入力するのが面倒であれば,
localhost:57575/user/<user>
とブックマークにでも登録すれば,passwdだけで入れる. ちなみに,passwdを間違えると,
二度目はねぇ. shellの指定やネットワーク内のpcにも接続できるので,お試しあれ.
終わりに
つり乙2全然してない... 冴えカノの設定が色々揃いすぎて,悲しくなるし,女の子可愛いし, 主人公が三次元にトラウマ持ってるし,王道すぎてアレだけど,最高.それだけ.今日の投稿タイトルはheaterの前でずっといたから.
A
シンデレラガールズOP:慈しむしまむー
これキャプチャしたやつ誰だよwww
How to: How do I activate launchd logging on OS X? #development #dev #fix
How to: How do I activate launchd logging on OS X? #development #dev #fix
How do I activate launchd logging on OS X?
How do I activate launchd logging on OS X 10.6?
I added a new daemon that is not starting properly (status is 1).
I want to debug the problem but I was not able to find launchd logs, they are not in /var/log/launchd.log.
Answer [by sorin]: How do I activate launchd logging on OS X?
I found the solution
sudo launchctl log level debug
and after this
ta…
View On WordPress