Skip to content

Instantly share code, notes, and snippets.

View Codercise's full-sized avatar

Nick Hayden Codercise

View GitHub Profile
@Codercise
Codercise / #reddit-webdesign Channel Rules.md
Last active July 21, 2017 12:42
Channel rules for #reddit-webdesign on Freenode.

Channel Rules

These are the channel rules, if you have a problem with a user violating any of the below or anything else you have an issue with contact either IRCops Greed, TheMoonMaster or Haydos

General Policy

Feel free to have fun! Just don't be bad, don't do illegal things, and don't troll newbies.

  1. Degrading channel quality too much will result in a warning. Further infractions will result in a ban.
  2. Don't ask to ask, please. Just ask. We're here to help.
  3. It is REQUIRED that you post any work you want critiqued in a non-lossy format. Please use PNG or a 100% quality JPEG.
  4. Mark NSFW links as NSFW.
defmodule Reviewmymp.Repo.Migrations.CreatePolitician do
use Ecto.Migration
def change do
create table(:politicians) do
add :uuid, :string
add :first_name, :string
add :last_name, :string
add :preferred_name, :string
add :courtesy_title, :string
<VirtualHost *:80>
DocumentRoot "C:\xampp\htdocs\coworking-sociatea\public"
ServerName localhost
<Directory "C:\xampp\htdocs\ticketloop">
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<?php
$arrayValues = array(
'name' => $_POST['name'],
'email' => $_POST['email'],
'message' => $_POST['message']
);
mail('dd@ddmail.com', 'someone submitted your form', "
someone submitted your form with the details $arrayValues['name'] $arrayValues['email'] $arrayValues['message']
");
var viewfulApp = angular.module('viewfulApp', []);
viewfulApp.controller('viewfulController', function($scope, $http) {
$scope.myValue = "hello";
console.log('ello');
var url = "http://en.wikipedia.org/w/api.php?format=json&callback=?&action=query&titles=Berlin&prop=revisions&rvprop=content";
$http.get(url).success(function (data) {
$scope.myTextValue = "hello world";
console.log(data);
var viewfulApp = angular.module('viewfulApp', []);
viewfulApp.controller('viewfulController', function($scope, $http) {
$scope.myValue = "hello";
var url = "http://en.wikipedia.org/w/api.php?format=json&callback=?&action=query&titles=Berlin&prop=revisions&rvprop=content";
$http.jsonp(url).success(function (data) {
$scope.myTextValue = "hello world";
});
});
(function () {
"use strict";
//Set up array vars
var dataPromises = [];
var blogs = [
{
key: "asmsBlog",
url: "http://asms.sa.edu.au/feed/",
title: "Latest ASMS News", updated: "tbd",
(function () {
"use strict";
//Set up array vars
var dataPromises = [];
var blogs = [
{
key: "asmsBlog",
url: "http://asms.sa.edu.au/feed/",
title: "Latest ASMS News", updated: "tbd",
var pathList;
var pathArray = [];
function getPictureItems() {
var picturesLibrary = Windows.Storage.KnownFolders.picturesLibrary;
var ffWacom = function (items) {
items.forEach(function (item) {
pathArray.push({
name: item.fileName,
path: item.path
});
var pathList;
var pathArray = [];
function getPictureItems() {
var picturesLibrary = Windows.Storage.KnownFolders.picturesLibrary;
picturesLibrary.getItemsAsync().then(function (items) {
items.forEach(function (item) {
pathArray.push({
name: item.fileName,
path: item.path
});