Skip to content

Instantly share code, notes, and snippets.

View anderskitson's full-sized avatar

Anders Kitson anderskitson

View GitHub Profile
@anderskitson
anderskitson / dabblet.css
Created March 6, 2012 07:01 — forked from anonymous/dabblet.css
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background-image: -webkit-linear-gradient(left , rgb(189,206,226,0.6) 0%, rgb(191,217,242,0.6) 32%, rgb(14,94,95,0.6) 65%);
min-height:100%;
@anderskitson
anderskitson / dabblet.css
Created March 6, 2012 07:01
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background-image: -webkit-linear-gradient(left , rgb(189,206,226,0.6) 0%, rgb(191,217,242,0.6) 32%, rgb(14,94,95,0.6) 65%);
min-height:100%;
@anderskitson
anderskitson / gist:5017171
Created February 22, 2013 22:42
Embed test on octopress
<html>
<p class="lego">
TEsting
</p>
</html>
Your identification has been saved in /Users/anderskitson/.sshDemo/id_rsa.
Your public key has been saved in /Users/anderskitson/.sshDemo/id_rsa.pub.
The key fingerprint is:
70:80:91:8c:de:8d:a4:a2:50:01:b9:a0:b9:04:38:0c anderskitson@Anderss-iMac.local
The key's randomart image is:
+--[ RSA 2048]----+
|Eo.+.+. |
|*.o = . |
|+* + o. . |
|*.o o .o |
var Botkit = require('botkit')
var Witbot = require('witbot')
var slackToken = process.env.SLACK_TOKEN
var witToken = process.env.WIT_TOKEN
var controller = Botkit.slackbot({
debug: false
})
@anderskitson
anderskitson / trademark-nocirle.html
Created April 19, 2016 18:57
No circle around trademark
<span class="small-trademark-nocircle"><sup>&#8482;</sup></span>
<?php namespace Acme;
class RegisterUser{
public function execute(array $data, $listener){
var_dump('Registering the user.');
$listener->userRegisteredSuccessfully();
0 info it worked if it ends with ok
1 verbose cli [ '/home/anderskitson/.nvm/versions/node/v9.9.0/bin/node',
1 verbose cli '/home/anderskitson/.nvm/versions/node/v9.9.0/bin/npm',
1 verbose cli 'start' ]
2 info using npm@5.6.0
3 info using node@v9.9.0
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle Vulcan@1.8.11~prestart: Vulcan@1.8.11
6 verbose lifecycle Vulcan@1.8.11~prestart: unsafe-perm in lifecycle true
7 verbose lifecycle Vulcan@1.8.11~prestart: PATH: /home/anderskitson/.nvm/versions/node/v9.9.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/mnt/c/Users/Anders/sites/wispy.co/node_modules/.bin:/home/anderskitson/bin:/home/anderskitson/.local/bin:/home/anderskitson/.nvm/versions/node/v9.9.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Program Files/Git/cmd:/mnt/c/ProgramData/chocolatey/bin:/mnt
version: '3.3'
services:
db:
image: mysql:5.7
volumes:
- db_data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: somewordpress