This file contains hidden or 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
10 PRINT "fart" | |
20 GOTO 10 |
This file contains hidden or 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
# Find day of the week in python 3 | |
from enum import Enum | |
class DayOfWeek(Enum): | |
Sunday = 0 | |
Monday = 1 | |
Tuesday = 2 | |
Wednesday = 3 |
This file contains hidden or 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 file contains hidden or 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 file contains hidden or 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
<script type="application/javascript"> | |
$( document ).ready(function() { | |
var callAgain = function(stuff){ | |
// Do work here | |
// Why not make an ajax call and replace an element on the page? | |
// Delay another call in 10 seconds | |
setTimeout(function(){ | |
callAgain(stuff); |
This file contains hidden or 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
echo "Joel likes coding" | |
echo "I just edited" | |
exit |
This file contains hidden or 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
import pickle | |
class Rick: | |
def __str__(self): | |
return "i'm pickle rick!!!!" | |
pickle_rick = pickle.dumps(Rick()) | |
regular_rick = pickle.loads(pickle_rick) | |
print(regular_rick) | |
# >>> i'm pickle rick!!!! |
OlderNewer