Skip to content

Instantly share code, notes, and snippets.

// this will need name-spacing so we don't over-write any partner / VLE CSS, suggestion, `kp--padding-around-sm`.
//////////
// Some Helper Classes
/////////
// around
// this goes around the whole thing
.padding-around-sm {
padding: 5px;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
<!-- <link rel="stylesheet" href="./css/mCustomScrollbar.css"/> -->
<script defer src="https://use.fontawesome.com/releases/v5.0.13/js/solid.js"></script>
<script defer src="https://use.fontawesome.com/releases/v5.0.13/js/fontawesome.js"></script>
@dancourse
dancourse / notify_orderConfirmSend
Created April 7, 2017 08:36
notify_orderConfirmSend
Option Explicit
Sub notify_orderConfirmSend()
Const sUrl As String = "http://tomra.lnx.warwick.ac.uk/api/send/order-confirm"
 
Dim oRequest As WinHttp.WinHttpRequest
Dim sResult As String
 
On Error GoTo Err_notify_orderConfirmSend
 
# Dubai
* https://angel.co/dubai/jobs
* https://www.glassdoor.co.uk/Job/dubai-jobs-SRCH_IL.0,5_IC2204498.htm
* https://dubai.dubizzle.com/jobs/information-technology/
* https://jobsindubai.com/job_list.asp?job_cat_id=25
* http://www.indeed.ae/jobs?q=UI+Agencies&l=Dubai
## Extra
@dancourse
dancourse / gitlab-ci.yml
Created October 26, 2015 12:11
Attempt to deploy to production from Gitlab CI on releases
before_script:
- curl -s https://getcomposer.org/installer | php
# etc...
stages:
- test
- deploy
job_aliveonly:
stage: test
image: centos7
before_script:
- php -v
- curl -s https://getcomposer.org/installer | php
- cp ./config/pst.gitlabci.php ./config/pst.php
- cp ./.env.gitlabci ./.env
- php composer.phar install --prefer-dist --quiet
- php composer.phar dump-autoload --quiet
- php artisan key:generate
@dancourse
dancourse / .bash_profile
Last active September 11, 2015 07:50
Clear your Terminal window totally, like Cmd + K (Command + K / Apple + K / Super + K)
# vi ~/.bash_profile
# Add it, then close the Terminal window and re-open
# thanks me later
# Cmd + K (Command + K / Apple + K / Super + K)
clearbig() {
clear;
printf '\e[3J';
}
@dancourse
dancourse / FeatureContext.php
Created July 14, 2015 12:27
Behat and Laravel simple solution to listen for Events
class FeatureContext extends MinkContext implements Context, SnippetAcceptingContext
{
/**
* @When I listen for the event :event
*/
public function iListenForTheEvent($event)
{
$redis = Redis::connection();
$redis->set('eventHeard', false);
@dancourse
dancourse / gist:92cf77829e5b0b5bba62
Last active November 14, 2019 18:31
Laravel Homestead blackfire setup
# Edit out homestead settings
homestead edit
# Enter your details, https://blackfire.io/account/credentials
# See re-provision your homestead box
vagrant global-status
vagrant provision ???? # << this is the id of the homestead instance you have running, from global-status
# So far this didn't work so carry on...
@dancourse
dancourse / gist:5ee17a596223c10d5648
Created April 2, 2015 10:18
Simple PHPunit provider example
class ScoringTest extends TestCase
{
/**
* Some Grades
*/
public static function all_grades_provider()
{
return [
[100.00],
[50.00],