This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you’re reading this, you’re no doubt asking yourself, “Why did this have to happen?” The simple truth is that it is complicated and has been coming for a long time. The writing process, started many months ago, was intended to be therapy in the face of the looming realization that there isn’t enough therapy in the world that can fix what is really broken. Needless to say, this rant could fill volumes with example after example if I would let it. I find the process of writing it frustrating, tedious, and probably pointless… especially given my gross inability to gracefully articulate my thoughts in light of the storm raging in my head. Exactly what is therapeutic about that I’m not sure, but desperate times call for desperate measures. | |
We are all taught as children that without laws there would be no society, only anarchy. Sadly, starting at early ages we in this country have been brainwashed to believe that, in return for our dedication and service, our government stands for justice for all. We are furthe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blah |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
this is an HTML comment | |
it can go on multiple lines or just on one | |
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var a = 'a random string' | |
var b = a | |
var c = 'this is not '+b | |
var myvariablename = 4 | |
var variabletwo = 1 | |
var f = myvariablename + variabletwo | |
alert(c); // gives us "this is not a random string" | |
alert(f); // gives us 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo str_replace( 'p', 'ck', 'stop'); | |
// gives us stock | |
/* the first argument is a string: 'p' | |
which is what we will be replacing with the second argument 'ck' | |
in the final argument which is the string 'stop' */ | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mylist = [1, 2, 3, 4, 5] # this is a list | |
mydict = { 'one': 1, 'two': 2, 'three': 3, 'four': 4, 'five': 5 } #here is associative array |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MYLIST = [1, 3, 5, 7, 9] | |
if 4 in MYLIST: | |
print 'This number is less than 10 & odd' | |
else: | |
print 'This number is NOT in the list of numbers less than 10 which are odd' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if mynumber < 5: | |
print 'my number is less than 5' | |
elif mynumber > 5: | |
print 'my number is greater than 5' | |
elif mynumber > 5 AND mynumber < 10: | |
print 'my number is greater than 5 and less than 10' | |
else: | |
print 'my number is greater than 10 or not a number at all' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
myrubylist = Array['a','b','c'] | |
for item in myrubylist # item can be any variable you choose | |
puts item #puts is like print or output | |
end |
OlderNewer