Skip to content

Instantly share code, notes, and snippets.

View fyaconiello's full-sized avatar
🐝

Francis Yaconiello fyaconiello

🐝
View GitHub Profile
<?php declare(strict_types=1);
/*
* This file is part of the Monolog package.
*
* (c) Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
Terms and Conditions ("Terms")
==============================
Last updated: July 24, 2019
Please read these Terms and Conditions ("Terms", "Terms and Conditions")
carefully before using the
Awesome Facts about Cats skill
(the "Service") operated by Awesome Facts About Cats ("us", "we", or "our").
Privacy Policy
This privacy policy discloses the privacy practices for Awesome Facts About Cats skill. This privacy policy applies solely to information collected by this skill. It will notify you of the following:
What personally identifiable information is collected from you through the web site, how it is used and with whom it may be shared.
What choices are available to you regarding the use of your data.
The security procedures in place to protect the misuse of your information.
How you can correct any inaccuracies in the information.
Information Collection, Use, and Sharing
We are the sole owners of the information collected on this site. We only have access to/collect information that you voluntarily give us via email or other direct contact from you. We will not sell or rent this information to anyone.
SELECT
SUM(p_tmhh.holding_pct * (s_sach.percentage / 100)) AS percentage
FROM
portfolio_trademodelholdinghistory AS p_tmhh
INNER JOIN security_datedim AS s_dd ON s_dd.id = p_tmhh.holding_date_id
INNER JOIN security_securityassetclasshistory s_sach ON s_sach.month_id = s_dd.month_id
AND s_sach.security_id = p_tmhh.security_id
INNER JOIN security_securitybreakdowntype AS s_sbt ON s_sbt.id = s_sach.securitybreakdowntype_id
INNER JOIN portfolio_investmentoffering AS p_io ON p_tmhh.trade_model_id = p_io.trade_model_id
<jobs>
<job>
<jobid>
<![CDATA[ 02330334 ]]>
</jobid>
<positiontitle>
<![CDATA[ .Net Software Engineer ]]>
</positiontitle>
<description>
<![CDATA[
<?php
public function get_api_data($query, $offset = 0, $update_offset = false){
$url = "http://stark-api.com/api/v1". $query;
$args = array(
'headers' => array(
'Authorization' =>
'Basic ' . base64_encode( $this-> options['username'] . ':' . $this-> options['password'] ),
'Accept' => 'application/json'
)
@fyaconiello
fyaconiello / setup github issues labels.sh
Last active September 17, 2015 15:29 — forked from rentzsch/setup github issues labels.sh
Shell script to set up a GitHub Project's Issues' Labels as described in <http://rentzsch.tumblr.com/post/252878320/my-lighthouse-ticket-settings-with-colors>. WARNING: script assumes a newish project that hasn't really used labels yet. It deletes all default labels, which means DATA LOSS if you've used them for anything.
USER=rentzsch
PASS=mypassword
REPO=mogenerator
# Delete default labels
curl --user "$USER:$PASS" --include --request DELETE "https://api.github.com/repos/$USER/$REPO/labels/bug"
curl --user "$USER:$PASS" --include --request DELETE "https://api.github.com/repos/$USER/$REPO/labels/duplicate"
curl --user "$USER:$PASS" --include --request DELETE "https://api.github.com/repos/$USER/$REPO/labels/enhancement"
curl --user "$USER:$PASS" --include --request DELETE "https://api.github.com/repos/$USER/$REPO/labels/invalid"
curl --user "$USER:$PASS" --include --request DELETE "https://api.github.com/repos/$USER/$REPO/labels/question"
@fyaconiello
fyaconiello / django-south.md
Created April 19, 2012 19:26
Django South Usage (for beginners)

Database Instructions

Installing south (should already be installed if you used my OSX Lion setup instructions)
  • Install South using pip
sudo pip install south
  • Add south to your INSTALLED APPS within your django project's settings.py file
@fyaconiello
fyaconiello / git-cheatsheet.md
Created April 19, 2012 16:10
Git Cheatsheet

###GIT CHEAT SHEET

start a new local branch of a remote repo (only need to do this once per repo)

change directories to your sites folder

cd ~/Sites/
git clone (repository address from github.com)
git checkout -b feature_name
@fyaconiello
fyaconiello / django-lion-setup.md
Created February 9, 2012 17:22
Django Lion Setup
Step 1 - download and install macosx pkgs
  • download and install xcode
  • XCode and enable Command Line Tools
  • download and install mysql-server
Step 2
nano ~/.bash_profile

add the following