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
// Total of all loop items = 60883 | |
/** For loop */ | |
// 39576 items counted - 65.0034% of loop items [0.1667% of all] | |
for( ... ; ... ; ...) { | |
// ... | |
} | |
/** While loop */ | |
// 19092 items counted - 31.3585% of loop items [0.0804% of 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
var x= f(); |
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
import cv2 | |
import numpy as np | |
import win32gui, win32ui, win32con, win32api | |
import keyboard | |
def grab_screen(region=None): | |
hwin = win32gui.GetDesktopWindow() |
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 squareWidth = 100; | |
var squareMargin = 10; | |
var squaresPerLine = 3; | |
$('div.gridSquare').forEach(function(square, idx) { | |
$(this).css({ | |
left: (idx % squaresPerLine) * (squareWidth + squareMargin), |
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
# Command Blocker Ultimate config file | |
# Define what commands should be blocked in the following property: (without leading slash) | |
# If you specify a command, its aliases will be blocked also. (Example: 'tell' will also block 'msg', 'bukkit:tell', etc.) | |
target-commands: | |
- help | |
- plugins | |
- version | |
- ekits | |
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
@EventHandler | |
public void PlayerInteract(PlayerInteractEvent e) { | |
// preliminary check right action type | |
if(e.getAction() != Action.RIGHT_CLICK_AIR && | |
e.getAction() != Action.RIGHT_CLICK_BLOCK) { | |
//exit | |
return; | |
} |
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 bcrypt = require('bcrypt'); | |
// Longer way | |
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
### Keybase proof | |
I hereby claim: | |
* I am georgepadolsey on github. | |
* I am georgepadolsey (https://keybase.io/georgepadolsey) on keybase. | |
* I have a public key whose fingerprint is 1CA1 860F 2CDB E10D 453F 498B 3730 10A1 D3FA FCEF | |
To claim this, I am signing this object: |
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
### Keybase proof | |
I hereby claim: | |
* I am georgePadolsey on github. | |
* I am georgepadolsey (https://keybase.io/georgepadolsey) on keybase. | |
* I have a public key whose fingerprint is C019 29DD 1398 565C 7457 DD94 4BC5 B6E9 FEF4 5717 | |
To claim this, I am signing this object: |
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
public class Test { | |
public static void main(String[] args) { | |
http://www.cakeiscool.com/ | |
System.out.println("This runs :O"); | |
} | |
} |
NewerOlder