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
var url = require('url'); | |
var https = require('https'); | |
var querystring = require('querystring'); | |
var webhookID = 'YOUR/WEBHOOK/integration-id'; | |
var webhookURLBase = 'https://hooks.slack.com/services/'; | |
var webhookURL = [webhookURLBase, webhookID].join(''); | |
var slashCommandToken = 'your-slash-command-token'; |
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
https://github.com/rogerwang/node-webkit | |
https://github.com/atom/atom-shell | |
https://github.com/adobe/brackets-shell/ | |
http://documentup.com/arturadib/node-qt | |
http://deskshell.org/demo-docs/tutorials/start.htm | |
http://www.sencha.com/blog/using-native-apis-in-sencha-desktop-packager | |
http://blogs.telerik.com/kendoui/posts/12-12-04/desktop_apps_the_final_frontier_for_html5 | |
http://www.tidesdk.org/ | |
http://www.awesomium.com/ | |
https://developers.pokki.com/ |
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 | |
$rule1 = "img/rule1.jpg"; | |
$ruleV = "img/ruleV.jpg"; | |
$ruleH = "img/ruleH.jpg"; | |
$width = 1000; | |
$height = 1000; | |
// horizontal rule | |
$str = "line 0,0 $width,0 line 0,15 $width,15"; | |
$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 | |
$urlUploadImages = '../uploads/img/'; | |
$nameImage = $_POST['nameImage']; | |
$data = base64_decode($_POST['strBase64']); | |
$img = imagecreatefromstring($data); | |
$width = imagesx($img); | |
$height = imagesy($img); | |
$image = imagecreatetruecolor($width, $height); | |
imagealphablending($image, true); | |
$alpha_image = imagecolorallocatealpha($image, 0, 0, 0, 127); |