Skip to content

Instantly share code, notes, and snippets.

Error: /Users/darren/Sites/site/node_modules/sharp: Command failed.
Exit code: 1
Command: (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)
Arguments:
Directory: /Users/darren/Sites/site/node_modules/sharp
Output:
info sharp Detected globally-installed libvips v8.5.7
info sharp Building from source via node-gyp
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.2
@dardub
dardub / hello-reason-function.md
Last active January 17, 2018 00:54
Hello World
type messageBody = {
  message: string,
  input: string
};

type response = {
  statusCode: int,
  body: Js.Json.t
};
@dardub
dardub / gist:7044156
Created October 18, 2013 16:33
Cache bust
#kill cache
<FilesMatch "\.(html|htm|js|css)$">
FileETag None
<ifModule mod_headers.c>
Header unset ETag
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
</ifModule>
</FilesMatch>
.animate {
-webkit-animation-duration: 0.5s;
-webkit-animation-timing-function: ease;
-webkit-animation-fill-mode: both;
-moz-animation-duration: 0.5s;
-moz-animation-timing-function: ease;
-moz-animation-fill-mode: both;
-ms-animation-duration: 0.5s;
-ms-animation-timing-function: ease;
-ms-animation-fill-mode: both;
{
"font_face": "Monaco",
"font_size": 12.0,
"ignored_packages":
[
"Vintage"
]
}
[
{ "keys": ["ctrl+,"], "command": "move", "args": {"by": "subwords", "forward": false} },
{ "keys": ["ctrl+."], "command": "move", "args": {"by": "subword_ends", "forward": true} },
{ "keys": ["ctrl+shift+,"], "command": "move", "args": {"by": "subwords", "forward": false, "extend": true} },
{ "keys": ["ctrl+shift+."], "command": "move", "args": {"by": "subword_ends", "forward": true, "extend": true} },
{ "keys": ["end"], "command": "move_to", "args": {"to": "eol"} },
{ "keys": ["home"], "command": "move_to", "args": {"to": "bol"} },
{ "keys": ["ctrl+'"], "command": "move_to", "args": {"to": "eol"} },
{ "keys": ["ctrl+l"], "command": "move", "args": {"by": "characters", "forward": true} },

Biraj: Darren, I will be setting up your services on your account now. I will personally make sure that the account is set up correctly the way you want it to be. While waiting, may I ask you a few questions to make sure that we get you in the right package that suits your needs?

DARREN: I think I'm fine with the package I selected

Biraj: I understand your concern. However we have some great offer for our existing customer.

DARREN: ok let's see what you got then, but I'm not interested in any phone services

Biraj: Okay.

<VirtualHost *:80>
DocumentRoot "/home/desktop/data/code/public"
ServerName dev.lebuy.co.id
<Directory /home/desktop/data/code/public>
Options +Indexes +FollowSymlinks
Order allow,deny
Allow from all
AllowOverride all
</Directory>
</VirtualHost>
Support files install directory [/usr/local/phpfog]: Path to install PF executable [/usr/local/bin]: PHP Warning: fopen(php://stdin): failed to open stream: operation failed in - on line 87
PHP Warning: fgets() expects parameter 1 to be resource, boolean given in - on line 87
All settings correct for using PF.
Cloning pf repo to /usr/local/phpfog/pf
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
PHP Warning: symlink(): No such file or directory in - on line 182
Installation is complete however the following issue(s) may prevent pf from working:
Could not find pf in $PATH. Please add the following to your $PATH: /usr/local/bin
$manufacturers = Shop_Manufacturer::create();
$manufacturers->where('exists (select * from shop_manufacturers, shop_products
where shop_products.manufacturer_id = shop_manufacturers.id
and shop_products.id = 3984)');
/* returns MySQL error executing query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'select * from shop_manufacturers, shop_products
where shop_prod' at line 6
*/