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
/* | |
* File: main.c | |
* Author: Ryan | |
* | |
* Created on September 6, 2014, 1:01 PM | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> |
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
/* | |
* File: main.c | |
* Author: Ryan | |
* | |
* Created on September 6, 2014, 1:01 PM | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> |
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
/* | |
fa3f1e - orange | |
e342e3 - pink | |
3dbbf5 - blue | |
2492f2 - blue (darker) | |
*/ | |
/* essentially body */ | |
#app { | |
background-color: #222222; |
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
; Author: Ryan Paul | |
; Date: 01/22/15 | |
; Desc: D3 Handy Stuff | |
; Note: The hotkey command requires a label which lacks some sort of paramter passing | |
; Could possibly use seperate files as modules for coherency - requires a framework of sorts | |
; | |
; Usage: Add a button ID to the Logged_Keys array and a manual hotkey entry for the event | |
; - Add entry to Logged_Keys array like this (comma before entry on newline): ,{buttonID, alias, count} | |
; - Add hotkey: ~<buttonID>:: client.keyPressed("<buttonID>") | |
; Again, Note: Shitty that hotkey command requires labels, no functions. Super static bullshit. AHKv9001 plz |
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
# Ryan Paul, 6/20/15, Sandboxing with ruby | |
# See bottom for output | |
# More advanced example on class surfing: | |
# http://daniel.fone.net.nz/blog/2013/05/27/generating-a-class-hierarchy-in-ruby/ | |
# Interesting discussion on static vs dynamic languages and Modules: | |
# http://ducktypo.blogspot.com/2010/08/why-inheritance-sucks.html | |
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
// 'Private' data in JS | |
// ryunp 6/30/15 | |
/* | |
Functions execute and go poof - so the 'seed' property gets set, and an | |
object gets returned but there is no reference to 'seed' other than what we | |
defined in the object that is returned. So trying to access 'seed' is | |
basically impossible. How would we reference 'me' inside this function below: | |
function test() { var me = "user"; }; | |
test(); |
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
####### | |
$ ORIGINAL ROW DATA: | |
####### | |
<th class="visible-xs"> | |
<img class="pull-left" src="/static/images/database/items/aether_walker.png" style="margin:0 5px 0 0;"><a href="/database/item/aether-walker/information/">Aether Walker</a> | |
<p style="font-size:95%;">Teleport no longer has a cooldown but costs <span class="legend-number">25</span> Arcane Power. </p> | |
<p style="font-size:85%;">Wand </p> | |
</th> |
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
### | |
# AHK Code: | |
### | |
slopeS := slope := 0.02 | |
slopeE := 1000 | |
str := "Arctan of slopes from " slopeS " to " slopeE "`r`n" | |
str .= Format("| {1:-10} | {2:-10} | {3:-10} |`r`n", "Slope", "atan (r)", "atan (deg)") | |
str .= " --------------------------------------`r`n" | |
while (slope <= slopeE) { |
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
+=====================+ | |
| Results of WoL.sh: | | |
+=====================+ | |
ryan@ryPi2 ~ $ ./wol.sh | |
Format Error | |
Usage: ./wol.sh IP4|MAC | |
ryan@ryPi2 ~ $ ./wol.sh 192.168 | |
Format Error | |
Usage: ./wol.sh IP4|MAC |
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
See output after code | |
-------------------------------------------------------------------------------- | |
CODE | |
-------------------------------------------------------------------------------- | |
; Author: ryunp | |
; Date: 09/20/15 | |
; Description: Since internal pixel calculations are be fractional, certain x,y | |
; locations seem inconsistant after rounding. Without much thought positions |
OlderNewer