We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's:
- Reporting a bug
- Discussing the current state of the code
- Submitting a fix
- Proposing new features
- Becoming a maintainer
#include "stdafx.h" | |
#include <wrl/module.h> | |
#include "ToastNotificationActivationCallback.h" | |
#include "DesktopToastsSample.h" | |
// This is taken from: http://blogs.msdn.com/b/tiles_and_toasts/archive/2015/10/16/quickstart-handling-toast-activations-from-win32-apps-in-windows-10.aspx | |
DWORD g_allLocks; | |
// Main function |
#!/bin/bash | |
SNAPID="SNAP" | |
BACKUPDBID="TEMPDB" | |
#config groups | |
SECURITYGROUP="Mysecgrup" | |
PARAMSGROUP="Myparamsgrup" | |
#rds verifying commands |
#!/bin/sh | |
set -o errexit | |
PNGS=`find . -iname "*.png"` | |
JPGS=`find . -iname "*.jpg"` | |
TMP1="_TMP1.PNG" | |
TMP2="_TMP2.PNG" | |
echo "Optimizing PNG" | |
for PNG in ${PNGS} |
# Create a new Token | |
curl -u 'githubuser' -d '{"note":"Your Application"}' https://api.github.com/authorizations | |
# It is: "ebab4dc37e654bb230a9c69ebcd5f38e9a81e210" | |
#{ | |
# "created_at": "2013-01-04T18:00:28Z", | |
# "app": { | |
# "url": "http://developer.github.com/v3/oauth/#oauth-authorizations-api", |
on run {input, parameters} | |
-- If run without input, open random file at $HOME | |
try | |
set filename to POSIX path of input | |
on error | |
set filename to "nvim-" & (do shell script "date +%F") & "__" & (random number from 1000 to 9999) & ".txt" | |
end try | |
-- Set your editor here | |
set myEditor to "/usr/local/bin/nvim" | |
-- Open the file and auto exit after done |
This is my take on how to get up and running with NGINX, PHP-FPM, MySQL and phpMyAdmin on OSX Yosemite.
This article is adapted from the original by Jonas Friedmann. Who I just discovered is from Würzburg in Germany. A stonesthrow from where I was born ;)
Make sure you have the latest version of XCode installed. Available from the Mac App Store.
Install the Xcode Command Line Tools:
xcode-select --install
server { | |
listen 80; | |
server_name localhost; # Change this with your domain name | |
root /var/www/grav; # The place were you have setup your Grav install; | |
index index.php; | |
error_page 500 502 503 504 /50x.html; | |
location = /50x.html { | |
root html; |
#include "stdafx.h" | |
#include "ToastActivator_h.h" | |
using namespace Microsoft::WRL; | |
using namespace ABI::Windows::UI::Notifications; | |
using namespace ABI::Windows::Data::Xml::Dom; | |
using namespace Windows::Foundation; | |
class DECLSPEC_UUID("BD8EC9B3-CAEB-465A-B5C0-2ABA5D5839D1") CToastActivator | |
WrlFinal : public Microsoft::WRL::RuntimeClass<Microsoft::WRL::RuntimeClassFlags<Microsoft::WRL::ClassicCom>, INotificationActivationCallback, FtmBase> |