First, Lets find out what version of PHP we're running (To find out if it's the default version).
To do that, Within the terminal, Fire this command:
which php
# http://rubyquiz.com/quiz126.html | |
#!/usr/bin/env ruby -w | |
1.upto(100) do |i| | |
if i % 5 == 0 and i % 3 == 0 | |
puts "FizzBuzz" | |
elsif i % 5 == 0 | |
puts "Buzz" | |
elsif i % 3 == 0 | |
puts "Fizz" |
<script> | |
/* | |
See the full details here: | |
http://www.snipe.net/2012/02/jquery-mobile-add-remove-fields-dynamically/ | |
Based on the great post by Charlie Griefer, available here: | |
http://charlie.griefer.com/blog/2009/09/17/jquery-dynamically-adding-form-elements/ | |
*/ |
[user] | |
name = Mike Lyons | |
email = [email protected] | |
[github] | |
user = mrlyons | |
token = LOLITSASECRET | |
[color] | |
ui = auto | |
[color "branch"] | |
current = yellow reverse |
/** | |
* The first commented line is your codelet’s title | |
*/ | |
a:link { | |
color: red; | |
} | |
a:visited { |
<?php | |
add_action( 'init', 'create_post_type' ); | |
function create_post_type() { | |
register_post_type( 'press-releases', | |
array( | |
'public' => true, | |
'show_ui' => true, | |
'publicly_queryable' => true, | |
'has_archive' => true, |
// ---- | |
// Sass (v3.3.14) | |
// Compass (v1.0.0.rc.1) | |
// ---- | |
@function pow($x, $y) { | |
$ret: 1; | |
@if $y > 0 { | |
@for $i from 1 through $y { |
/** | |
* Annoying.js - How to be an asshole to your users | |
* | |
* DO NOT EVER, EVER USE THIS. | |
* | |
* Copyright (c) 2011 Kilian Valkhof (kilianvalkhof.com) | |
* Visit https://gist.github.com/767982 for more information and changelogs. | |
* Visit http://kilianvalkhof.com/2011/javascript/annoying-js-how-to-be-an-asshole/ for the introduction and weblog | |
* Check out https://gist.github.com/942745 if you want to annoy developer instead of visitors | |
* |
We have absolutely no idea what we're doing in tech. Please explain the utmost basic things to us.
We only do web design. Our whole reason of being in tech is to make things pretty. Consider us the doilies of the industry.
We're not laughing about your joke, so we clearly need you explain it to us. In great detail.
We're only in tech to find a husband, boyfriend or generally to get laid.
console.log(1); | |
(_ => console.log(2))(); | |
eval('console.log(3);'); | |
console.log.call(null, 4); | |
console.log.apply(null, [5]); | |
new Function('console.log(6)')(); | |
Reflect.apply(console.log, null, [7]) | |
Reflect.construct(function(){console.log(8)}, []); | |
Function.prototype.apply.call(console.log, null, [9]); | |
Function.prototype.call.call(console.log, null, 10); |