npm install cordova| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
| - (void)flipImageVertically { | |
| NSAffineTransform *flipper = [NSAffineTransform transform]; | |
| NSSize dimensions = self.size; | |
| [self lockFocus]; | |
| [flipper scaleXBy:1.0 yBy:-1.0]; | |
| [flipper set]; | |
| [self drawAtPoint:NSMakePoint(0,-dimensions.height) | |
| fromRect:NSMakeRect(0,0, dimensions.width, dimensions.height) |
| //Rotate the camera such that z points up and x to the right | |
| var o:Quaternion = new Quaternion().setFromEuler(new Vector().set_xyz(-90, 0, 0).radians()); | |
| //Rotate by Arctan(sin(45°)) (grabbed from wikipedia) around x, to get the top-down part | |
| var q:Quaternion = new Quaternion().setFromEuler(new Vector().set_xyz(Math.atan(Math.sin(45 * Maths.DEG2RAD)), 0, 0)); | |
| //Rotate around z by -45° to get the side-on part | |
| var p:Quaternion = new Quaternion().setFromEuler(new Vector().set_xyz(0, 0, -45).radians()); | |
| //Combine the rotations and apply to the camera |
| /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil; -*- */ | |
| /** | |
| * @file notifywindow.cpp | |
| * @author M.W.Park <manywaypark@gmail.com> | |
| * @date Thu Nov 20 11:31:12 2014 | |
| * | |
| * @brief | |
| * | |
| * @note tested on windows 8.1, Qt 5.3 for now. | |
| */ |
| #!/bin/sh | |
| # Usage: ./sign.sh INPUT.ipa OUTPUT PROVISION.mobileprovision IDENTITY_NAME ENTITLEMENTS | |
| # Reading parameters | |
| INPUT=$1 | |
| OUTPUT=$2.ipa | |
| MOBILE_PROVISTION=$3 | |
| CER_NAME=$4 | |
| # ENTITLEMENTS=$5 |
hi, i'm daniel. i'm a 15-year-old with some programming experience and i do a little bug hunting in my free time. here's the insane story of how I found a single bug that affected over half of all Fortune 500 companies:
If you've spent some time online, you’ve probably come across Zendesk.
Zendesk is a customer service tool used by some of the world’s top companies. It’s easy to set up: you link it to your company’s support email (like support@company.com), and Zendesk starts managing incoming emails and creating tickets. You can handle these tickets yourself or have a support team do it for you. Zendesk is a billion-dollar company, trusted by big names like Cloudflare.
Personally, I’ve always found it surprising that these massive companies, worth billions, rely on third-party tools like Zendesk instead of building their own in-house ticketing systems.