Skip to content

Instantly share code, notes, and snippets.

View borys-kupar's full-sized avatar
🇺🇦
#StandWithUkraine

Borys Kupar borys-kupar

🇺🇦
#StandWithUkraine
View GitHub Profile
@borys-kupar
borys-kupar / crowd.php
Created December 7, 2012 15:09 — forked from AsaAyers/crowd.php
PHP Crowd Authentication
<?php
/**
* This file demonstrates using Atlassian Crowd for Single Sign On.
*/
$crowd_app_name = 'REMOVED';
$crowd_app_password = 'REMOVED';
$crowd_url = 'http://crowd.REMOVED.com/crowd/services/SecurityServer?wsdl';
// http://pear.php.net/package/Services_Atlassian_Crowd
@borys-kupar
borys-kupar / htaccess
Created November 15, 2014 16:56
Redirection to web site mobile version via htaccess
# Various rewrite rules.
<IfModule mod_rewrite.c>
RewriteEngine on
# Block access to "hidden" directories whose names begin with a period. This
# includes directories used by version control systems such as Subversion or
# Git to store control files. Files whose names begin with a period, as well
# as the control files used by CVS, are protected by the FilesMatch directive
# above.
@borys-kupar
borys-kupar / securityheaders.md
Created April 5, 2016 10:21
Security headers important for the front-end
@borys-kupar
borys-kupar / vscode-settings.json
Last active October 27, 2022 10:32
My VSCode settings
{
"eslint.codeActionsOnSave.mode": "problems",
"eslint.validate": [
"javascript",
],
"editor.tabSize": 2,
"files.autoSave": "off",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
graphcool init server
mutation {
createMessage(text: "test message 34", sentById: "cj9su8dti4o4z0160n566wps8") {
id
}
}