LOVE2D SIN and COS
COS on the top measuring X between 1 and -1
SIN on the right measuring Y between 1 and -1
error: insufficient permission for adding an object to repository database .git/objects
error: insufficient permission for adding an object to repository database .git/objects
cdcd .git/objects sudo chown -R : *
Getting a pdf file out of slate
select top 1 path as [pdfpath], cast(N'' as xml).value('xs:base64Binary(sql:column("f.data"))', 'varchar(max)') as [pdfdata]
from [file] as f where path like '%Stuff%'
XSLT Working Examples
var base64EncodedPDF = '';
grab from a query:
get a single value returned from the query:
pantheon commands
mysql -u pantheon -pdd2706f3a8a1438f8573b7b9746c6900 -h dbserver.dev.c9f66dba-93b4-49ad-b6c0-44e903cb952d.drush.in -P 10098 pantheon
terminus drush coding-cantina.dev -- upwd username --password="xxxxxxxxxx"
JavaScript (JS) code for accordion to toggle plus minus signs
+(function($) {
+ $( "#accordion" ).accordion({
+ collapsible: true
+ });
+ $('h3').click(function() {
+ $(this).siblings().removeClass('minus');
+ $(this).toggleClass('minus');
+ });
+})(jQuery);